60419bb2f9deebe018170b457fa3d9969150df22
[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]+)/doap$ doap.php?id=$1
9 RewriteRule ^([0-9]+)/edit$ edit.php?id=$1
10 RewriteRule ^([0-9]+)/fork$ fork.php?id=$1
11 RewriteRule ^([0-9]+)/raw/(.+)$ raw.php?id=$1&file=$2
12 RewriteRule ^([0-9]+)/rev/(.+)$ revision.php?id=$1&rev=$2
13 RewriteRule ^([0-9]+)/rev-raw/(.+)/(.+)$ raw.php?id=$1&rev=$2&file=$3
14 RewriteRule ^([0-9]+)/tool/([^/]+)/(.+)$ tool.php?id=$1&tool=$2&file=$3
15
16 RewriteRule ^fork-remote$ fork-remote.php
17 RewriteRule ^new$ new.php
18
19 RewriteRule ^feed/new$ feed-new.php
20 RewriteRule ^feed/updated$ feed-updated.php
21
22 RewriteRule ^list$ list.php
23 RewriteRule ^list/([0-9]+)$ list.php?page=$1
24
25 RewriteRule ^search$ search.php
26 RewriteRule ^search/([0-9]+)$ search.php?page=$1
27
28 RewriteRule ^login$ login.php
29 RewriteRule ^user$ user.php