From a1e6e4c154727f30aaa2e406eb5afb3810d4b398 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Mon, 6 Jul 2015 22:47:19 +0200 Subject: [PATCH] redirect paste url with ending slash on apache --- www/.htaccess | 1 + 1 file changed, 1 insertion(+) diff --git a/www/.htaccess b/www/.htaccess index cda57f9..7ab6364 100644 --- a/www/.htaccess +++ b/www/.htaccess @@ -6,6 +6,7 @@ RewriteBase / #RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^([0-9]+)$ display.php?id=$1 +RewriteRule ^([0-9]+)/$ $1 [R] RewriteRule ^([0-9]+)/delete$ delete.php?id=$1 RewriteRule ^([0-9]+)/delete/confirm$ delete.php?id=$1&confirm=1 RewriteRule ^([0-9]+)/doap$ doap.php?id=$1 -- 2.30.2