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_handler redirects me to
> http://localhost/login, instead of http://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 in http://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to