X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/6d0777840e50ce98f3d96629b4e92bbdccd3001c..78632066c11c38b7bb154d41257754d440bb5269:/www/.htaccess diff --git a/www/.htaccess b/www/.htaccess index f41e1bf..10833c7 100644 --- a/www/.htaccess +++ b/www/.htaccess @@ -3,3 +3,12 @@ RewriteBase / #RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^([0-9]+)$ /display.php?id=$1 +RewriteRule ^([0-9]+)/delete$ /delete.php?id=$1 +RewriteRule ^([0-9]+)/delete/confirm$ /delete.php?id=$1&confirm=1 +RewriteRule ^([0-9]+)/edit$ /edit.php?id=$1 +RewriteRule ^([0-9]+)/fork$ /fork.php?id=$1 +RewriteRule ^([0-9]+)/raw/(.+)$ /raw.php?id=$1&file=$2 +RewriteRule ^([0-9]+)/tool/([^/]+)/(.+)$ /tool.php?id=$1&tool=$2&file=$3 + +RewriteRule ^list$ /list.php +RewriteRule ^list/([0-9]+)$ /list.php?page=$1