"DocumentRoot does not exist" and 404 errors not working in Apache2

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-13-2004
Andrew Crowe
 
Posts: n/a
Default "DocumentRoot does not exist" and 404 errors not working in Apache2

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:17 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0