This is a discussion on "DocumentRoot does not exist" and 404 errors not working in Apache2 within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hi guys, I'm having trouble with an installation of Apache 2.0.52 on Win2000 server. I have 2 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi guys,
I'm having trouble with an installation of Apache 2.0.52 on Win2000 server. I have 2 virtual hosts set up, one is just a proxy to a Plone website which works fine and another is a PHP website. on startup the error Warning: DocumentRoot [D:/Inetpub/wwwroot/website/www] does not exist is added to the error log, and while all existing pages are accessable and run PHP fine any 404 errors show up as "*Forbidden* You don't have permission to access /nofile on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request." I'm trying to set up a custom 404 page but I get 403 whether I've specified an ErrorDocument 404 in the <VirtualHost> block or not. (there is no custom ErrorDocuments set in the root) Also if I change the DocumentRoot from "D:/Inetpub/wwwroot/website/www" to "D:\Inetpub\wwwroot\website\www" or "D:\\Inetpub\\wwwroot\\website\\www" then all pages generate a 403 error not just missing pages. Does anyone know how I can fix this so that 404 errors are sent to the browser and that DocumentRoot does not exist error isn't added to the error log? Thanks Andrew |
| Thread Tools | |
| Display Modes | |
|
|