Uncategorized

Ubuntu – Apache2 vhost aliass


<VirtualHost *:443>
        DocumentRoot /var/www/web
        ServerName web.test.com

    Alias /app1   /var/www/web_1
    Alias /app2   /var/www/web_2
    Alias /app3   /var/www/web_3

    <Directory /var/www/web_1>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted

    </Directory>
    <Directory /var/www/web_2>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>

    <Directory /var/www/web_3>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>


        LogLevel error

#       ErrorLog /var/log/apache2/error_log
#       TransferLog /var/log/apache2/access_log
 
        
</VirtualHost>
 

Similar Posts