The use of DirectoryMatch or Directory, ie.
or
Causes any 404 to instead become a 403
ie. http://www.litespeedtech.com/ignore404fdgkdfgl1232365346.txt
should properly produce a 404
adding any directorymatch rule causes it to become 403, even if it's not affected by the rule
Code:
<DirectoryMatch "\.(svn|git)">
Order allow,deny
Deny from all
</DirectoryMatch>
Code:
<Directory ~ "\.(svn|git)">
Order allow,deny
Deny from all
</Directory>
ie. http://www.litespeedtech.com/ignore404fdgkdfgl1232365346.txt
should properly produce a 404
adding any directorymatch rule causes it to become 403, even if it's not affected by the rule
Last edited by a moderator: