mrubinsk  Thu, 01 May 2014 13:14:03 +0000

Modified page: http://wiki.horde.org/CentOS5InstallationNotes
New Revision:  42
Change log: This is flat out wrong. Horde already ships with .htaccess files that do this, and this expression will deny access to any application that has a /config url endpoint.

@@ -277,14 +277,8 @@
 <Directory /var/www/html/horde/config>
        Order Deny,Allow
        Deny from all
 </Directory>
-
-# Deny access to files that are not served directly by the webserver
-<DirectoryMatch "^/var/www/html/horde/(.*/)?(config|lib|locale|po|scripts|templates)/(.*)?">
-       Order Deny,Allow
-       Deny from all
-</DirectoryMatch>

 # Deny access to the test.php files except from localhost
 <LocationMatch "^/horde/(.*/)?test.php">
        Order Deny,Allow

--
commits mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]

Reply via email to