Skip to content

adds wordpress/wp-secure.conf

Jeremy Butler requested to merge add_wp-secure.conf into master

adds wordpress/wp-secure.conf

This is a direct copy from secrepo with the follow section added:

##Prevent Posts request to wp-content folder with exceptions ##############################################

<DirectoryMatch "./wp-content/" > RewriteCond %{REQUEST_METHOD} POST RewriteCond %{REQUEST_URI} !/contact.php [NC] RewriteCond %{REMOTE_ADDR} !127.0.0.1 RewriteRule . - [F,L]

Merge request reports