Changeset 3324

Show
Ignore:
Timestamp:
08/08/2008 08:31:27 PM (4 months ago)
Author:
Shadowhand
Message:

Fixed #754

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/example.htaccess

    r3323 r3324  
    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|kohana\.png|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]