Move old apache project

HI again, guys. I have another trouble with own old projects basec on
large
htaccess rewriet rules.
That’s my configuration http://pastebin.com/7JCmiaSm in server block for
one
site, and everything work fine except when open url without “index.php”
there. Nginx return me “Access denied”, and i can’t understand why.

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,259684,259684#msg-259684

Sorry, i find out :slight_smile: Add these missing params in php-fpm configuration
and
work like charm

fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,259684,259685#msg-259685

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs