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
</Directory>
</VirtualHost>
How to rewrite this configuration so that it is applied only for url's starting with "http://1.2.3.4:80/user/*"
I tried "ServerPath /user", but it doesn't work...
Any ideas?