svn: /web/doc-editor/trunk/ .htaccess

[email protected] (Neal Poole)
Newsgroups php.doc.web
Message-ID <[email protected]>
nbpoole                                  Thu, 23 Jun 2011 22:14:53 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=312421

Log:
Updated .htaccess with superior RewriteRule (thanks Felipe!)

Changed paths:
    U   web/doc-editor/trunk/.htaccess

Modified: web/doc-editor/trunk/.htaccess
===================================================================
--- web/doc-editor/trunk/.htaccess	2011-06-23 22:06:59 UTC (rev 312420)
+++ web/doc-editor/trunk/.htaccess	2011-06-23 22:14:53 UTC (rev 312421)
@@ -1,7 +1,7 @@
 php_flag magic_quotes_gpc Off
 Options +FollowSymLinks
 RewriteEngine On
-RewriteRule ^data/?.*$ - [F]
+RewriteRule ^data(/?|/.*)$ - [F]
 RewriteRule ^do/([^\?]+)$ php/controller.php?task=$1&%{QUERY_STRING}
 RewriteRule ^error$ error_type.php?%{QUERY_STRING}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.