wpsharks / mail-remix

0 stars 0 forks source link

Logs Directory `.htaccess` #6

Closed jaswrks closed 9 years ago

jaswrks commented 9 years ago

I ended up with a /wp-content/mail-logs directory with an .htaccess file.

I'd suggest changing deny from all, to the following:

<IfModule authz_core_module>
    Require all denied
</IfModule>
<IfModule !authz_core_module>
    deny from all
</IfModule>

This is forward-compatible with newer versions of Apache w/ authz_core_module, while still being backward-compatible with the older versions that use the allow/deny syntax. See also: http://httpd.apache.org/docs/2.4/howto/access.html

2014-11-04_03-23-06

brucewrks commented 9 years ago

Thanks! Fixed.