Apache webserver virtualhost configuration

lisätään olemassa olevaan tai luodaan uusi konfiguraatio :

<VirtualHost *:80>
ServerAdmin webmaster@mydomain.ex
ServerAlias www.mydomain.ex mydomain.ex
DocumentRoot /var/mydomain.ex
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/mydomain.ex/>
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>

ErrorLog ${APACHE_LOG_DIR}/error.mydomain.ex.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.mydomain.ex.log combined
</VirtualHost>

0 Comments

Leave a reply

Your email address will not be published. Required fields are marked *

*