Re: SCGI + Quixote, Location / ?
David Binger <[email protected]>
| Newsgroups | gmane.comp.web.quixote.user |
|---|---|
| Message-ID | <[email protected]> |
On Aug 10, 2005, at 7:20 PM, [email protected] wrote: > Actually it would have to be like this: > > # In publish.Publisher.try_publish() > path = request.get_environ('PATH_INFO', '') > if not path: > return redirect(request.get_environ('SCRIPT_NAME')+'/', > True) > > Tested on Apache 2.0.52, scgi 1.4, Quixote 2.1. I think the case in question puts the entire path in the SCRIPT_NAME on every request. Under those conditions, the strategy you suggest can't work since the PATH_INFO would still be empty after a redirect. Does your test push requests through this redirect? Is mod_scgi's behavior different from what I am assuming?