VirtualHost

De enunpimpam
Saltar a: navegación, buscar
<VirtualHost *:80>
     ServerAdmin nacho@espaiformacio.com
     DocumentRoot /var/www/pimpa/
     ServerName tom.enunpimpam.com
     ServerAlias www.tom.enunpimpam.com
     Alias /pimpa "/var/www/pimpa/"

     <Directory /var/www/pimpa/>
        Options +FollowSymlinks
        AllowOverride All
        Require all granted
          <IfModule mod_dav.c>
            Dav off
          </IfModule>
        SetEnv HOME /var/www/pimpa
        SetEnv HTTP_HOME /var/www/pimpa
     </Directory>

     ErrorLog ${APACHE_LOG_DIR}/pimpa.error.log
     CustomLog ${APACHE_LOG_DIR}/pimpa.access.log combined

</VirtualHost>