Skip to content

Example virtual host

linusnorton edited this page Dec 30, 2011 · 3 revisions
#CONFIG FOR WEBSITE
<VirtualHost *:80>
        ServerName example.org
        SetEnv CONFIG dev

        DocumentRoot "/var/www/example.org/www"
        <Directory "/var/www/example.org/www">
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>

        RewriteEngine on
        RewriteOptions inherit

        ErrorLog /var/www/example.org/log/error.log
</VirtualHost>
Clone this wiki locally