> On Jan 23, 2014, at 4:44 AM, "Ole Kürstein" <okyrst...@gmail.com> wrote: > > I have a problem. Dont know if it can be done. > > It is this i can't get working: www.example.com/test > > can't get the /test working > > ----example--- > > <VirtualHost *:80> > ServerName www.example.com > ServerAlias example.com > DocumentRoot /www/htdocs > </VirtualHost> > > > <VirtualHost *:80> > ServerName www.test.example.com > ServerAlias test.example.com example.com/test www.example.com/test > DocumentRoot /www/htdocs/test > </VirtualHost>
If I understand your issue correctly, you will need to use either a rewrite or proxypass. Due to what you are trying to do, I suggest a rewrite: http://httpd.apache.org/docs/current/mod/mod_rewrite.html