forked from webpwnized/mutillidae
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
executable file
·21 lines (16 loc) · 829 Bytes
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
ErrorDocument 403 "By default, Mutillidae only allows access from localhost (127.*.*.*). Edit the .htaccess file to change this behavior (not recommended on a public network)."
Order Deny,Allow
Deny from all
## This allows access from localhost
Allow from 127.
Allow from localhost
## This is to allow access from other machines on Virtual Box host-only networks.
Allow from 192.168.0.0/16
## The following section disables PHP magic quoting feature.
## Turning these on will cause issues with Mutillidae.
## Note: Turning these on should NEVER be relied on as a method for securing against injection attemps.
## As of PHP 6 these options will be removed for exactley that reason.
## Donated by Kenny Kurtz
php_flag magic_quotes_gpc off
php_flag magic_quotes_sybase off
php_flag magic_quotes_runtime off