Concrete 5 Nginx Support for C5 Request URLs


#1

Hello,

I have installed with the One-Click Install the Concrete5, but I get this error when I enter into the new website URL:

Support for C5 Request URLs
concrete5 cannot parse the PATH_INFO or ORIG_PATH_INFO information provided by your server.

I have nginx in a VPS.

I heard about some fix, but don’t know where to put it, or if you guys have other fix:

found solution here

http://www.justasysadmin.net/en/practical/configuration-concrete-5-

please change/add

location ~.php($|/) {
set $script $uri;
set $path_info “”;
if ($uri ~ “^(.+.php)(/.+)”) {
set $script $1;
set $path_info $2;
}


#2

How can it be fixed?


#3

I would actually advise that you seriously consider not implementing htaccess-like behaviour in nginx.

nginx is fast because it doesn’t do Apache things like rewrites out-of-the-box :wink:


#4

So, there is no solution for Concrete5 with nginx?