|Summary:||Bogus "DocumentRoot does not exist" warning when set to a file|
|Product:||Apache httpd-2||Reporter:||Bill Clark <billclark>|
|Component:||All||Assignee:||Apache HTTPD Bugs Mailing List <bugs>|
|Attachments:||Patch to elaborate on the warning|
Description Bill Clark 2009-11-20 13:49:55 UTC
I often set the DocumentRoot of a vhost to a file (PHP script) to remap requests for all URIs to a single point of entry. This works just fine and has never given me a problem, but Apache throws a warning about the DocumentRoot not existing. The existence check should probably just check for existence, and not that the DocumentRoot is a directory (which is what it is apparently doing now) or at least give a more accurate warning ("DocumentRoot is not a directory") or something.