Przejdź do treści

Apache

Wirtualne hosty

<VirtualHost *:80>
    ServerName dev.localhost
    ServerAlias www.dev.localhost

    DocumentRoot /var/www/html/lh
    <Directory /var/www/html/lh>
        AllowOverride All
        Order Allow,Deny
        Allow from All
    </Directory>



    ErrorLog /var/log/apache2/vps1.log
    CustomLog /var/log/apache2/vps1.log combined
</VirtualHost>

Przyjazne linki

   <Directory /var/www/html/lh>
        AllowOverride All
        Order Allow,Deny
        Allow from All
    </Directory>