blob: 425035347680137064454a04960ade540e706b22 (
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,B]
</IfModule>
|