
cherokee at cherokee-project
Nov 4, 2009, 6:49 AM
Post #1 of 1
(28 views)
Permalink
|
|
[3774] cherokee/trunk/admin/Wizard_Drupal.py: Fixes protection for directory based installations
|
|
Revision: 3774 http://svn.cherokee-project.com/changeset/3774 Author: taher Date: 2009-11-04 15:49:56 +0100 (Wed, 04 Nov 2009) Log Message: ----------- Fixes protection for directory based installations Modified Paths: -------------- cherokee/trunk/admin/Wizard_Drupal.py Modified: cherokee/trunk/admin/Wizard_Drupal.py =================================================================== --- cherokee/trunk/admin/Wizard_Drupal.py 2009-11-03 18:54:15 UTC (rev 3773) +++ cherokee/trunk/admin/Wizard_Drupal.py 2009-11-04 14:49:56 UTC (rev 3774) @@ -40,6 +40,8 @@ %(pre_rule_plus1)s!match!left!directory = %(web_dir)s %(pre_rule_plus1)s!match!right = request %(pre_rule_plus1)s!match!right!request = \.(engine|inc|info|install|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl|svn-base)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template|all-wcprops|entries|format)$ +%(pre_rule_plus1)s!handler = custom_error +%(pre_rule_plus1)s!handler!error = 403 # IMPORTANT: The PHP rule comes here
|