svn: /web/doc-editor/trunk/ .htaccess
| From: | Neal Poole | Date: | Thu, 23 Jun 2011 22:06:59 +0000 |
| Subject: | svn: /web/doc-editor/trunk/ .htaccess | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-2057@lists.php.net to get a copy of this message | ||
nbpoole Thu, 23 Jun 2011 22:06:59 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=312420
Log:
Disallow direct access to the data/ directory.
Changed paths:
U web/doc-editor/trunk/.htaccess
Modified: web/doc-editor/trunk/.htaccess
===================================================================
--- web/doc-editor/trunk/.htaccess 2011-06-23 21:53:25 UTC (rev 312419)
+++ web/doc-editor/trunk/.htaccess 2011-06-23 22:06:59 UTC (rev 312420)
@@ -1,6 +1,7 @@
php_flag magic_quotes_gpc Off
Options +FollowSymLinks
RewriteEngine On
+RewriteRule ^data/?.*$ - [F]
RewriteRule ^do/([^\?]+)$ php/controller.php?task=$1&%{QUERY_STRING}
RewriteRule ^error$ error_type.php?%{QUERY_STRING}