JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
404 fake wfpl_main.php
authorJason Woofenden <jason@jasonwoof.com>
Thu, 7 May 2015 21:41:06 +0000 (17:41 -0400)
committerJason Woofenden <jason@jasonwoof.com>
Thu, 7 May 2015 21:41:06 +0000 (17:41 -0400)
.htaccess

index c496a28..af54bb2 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -9,7 +9,7 @@ AddCharset UTF-8 .css
 RewriteEngine  on
 RewriteRule    ^[^/.]*$  /wfpl_main.php [L]
 # Close loophole in security restriction/exception below
-RewriteRule    ^.*/.*wfpl_main.php$  /wfpl_main.php [L]
+RewriteRule    ^.*/.*wfpl_main.php$  /error_404 [L,R]
 
 <FilesMatch "\.(css|jpg|png)$">
        ExpiresActive On