Cannot browse virtualhost HTTP 403 Forbidden ?
am 31.05.2007 16:21:37 von Tony B
On a win2003 machine hosting a a single site, I configured the apache 2.2.3
server to use virtualhosts, adding two virtual hosts, one using the existing
site I was hosting before this change, and one hosting a new site.
I added host records for 127.0.0.1 for the two sites.
The site I originally hosted still works fine as a virtual host, but the new
site gives me a
http 403 forbidden message and the browser tells me that I cannot view this
page.
The permissions on the new site folder are the same as the old site folder
permissions.
Can anyone tell what mught be wrong here ?
Regards
Tony
Re: Cannot browse virtualhost HTTP 403 Forbidden ?
am 31.05.2007 16:58:50 von Tony B
"Tony B" wrote in message
news:RRA7i.7714$z52.425@fe07.news.easynews.com...
> On a win2003 machine hosting a a single site, I configured the apache
> 2.2.3 server to use virtualhosts, adding two virtual hosts, one using the
> existing site I was hosting before this change, and one hosting a new
> site.
> I added host records for 127.0.0.1 for the two sites.
> The site I originally hosted still works fine as a virtual host, but the
> new site gives me a
> http 403 forbidden message and the browser tells me that I cannot view
> this page.
>
> The permissions on the new site folder are the same as the old site folder
> permissions.
> Can anyone tell what mught be wrong here ?
> Regards
> Tony
I didn't report the problem accurately.
I had a site running on apache (bugzilla) accessed by typing
http://localhost/
This still works ok, accessign the orginal site bugzilla.
I added two virtual hosts bugzilla and avdp, adding following entries to
httpd.conf
DocumentRoot C:\avdp
ServerName avdp
DocumentRoot C:\Bugzilla
ServerName bugzilla
I added records to my host file mapping the two sites to 127.0.0.1
The apache logs report the following when I try to access the two virtual
sites
Access Log
127.0.0.1 - - [31/May/2007:15:50:21 +0100] "GET /avdp HTTP/1.1" 403 206
127.0.0.1 - - [31/May/2007:15:50:30 +0100] "GET /bugzilla HTTP/1.1" 403 210
Error Log
[Thu May 31 15:50:21 2007] [error] [client 127.0.0.1] client denied by
server configuration: C:/avdp/avdp
[Thu May 31 15:50:30 2007] [error] [client 127.0.0.1] client denied by
server configuration: C:/avdp/bugzilla
If I access the site using http://localhost it works fine showing bugzilla
site, but neither virtual site works.I get site forbidden for both sites.
Regards
Tony.