Nginx Rewrites Not Working

All about webserver configurations, PHP and databases.

Moderator: Thorsten

Post Reply
chezz69
Posts: 2
Joined: Thu Apr 24, 2014 9:13 am

Nginx Rewrites Not Working

Post 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?
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Nginx Rewrites Not Working

Post by Thorsten »

Hi,

did you activated rewrite support in the admin section?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
chezz69
Posts: 2
Joined: Thu Apr 24, 2014 9:13 am

Re: Nginx Rewrites Not Working

Post 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
Post Reply