From d327af5f481454d8738ab413e2c16ad829bbf800 Mon Sep 17 00:00:00 2001 From: emkael Date: Fri, 26 Feb 2016 17:13:13 +0100 Subject: * friendly URL support --- http/.htaccess | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 http/.htaccess (limited to 'http') diff --git a/http/.htaccess b/http/.htaccess new file mode 100644 index 0000000..77ee952 --- /dev/null +++ b/http/.htaccess @@ -0,0 +1,10 @@ +RewriteEngine On + +RewriteCond %{REQUEST_FILENAME} !-d +RewriteCond %{REQUEST_FILENAME} !-f +RewriteRule ^(.*[^/])$ /$1/ [L,R=301] + +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^(.*)$ /index.php/$1/ [L] + -- cgit v1.2.3