Default Virtual Host on Apache 2

From Andreida
Revision as of 11:26, 16 February 2016 by Andreas (talk | contribs) (Created page with " <VirtualHost *:80> ServerName www.<your-domain> ServerAlias <your-domain> #ServerAdmin webmaster@localhost DocumentRoot /var/www/ <Di...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 <VirtualHost *:80>
       ServerName www.<your-domain>
       ServerAlias <your-domain>
       #ServerAdmin webmaster@localhost
       DocumentRoot /var/www/
       <Directory />
               Options FollowSymLinks
               AllowOverride None
       </Directory>
       <Directory /var/www/>
               Options Indexes FollowSymLinks MultiViews
               AllowOverride None
               Order allow,deny
               allow from all
       </Directory>
 </VirtualHost>