...
Code Block | ||
---|---|---|
| ||
<VirtualHost *:80> ServerAdmin webmaster@localhost ServerName www.krypton.com ServerAlias www.krypton.com DocumentRoot /home/www.krypton.com/www # This restrictive a precedence for ALL directory blocks. <Directory /> Options FollowSymLinks # This prevents use of .htaccess AllowOverride None </Directory> # Main location of static content for the websites. <Directory /home/www.krypton.com/www/> Options +MultiViews Order Allow,Deny Allow from all </Directory> Alias /shared/ "/home/www.krypton.com/shared" Alias /shared "/home/www.krypton.com/shared" <Directory /home/www.krypton.com/shared> # Make this folder browseable Options +Indexes </Directory> ErrorLog /var/log/apache2/www.krypton.com.error.log # Possible values include: debug, info, notice, warn, error, crit, alert, emerg. LogLevel warn CustomLog /var/log/apache2/www.krypton.com.access.log combined </VirtualHost> |
Here is the host file with the Alias updates,
Panel |
---|
<VirtualHost *:80> ServerName www.krypton.com DocumentRoot /home/www.krypton.com/www # This restrictive a precedence for ALL directory blocks. # Main location of static content for the websites. Alias /shared/ "/home/www.krypton.com/shared" ErrorLog /var/log/apache2/www.krypton.com.error.log # Possible values include: debug, info, notice, warn, error, crit, alert, emerg. CustomLog /var/log/apache2/www.krypton.com.access.log combined |