Subversion Repositories Mas

Compare Revisions

Ignore whitespace Rev 3 → Rev 4

/mas/.htaccess
1,23 → 1,29
RewriteEngine On
RewriteBase /
 
php_flag display_errors on
php_flag display_startup_errors on
 
php_value memory_limit 384M
php_value post_max_size 192M
php_value upload_max_filesize 128M
php_flag allow_url_include off
php_flag magic_quotes_gpc off
php_flag short_open_tag off
 
php_flag display_errors on
php_flag display_startup_errors on
 
RewriteCond %{DOCUMENT_ROOT}/$1 !-f
RewriteCond %{DOCUMENT_ROOT}/$1 !-d
RewriteCond %{DOCUMENT_ROOT}/$1.php -f
RewriteRule ^([^/]+)(/(.*))?$ /$1.php$2 [L]
 
RewriteCond $1 !^(mas)$
RewriteCond %{DOCUMENT_ROOT}/$1 -d
RewriteRule ^([^/]+)(/(.*))?$ /index.php/$1$2 [L]
 
RewriteCond %{SCRIPT_FILENAME} -d
RewriteRule ^([^/]+)(/(.*))?$ /index.php/$1$2 [L]
 
RewriteCond $1 ^(secure|files)(\.php)?$
RewriteRule ^([^/]+)(/(.*))?$ /index.php/$1$2 [L]
 
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.+)$ /index.php/$1 [L]
 
RewriteCond $1 ^(secure|files)$
RewriteRule ^([^/]+)(/(.*))?$ /index.php/$1$2 [L]