mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-08-07 04:33:14 -04:00
API: Better compatibility with Apache/PHP-CGI
https://github.com/marienfressinaud/FreshRSS/issues/443#issuecomment-37226210
This commit is contained in:
1 parent
608b3a8656
commit
ab1bec28c2
2 files changed
+5
No files matched your search
@@ -0,0 +1,4 @@
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine on
|
||||
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
||||
</IfModule>
|
||||
@@ -526,6 +526,7 @@ function markAllAsRead($streamId, $olderThanId) {
|
||||
}
|
||||
|
||||
logMe('----------------------------------------------------------------'."\n");
|
||||
//logMe(debugInfo());
|
||||
|
||||
$pathInfo = empty($_SERVER['PATH_INFO']) ? '/Error' : urldecode($_SERVER['PATH_INFO']);
|
||||
$pathInfos = explode('/', $pathInfo);
|
||||
|
||||
Reference in new issue
Block a user