OSB enhancements to date

This commit is contained in:
Deon George
2010-11-30 09:41:08 +11:00
parent 8715a2059b
commit ec6a542bc3
478 changed files with 23423 additions and 9309 deletions

View File

@@ -2,7 +2,7 @@
RewriteEngine On
# Installation directory
RewriteBase /kohana/
RewriteBase /osb/
# Protect hidden files from being viewed
<Files .*>
@@ -11,11 +11,11 @@ RewriteBase /kohana/
</Files>
# Protect application and system files from being viewed
RewriteRule ^(?:application|modules|system)\b.* index.php/$0 [L]
RewriteRule ^(?:application|modules|includes/kohana)\b.* kh.php/$0 [L]
# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Rewrite all other URLs to index.php/URL
RewriteRule .* index.php/$0 [PT]
# Rewrite all other URLs to kh.php/URL
RewriteRule .* kh.php/$0 [PT]