add rule to .htaccess to protect generate_language.php (#311)

This commit is contained in:
FrancescoUK committed 2016-03-20 19:10:36 +00:00
1 parent f813780e15
commit b57fc1f34d
1 file changed
+11
+11
View File
@@ -31,6 +31,17 @@ IndexIgnore *
satisfy All
</Files>
# prevent access to generate_languages.php
<Files generate_languages.php>
order allow,deny
deny from all
allow from 127.0.0.1
# My IP(s)
# allow from xxx.xxx.xxx.xx
</Files>
<IfModule mod_expires.c>
<FilesMatch "\.(jpe?g|png|gif|js|css)$">
ExpiresActive On