Hot answers tagged

1 vote
Accepted

Creating a .htaccess in a subdirectory causes rewrite rules in higher level .htaccess to stop working

Yes, by default, mod_rewrite directives are not inherited by child configs. So, if you have mod_rewrite directives in a subdirectory .htaccess file (even just enabling or disabling the rewrite engine) ...
MrWhite's user avatar
  • 12.9k
1 vote

Fail2Ban: RegEx to filter all 404 errors out of the Apache-log

other_vhosts_access.log by default has a different LogFormat vhost_combined which is prefixed by a vhost:port when compared with the standard common LogFormat. You need to modify the regex accordingly....
AlexD's user avatar
  • 9,849

Only top scored, non community-wiki answers of a minimum length are eligible