Rewriting Base URL when passing

adam estes wtymdjs at gmail.com
Wed Feb 15 20:06:06 UTC 2012


I removed that from both the uwsgi_params and uwsgi_params.default. Still
isn't working.

On Wed, Feb 15, 2012 at 2:49 PM, Valentin V. Bartenev <ne at vbart.ru> wrote:

> On Wednesday 15 February 2012 22:53:56 adam estes wrote:
> > The problem is that its not going to be just /admin
> >
> > There are around 10 urls defined.
> >
> > I tried
> >
> > location ~ ^/django(?P<django_path>.*?)$ {
> >                         uwsgi_param PATH_INFO $django_path;
> >                         uwsgi_pass 127.0.0.1:9001;
> >                         include uwsgi_params;
> >                 }
> >
> >
> > Which according to RegSkinner, would match anything after /django
> >
> > But this did not work. Its still passing the django parth. What do I do?
> >
>
> Have you looked at your "uwsgi_params" file which you include in the
> location?
> So I expect that it sets one more PATH_INFO param to different value.
>
>  wbr, Valentin V. Bartenev
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120215/4ba35eaa/attachment.html>


More information about the nginx mailing list