rpicms

A CMS for the Raspberry Pi
git clone git://archive.git.mtrnord.blog/RpicmsTeam/rpicms.git
Log | Files | Refs | README | LICENSE

commit 36e4df9bbd001c63354826336cf308a40cfeb7a4
parent 156bf6b4f0ad36f5ee2672e04a71b2b2e7cc46a8
Author: MTRNord <mtrnord1@gmail.com>
Date:   Mon,  2 Feb 2015 21:28:47 +0100

update htaccess

Diffstat:
M.htaccess | 2+-
Mdocs/nginx.htaccess | 5+++--
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/.htaccess b/.htaccess @@ -5,5 +5,5 @@ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule /^([^\.]+)$ %{REQUEST_URI}.php [NC] Redirect 301 /oauth2callback /core/backend/admin/modules/modul_g-plus-login/handle.php RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule api/v1/(.*)$ api/v1/api.php?request=$1 [QSA,NC,L] +RewriteRule api/v1/(.*)$ api/v1/api.php [QSA,L] </IfModule> \ No newline at end of file diff --git a/docs/nginx.htaccess b/docs/nginx.htaccess @@ -6,5 +6,5 @@ if (!-e $request_filename){ rewrite /^([^\.]+)$ /$request_uri.php; } if (!-e $request_filename){ -rewrite api/v1/(.*)$ /[PFAD_TO_PROJECT]/core/api/v1/api.php?request=$1 break; -} +rewrite api/v1/(.*)$ /api/v1/api.php break; +} +\ No newline at end of file