durusmail: quixote-users: lighttpd SCGI + Quixote, Location / ?
lighttpd SCGI + Quixote, Location / ?
2005-08-16
2005-08-16
2005-08-16
2005-08-17
2005-08-17
2005-08-18
lighttpd SCGI + Quixote, Location / ?
David Binger
2005-08-16
On Aug 16, 2005, at 9:57 AM, nora central wrote:

>
> yes, much better, but something is missing after:
>
> http://212.254.241.29/scgi-test

The trailing slash is missing.
Does lighthttp have a convenient way to redirect /scgi-test to /scgi-
test/?

The next release of quixote replaces the assert with:

if path[:1] != '/':
   return redirect(request.get_environ('SCRIPT_NAME', '') + '/' + path,
                   permanent=True)
You could patch that into _q_traverse instead of figuring out the
redirect.




>
> Traceback (most recent call last):
>   File "/usr/lib/python2.4/site-packages/quixote/publish.py", line
> 275, in process_request
>     output = self.try_publish(request)
>   File "/usr/lib/python2.4/site-packages/quixote/publish.py", line
> 250, in try_publish
>     assert path[:1] == '/'
> AssertionError

reply