durusmail: quixote-users: prefix ending up in URL with SCGI
prefix ending up in URL with SCGI
2003-01-25
2003-01-27
prefix ending up in URL with SCGI
Andrew Kuchling
2003-01-27
On Fri, Jan 24, 2003 at 04:40:18PM -0800, Michael Watkins wrote:
>But, the onchange submit() in used by an option_select widget still "works"
>but inserts the /site prefix in the URL.

This is almost certainly because one of SCRIPT_NAME or PATH_INFO is
being set to something you don't want.  Quixote always looks at
PATH_INFO to figure out the current URL; see HTTPRequest.get_path()
for the logic.

It looks like you're directing everything under /site to a Quixote
publisher; you could just insert an extra /site/ level in your Python
package, or drop /site/ from the URLs and use a LocationMatch to match
paths one-by-one, something like this:


    SCGIServer XXX.YYY.ZZZ.WWW 9000
    SCGIHandler On


--amk                                                    (www.amk.ca)
The concept is simply staggering. Pointless, but staggering.
      -- The Doctor, in "The Pirate Planet"

reply