Skip to content

Commit 0fdaac5

Browse files
committed
Add example .htaccess for blocking access to anything but deploy.php
1 parent 0adc39c commit 0fdaac5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.htaccess

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Disallow accessing anything in the directory other than ./deploy.php
2+
Order allow,deny
3+
Deny from all
4+
<FilesMatch ^\/?deploy\.php$>
5+
Allow from all
6+
</FilesMatch>

0 commit comments

Comments
 (0)