jwz

Rewrites and error logs


Listen Later

Dear Lazyweb,

How do I do an Apache rewrite but also have it show up in error_log? E.g. the following has the side effect that it is not logged, making it unavailable to fail2ban:

RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^.*$ - [GONE,LAST]

Previously, previously, previously, previously, previously.

...more
View all episodesView all episodes
Download on the App Store

jwzBy