https://bz.apache.org/bugzilla/show_bug.cgi?id=63079

--- Comment #10 from [email protected] ---
Created attachment 36960
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36960&action=edit
print a warning if Directory directive is incorrect

This is a patch to provide a Warning is the Directory value is not valid.

For example:

$ apachectl -t -f ~/src/httpd-trunk/demo/site.conf
AH10229: Warning: <Directory "/x/y/z/"> does not exist or is not a directory
AH10229: Warning: <Directory "/etc/hostname"> does not exist or is not a
directory

with '~/src/httpd-trunk/demo/site.conf' file contains:
<VirtualHost 127.0.0.1:80>
    ServerAdmin [email protected]
    ServerName demo

    <Directory /x/y/z/>
    </Directory>

    <Directory /etc/hostname>
    </Directory>
</VirtualHost>

What do you think about it?
Does it need some improvement to be merged?

The patch is attached to this message.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to