Changeset b332e79 in github


Ignore:
Timestamp:
May 23, 2012 10:18:23 AM (12 months ago)
Author:
Raoul Bhatia <raoul@…>
Branches:
master, HEAD, dev-browser-capabilities, pdo
Children:
19cc5b9
Parents:
85a6173
git-author:
Raoul Bhatia <raoul@…> (05/23/12 09:34:33)
git-committer:
Raoul Bhatia <raoul@…> (05/23/12 10:18:23)
Message:

improve .htaccess security rules:

  1. also prevent access to .gitignore
  2. make the second security rule work as expected
  3. include README.md in security rules
File:
1 edited

Legend:

Unmodified
Added
Removed
  • .htaccess

    ra93f39a rb332e79  
    3131RewriteRule ^favicon\.ico$ skins/default/images/favicon.ico 
    3232# security rules 
    33 RewriteRule .git/ - [F] 
    34 RewriteRule ^README|INSTALL|LICENSE|SQL|bin|CHANGELOG$ - [F] 
     33RewriteRule .git - [F] 
     34RewriteRule ^/?(README(.md)?|INSTALL|LICENSE|SQL|bin|CHANGELOG)$ - [F] 
    3535</IfModule> 
    3636 
Note: See TracChangeset for help on using the changeset viewer.