I have a feeling that this could be fixed by commenting out the following line in fastcgi_params:
fastcgi_param SCRIPT_NAME $fastcgi_script_name; Let me know if this works :) On 11月12日, 下午2时55分, ChromoX <[email protected]> wrote: > So I have a system up and running with nginx .7 branch, spawn-fcgi > 1.63, and web.py 0.3.3, and I have spawn-fcgi and web.py working > together and I can spawn a fastcgi process. > > But I have a problem with nginx in how I am setting it up. I have a > RESTful like interface that web.py runs, and when I make a request to / > documents I want it to return documents of course, well on my server I > have to run it like so; host/acbr/documents, but that is screwing up > the routes so obviously my script doesn't work. Right now I have the > following in my nginx config. > > location /acbr { > include fastcgi_params; > fastcgi_param SCRIPT_FILENAME $fastcgi_script_name; > fastcgi_param PATH_INFO $fastcgi_script_name; > fastcgi_pass 127.0.0.1:9002; > > } > > I have a feeling I need to pass some sort of fastcgi_param to fix the > problem, but I don't know how I should do it. > > Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
