with XAMPP1.5 I was able to configure a virtualhost with document root in my home directory while keeping the localhost with the default XAMPP documentroot dir.
That is, when I request the URL "http://localhost" with Firefox the browser load the default XAMPP home page while when I request the URL "local.sentina.it" I got the home page of my local web site located in my home subdir (/home/pavonic/local.sentina.it).
To make this I added only the virtualhost section in httpd.conf:
- Code: Select all
With XAMPP1.5.1 the configuration above doesn't work any more (I've moved lines above in the extra/httpd-vhosts.conf). When I try to load the URL http://local.sentina.it the browser add always the string '/xampp' to the url and the XAMPP home page is loaded. When istead I loadthe URL http://local.sentina.it/blog the server respond with a 404 error..
The unique workaround I found is changing the default DocumentRoot directive in httpd.conf in "/home/pavonic/local.sentina.it".
I seems strange for me.
Is there something wrong in configuration?