rpicms

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

commit f6b01a4c13f387dc193dd1e7050622191faaabdc
parent 36e4df9bbd001c63354826336cf308a40cfeb7a4
Author: MTRNord <mtrnord1@gmail.com>
Date:   Mon,  2 Feb 2015 21:31:17 +0100

update htaccess

Diffstat:
M.htaccess | 2+-
Mdocs/nginx.htaccess | 2+-
2 files changed, 2 insertions(+), 2 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 [QSA,L] +RewriteRule api/v1/(.*)$ /coreapi/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/(.*)$ /api/v1/api.php break; +rewrite api/v1/(.*)$ /core/api/v1/api.php break; } \ No newline at end of file