Changeset 3325 for tags

Show
Ignore:
Timestamp:
08/08/2008 08:33:14 PM (3 months ago)
Author:
Shadowhand
Message:

Merged r3323 and r3324 into tags/2.2

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tags/2.2/example.htaccess

    r3109 r3325  
    55RewriteBase /kohana/ 
    66 
    7 # Allow these directories and files to be displayed directly: 
    8 # - index.php (DO NOT FORGET THIS!) 
    9 # - robots.txt 
    10 # - favicon.ico 
    11 # - Any file inside of the media/ directory 
    12 RewriteRule ^(index\.php|robots\.txt|favicon\.ico|media) - [PT,L] 
    13  
    147# Protect application and system files from being viewed 
    158RewriteRule ^(application|modules|system) - [F,L] 
    169 
     10# Allow any files or directories that exist to be displayed directly 
     11RewriteCond %{REQUEST_FILENAME} !-f 
     12RewriteCond %{REQUEST_FILENAME} !-d 
     13 
    1714# Rewrite all other URLs to index.php/URL 
    1815RewriteRule .* index.php/$0 [PT,L]