I looked into it yesterday. Everywhere I looked, SCRIPT_NAME was set properly : in the repoze.who.plugin challenge method, in the configuration.py in tg, and a lot or places. It looks like it works when I do "raise HTTPFound" in a controller, but not really when the who.plugin simply changes the app to HTTPFound for example. I did not manage to find where the HTTPFound (exception or application) was handled to check this.
On Sep 10, 7:27 am, "Mark Ramm" <[EMAIL PROTECTED]> wrote: > Hmm, I haven't tested this, but is SCRIPT_NAME being set properly in > your wsgi environ? > > I'm guessing that it is, but that there's some redirect code that's > not paying attention to SCRIPT_NAME, and generating an absolute URL > improperly. > > > > On Thu, Sep 4, 2008 at 4:57 PM, GustaV <[EMAIL PROTECTED]> wrote: > > > Hi all! > > > I'm experiencing some unpleasant issue in redirection. > > > I serve my app with apache 2.2 + mod_wsgi locally. I access it via : > >http://localhost/seed > > > Apache httpd.conf : > > WSGIScriptAlias /seed D:/Sandbox/Repo/SeedServer/apache/seed.wsgi > > <Directory D:/Sandbox/Repo/SeedServer/apache> > > Order deny,allow > > Allow from all > > </Directory> > > > Typing :http://localhost/seed/logout_handlerredirects me to > >http://localhost/login, instead ofhttp://localhost/seed/login! > > > I tried to add in my prod.ini : > > "filter-with = proxy-prefix" > > and later: > > [filter:proxy-prefix] > > "use = egg:PasteDeploy#prefix > > prefix = /seed" > > (found inhttp://turbogears.org/2.0/docs/main/Deployment/ModProxy.html) > > but that doesn't change anything... > > > What happens here? > > > GustaV > > -- > Mark Ramm-Christensen > email: mark at compoundthinking dot com > blog:www.compoundthinking.com/blog --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

