Changeset 3324
- Timestamp:
- 08/08/2008 08:31:27 PM (4 months ago)
- Files:
-
- 1 modified
-
trunk/example.htaccess (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/example.htaccess
r3323 r3324 5 5 RewriteBase /kohana/ 6 6 7 # Allow these directories and files to be displayed directly:8 # - index.php (DO NOT FORGET THIS!)9 # - robots.txt10 # - favicon.ico11 # - Any file inside of the media/ directory12 RewriteRule ^(index\.php|robots\.txt|favicon\.ico|kohana\.png|media) - [PT,L]13 14 7 # Protect application and system files from being viewed 15 8 RewriteRule ^(application|modules|system) - [F,L] 16 9 10 # Allow any files or directories that exist to be displayed directly 11 RewriteCond %{REQUEST_FILENAME} !-f 12 RewriteCond %{REQUEST_FILENAME} !-d 13 17 14 # Rewrite all other URLs to index.php/URL 18 15 RewriteRule .* index.php/$0 [PT,L]
