mikaelstaer / The-Secretary

http://www.secretarycms.com
GNU General Public License v3.0
88 stars 22 forks source link

Clean URLs on Nginx #3

Closed danakim closed 10 years ago

danakim commented 10 years ago

Hi,

I use nginx + php_fcgi to host a Secretary installation. I have tried to translate the Apache rewrite rules found in htaccess.txt to Nginx but I have had trouble making them actually work. I did get to a point where clean URLs almost worked. The css/html part did load, but nothing of the dynamic content did. My guess is that it applied the rewrite rules but didn't get to the part where it passed the content to the php backend (php_fcgi).

Do you/anyone have experience in hosting the Secretary under this setup?

Thanks!

mikaelstaer commented 10 years ago

Hi Dan

Sorry for the delay.

I have not heard of anyone trying to run Secretary under that setup. I'll try to do some research into it and see if I come up with anything. Any luck since you wrote me?

Mikael Staer Nathan www.mikaelstaer.com - @mikaelstaer https://twitter.com/mikaelstaer 647 240 8685

On 28 May 2014 15:53, Dan notifications@github.com wrote:

Hi,

I use nginx + php_fcgi to host a Secretary installation. I have tried to translate the Apache rewrite rules found in htaccess.txt to Nginx but I have had trouble making them actually work. I did get to a point where clean URLs almost worked. The css/html part did load, but nothing of the dynamic content did. My guess is that it applied the rewrite rules but didn't get to the part where it passed the content to the php backend (php_fcgi).

Do you/anyone have experience in hosting the Secretary under this setup?

Thanks!

— Reply to this email directly or view it on GitHub https://github.com/mikaelstaer/The-Secretary/issues/3.

danakim commented 10 years ago

Hi Mikael,

No worries - it took me a long time to answer too. Thanks for looking into it, nothing critical - I just wondering if you or anyone you know managed to get it running under that setup.

Unfortunately no luck since. Didn't have the time either to look into it as it is running fine, just without clean_urls.

Thanks again!