esedic
1/22/2019 - 7:46 PM

Uniserver vhost example

Uniserver vhost example

<VirtualHost *:${AP_PORT}>
 ServerAdmin webmaster@mydomain.com
 DocumentRoot ${US_ROOTF}/www/projects/mydomain.com
 ServerName mydomain.com
 ServerAlias www.mydomain.com *.mydomain.com
 ErrorLog logs/mydomain.com-error.log
 CustomLog logs/mydomain.com-access.log common
 <Directory "${HOME}\www\projects\mydomain.com">
   Options Indexes Includes 
   AllowOverride All   
   Require all granted 
 </Directory> 
</VirtualHost>