Bug 57453

Summary: 403 error when virtualhost configured with non-existing directory
Product: Apache httpd-2 Reporter: teo8976
Component: CoreAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: major CC: marherfran
Priority: P2    
Version: 2.4.4   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description teo8976 2015-01-17 18:22:37 UTC
Steps to reproduce:

1) Create a virtual host with a DocumentRoot that does not exist:
<VirtualHost *:80>
    DocumentRoot "/this/path/does/not/exist"

2) from a client/browser, try to visit that virtual host

Expected: Probably a 5xx InternalServer error would be the right response, certainly not 403 forbidden.

Observed: the server returns a "403 forbidden" response, which makes no sense.