URL Rewrite issue

John paul Narowski lists at ruby-forum.com
Wed Feb 18 03:36:36 MSK 2009

I had this structure in Apache, which would still load the recipes.php


In Nginx I have it proxing to fastcgi, but I dont know how to get it to
operate the way apache did.  Any help would be much appreciated.

Here is an excerpt from my config file:

  location ~ \.php$ {
    root           /var/www/rails/site.com/public;
    fastcgi_index  index.php;
    fastcgi_param  SCRIPT_FILENAME
    include        fastcgi_params;
Posted via http://www.ruby-forum.com/.

More information about the nginx mailing list