summaryrefslogtreecommitdiff
path: root/.htaccess
blob: 4b0db94c905c0836e23da1b192c4baf7fa3e0942 (plain)
1
2
3
4
5
6
7
8
9
10
11
<IfModule mod_rewrite.c>
    RewriteEngine  on
#	Uncomment this if mod_rewrites are not working for you. some hosting services have cranky mod_rewrite
#    RewriteBase     /wiki/
    RewriteCond %{SCRIPT_FILENAME}  -f [OR]
    RewriteCond %{SCRIPT_FILENAME}/index.php    -f
    RewriteRule ^(.*)$            - [L]

    RewriteRule ^view/(.*)$  index.php?page=$1  [L,QSA]
    RewriteRule ^(.*)$       index.php?page=$1  [L,QSA]
</IfModule>