Page 1 of 1

Nginx Rewrites Not Working

Posted: Thu Apr 24, 2014 9:18 am
by chezz69
Hi All,

I have just recently started playing with PHPmyFAQ and am having some issues getting the rewrites working under Nginx.

I have copied the _nginx.conf file into my nginx configuration and made the required changes (document root etc.) however as soon as i enable URL rewrites from the administration area I simply get 404s when browsing my installation.

Currently running nginx version 1.2.1

nginx -v
nginx version: nginx/1.2.1

Does anyone have any suggestion in getting rewrites working under Nginx?

Re: Nginx Rewrites Not Working

Posted: Thu Apr 24, 2014 5:19 pm
by Thorsten
Hi,

did you activated rewrite support in the admin section?

bye
Thorsten

Re: Nginx Rewrites Not Working

Posted: Fri Apr 25, 2014 2:59 am
by chezz69
Hi,

Yes is have enabled rewrite support in the admin section, and now the links show as "/instantresponse.html" and "/addcontent.html" etc but when visiting these links i received a 404 not found from Nginx which to me indicates that the Nginx rewrites are not functioning as expected.

Thanks