Welcome! Log In Create A New Profile

Advanced

Re: uWSGI & pylons URL problem

Roberto De Ioris
August 03, 2010 10:36AM
Il giorno 03/ago/2010, alle ore 16.11, timeu ha scritto:

> Hi all
>
> I tried to setup nginx with the uwgsi module to a pylons application
> which runs via the uWGSI Server according to following tutorial:
> http://tonylandis.com/python/deployment-howt-pylons-nginx-and-uwsgi/
>
> However when i try to access the pylons application all links which were
> created with the pylon's url object are messed up (double slash "//" at
> the beginning instead of one slash "/")
>
> If i use following code to generate the url for the current pylons
> "page":
> [code]
> ${h.url.current()}
> [/code]
>
> I get "//CURRENT_URL" instead of "/CURRENT_URL"
>
>
> I tried it even with a fresh pylons app, to make sure that none of my
> routing entries are responsible for this behavior.
> It seems that the SCRIPT_NAME "/" is added at the beginning of each URL
> somehow.


This is an issue signalled by Andrey Petrov and fixed in the current mercurial repository (you can check it in the mailing list archive).

I hope to release a maintainance version of the 0.9.5 tree asap.

Roberto De Ioris
http://unbit.it
JID: roberto@jabber.unbit.it


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

uWSGI & pylons URL problem

timeu August 03, 2010 10:11AM

Re: uWSGI & pylons URL problem

Roberto De Ioris August 03, 2010 10:36AM

Re: uWSGI & pylons URL problem

timeu August 03, 2010 10:55AM

Re: uWSGI & pylons URL problem

Roberto De Ioris August 03, 2010 11:14AM

Re: uWSGI & pylons URL problem

timeu August 04, 2010 07:36AM

Re: uWSGI & pylons URL problem

Igor Sysoev August 03, 2010 10:40AM

Re: uWSGI & pylons URL problem

timeu August 04, 2010 07:33AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 69
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready