httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Виталий Фадеев <>
Subject [users@httpd] Strange with AllowOverrideList Directive
Date Tue, 29 Mar 2016 09:06:50 GMT

I trying to completely disable of .htaccess.
I have this in httpd.conf:
<Directory />
        Options FollowSymLinks
        AllowOverride None
        Require all denied

Also, i have this in vhost include file:
<Directory "/var/www/development">
    Options FollowSymLinks
    AllowOverride None
    AllowOverrideList None
    Require all granted

Directory /var/www/development still contain .htaccess files as i do
not want to remove them.

"When this directive is set to None and AllowOverrideList is set to
None .htaccess, files are completely ignored. In this case, the server
will not even attempt to read .htaccess files in the filesystem."

But when i open my vhost, i get 500:
[Tue Mar 29 01:27:12.868576 2016] [core:alert] [pid 9361:tid [client] /var/www/development/.htaccess: ErrorDocument not
allowed here
As first line of my .htaccess start with ErrorDocument.

And also, any subdirectories that contains .htaccess is failed with 500.

As i see, this is mismatch in documentation?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message