thd/web/.svn/text-base/.htaccess.svn-base
changeset 104 8e4fe6f3337d
parent 103 d2af8a210f5d
child 105 c8f710cd1fb1
equal deleted inserted replaced
103:d2af8a210f5d 104:8e4fe6f3337d
     1 Options +FollowSymLinks +ExecCGI
       
     2 
       
     3 <IfModule mod_rewrite.c>
       
     4   RewriteEngine On
       
     5 
       
     6   # uncomment the following line, if you are having trouble
       
     7   # getting no_script_name to work
       
     8   #RewriteBase /
       
     9 
       
    10   # we skip all files with .something
       
    11   #RewriteCond %{REQUEST_URI} \..+$
       
    12   #RewriteCond %{REQUEST_URI} !\.html$
       
    13   #RewriteRule .* - [L]
       
    14 
       
    15   # we check if the .html version is here (caching)
       
    16   RewriteRule ^$ index.html [QSA]
       
    17   RewriteRule ^([^.]+)$ $1.html [QSA]
       
    18   RewriteCond %{REQUEST_FILENAME} !-f
       
    19 
       
    20   # no, so we redirect to our front web controller
       
    21   RewriteRule ^(.*)$ index.php [QSA,L]
       
    22 </IfModule>