How to configure virtual host to consider domain path in Apache
- by Scholle
Hi,
the following virtual host definition is working for an arbitrary url starting with "http://1.2.3.4:80/*"
<VirtualHost *:80>
ServerName www.domain.com
DocumentRoot /home/user/www/application/current/public
<Directory /home/user/www/application/current/public>
Order allow,deny
Allow from all
…