Re: SCGI + Quixote, Location / ?

David Binger <[email protected]>
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
On Aug 11, 2005, at 5:58 PM, [email protected] wrote:

>> Should Quixote's publisher give the same result
>> when PATH_INFO is 'foo/bar' that it gives
>> when PATH_INFO is '/foo/bar' ?
>> I don't know what to think about this, but it does seem good to
>> do something other than trip on the assert.
>>
>
> Well, what else could "foo/bar" mean?  It's really the fault of the
> server, but we might as well make Quixote flexible for misplaced  
> slashes,
> especially when the specs are not as clear as they should be.
>

I *suppose* that whenever the PATH_INFO is not a string
that starts with '/', you could return a permanent
redirect to SCRIPT_NAME + '/' + PATH_INFO
This would cover the empty case the same way as this odd case.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.