From f0de7af14312368a11014befa428ff91bbebff76 Mon Sep 17 00:00:00 2001 From: Kamil Kaminski Date: Sun, 14 Dec 2014 04:39:17 -0600 Subject: fracturedcms, a flat file cms, fork of wondercms - minor code refactoring - fix improper navigation/footer link generation when current page is ?login or ?logout - include local jquery --- default.htaccess | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 default.htaccess (limited to 'default.htaccess') diff --git a/default.htaccess b/default.htaccess new file mode 100644 index 0000000..2a726ce --- /dev/null +++ b/default.htaccess @@ -0,0 +1,11 @@ +RedirectMatch 403 ^.*/files/ +ErrorDocument 403   +Options -Indexes + +RewriteEngine on +# RewriteBase /fracturedcms +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteCond $1#%{REQUEST_URI} ([^#]*)#(.*)\1$ +RewriteRule ^([^\.]+)$ %2?page=$1 [QSA,L] + -- cgit v1.2.3