Skip to content
Snippets Groups Projects
Commit 7433735a authored by ale's avatar ale
Browse files

Prevent access to setup-config.php

parent 9dea5b85
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,9 @@ RewriteCond %{HTTP_HOST} ^ventitre\.noblogs\.org [NC]
RewriteRule ^/?(.*) http://www.ventitre.org/$1 [L,R=301,NE]
####
# Prevent access to site setup page
RewriteRule ^wp-admin/setup-config\.php - [F,END]
# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
RewriteCond %{HTTP_X_FORWARDED_PROTO} https [NC]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment