[cvs] [Wiki] changed: SecurityTips

Wiki Guest wiki at wiki.horde.org
Sat Feb 12 02:59:34 PST 2005


guest [62.166.189.105]  Sat, 12 Feb 2005 02:59:34 -0800

Modified page: http://wiki.horde.org/display.php?page=SecurityTips
New Revision:  1.8

@@ -32,8 +32,9 @@
 +++ Apache/PHP Configuration
 The Horde documentation is suggesting an awfull lot of <Directory> instructions to secure Hore. I've found a way to limit those to one <Directory> and one <!DirectoryMatch> instruction //and// statisfy Horde's needs towards PHP on the fly:
 <code>
 <Directory "/var/www/html/horde/">
+  Options none
   # Only needed if you have got safe_mode globally on
   php_admin_flag  safe_mode        off
 
   # /usr b/c of PEAR. /var is needed for my installation...
@@ -50,9 +51,9 @@
   php_admin_flag  log_errors       on
   php_admin_flag  register_globals off
 </Directory>
 
-<DirectoryMatch "^/var/www/html/horde/(.*/)?(config|lib|locale|po|scripts|templates)(/.*)?">
+<DirectoryMatch "^/var/www/html/horde/(.*/)?(config|lib|locale|po|scripts|templates)/(.*)?">
   order deny,allow
   deny  from all
 </DirectoryMatch>
 


More information about the cvs mailing list