Skip to content

Commit 617e622

Browse files
committed
Update .htaccess
1 parent f54fc9b commit 617e622

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

examples/.htaccess

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
1-
php_value auto_prepend_file "waf.php"
1+
php_value auto_prepend_file "waf.php"
2+
3+
<IfModule mod_headers.c>
4+
Header set X-XSS-Protection "1; mode=block"
5+
</IfModule>
6+
7+
<IfModule mod_rewrite.c>
8+
RewriteEngine On
9+
10+
RewriteCond %{REQUEST_FILENAME} !-d
11+
RewriteCond %{REQUEST_FILENAME} !-f
12+
RewriteRule .* index.php [L,NC,QSA]
13+
</IfModule>

0 commit comments

Comments
 (0)