Hi marrco,
Thank you for sharing this nginx site config with us...
I have tried using it on my low end box and am running into some issues. I get a "redirect loop" error when trying to install
Changing your admin folder try_files from:
to
Allows me to view the first two pages of the installation procedure, but the URL is strange: example.com/index.php/admin/install.php - Is that right?
Then, after inputting the website details and continuing, I get this server error:
I'm confused, I think that the admin folder rule is incorrect, but without my edit, files like /admin/pages.php didn't show up - all very odd.
Any help anyone could offer would be greatly appreciated!
(Edited to clarify when error occurred)
Thank you for sharing this nginx site config with us...
I have tried using it on my low end box and am running into some issues. I get a "redirect loop" error when trying to install
Changing your admin folder try_files from:
Code:
location ~* /admin/.*\.php$ {
try_files $uri /admin/index.php?id=$uri&$args;
...
}
Code:
location ~* /admin/(.*)\.php$ {
try_files $uri /admin/$1.php?id=$uri&$args;
...
}
Allows me to view the first two pages of the installation procedure, but the URL is strange: example.com/index.php/admin/install.php - Is that right?
Then, after inputting the website details and continuing, I get this server error:
Code:
2013/03/07 15:03:46 [error] 26454#0: *20 rewrite or internal redirection cycle while internally redirecting to "/admin/setup.php/admin/setup.php", client: 81.138.127.89, server: example.com, request: "POST /admin/setup.php/admin/setup.php HTTP/1.1", host: "example.com", referrer: "http://example.com/index.php/admin/setup.php"
I'm confused, I think that the admin folder rule is incorrect, but without my edit, files like /admin/pages.php didn't show up - all very odd.
Any help anyone could offer would be greatly appreciated!
(Edited to clarify when error occurred)