searching works now (pager missing)
[phorkie.git] / www / .htaccess
1 RewriteEngine On
2 RewriteBase /
3 #RewriteCond %{REQUEST_FILENAME} -f
4
5 RewriteRule ^([0-9]+)$ /display.php?id=$1
6 RewriteRule ^([0-9]+)/delete$ /delete.php?id=$1
7 RewriteRule ^([0-9]+)/delete/confirm$ /delete.php?id=$1&confirm=1
8 RewriteRule ^([0-9]+)/edit$ /edit.php?id=$1
9 RewriteRule ^([0-9]+)/fork$ /fork.php?id=$1
10 RewriteRule ^([0-9]+)/raw/(.+)$ /raw.php?id=$1&file=$2
11 RewriteRule ^([0-9]+)/rev/(.+)$ /revision.php?id=$1&rev=$2
12 RewriteRule ^([0-9]+)/rev-raw/(.+)/(.+)$ /raw.php?id=$1&rev=$2&file=$3
13 RewriteRule ^([0-9]+)/tool/([^/]+)/(.+)$ /tool.php?id=$1&tool=$2&file=$3
14
15 RewriteRule ^list$ /list.php
16 RewriteRule ^list/([0-9]+)$ /list.php?page=$1
17
18 RewriteRule ^search$ /search.php
19 RewriteRule ^search/([0-9]+)$ /search.php?page=$1