redirect paste url with ending slash on apache
authorChristian Weiske <cweiske@cweiske.de>
Mon, 6 Jul 2015 20:47:19 +0000 (22:47 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Mon, 6 Jul 2015 20:47:19 +0000 (22:47 +0200)
www/.htaccess

index cda57f9..7ab6364 100644 (file)
@@ -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