.htaccess
changeset 49 611d4fe474d3
parent 48 d476d5f4758f
child 50 b65e2d0ece0d
equal deleted inserted replaced
48:d476d5f4758f 49:611d4fe474d3
     1 <IfModule mod_rewrite.c>
       
     2 
       
     3     # Enable rewrite engine
       
     4     RewriteEngine on
       
     5 
       
     6     RewriteCond %{REQUEST_FILENAME} !-f
       
     7     RewriteCond %{REQUEST_URI} !(.*)/$
       
     8     RewriteRule ^(.*)$ /$1/ [R,L]
       
     9 
       
    10     # Specify a base URL-path for the rules
       
    11     RewriteBase /
       
    12 
       
    13     # zwei parameter
       
    14     RewriteCond %{REQUEST_FILENAME} !-f
       
    15     RewriteCond %{REQUEST_FILENAME} !-d
       
    16     RewriteCond %{REQUEST_URI} ^/(.*)/(.*)/$ [NC]
       
    17     RewriteRule .* index.php?controller=%1&action=%2 [L]
       
    18 
       
    19     # ein parameter
       
    20     RewriteCond %{REQUEST_FILENAME} !-f
       
    21     RewriteCond %{REQUEST_FILENAME} !-d
       
    22     RewriteCond %{REQUEST_URI} ^/(.*)/$ [NC]
       
    23     RewriteRule .* index.php?controller=%1 [L]
       
    24 </IfModule>