On Aug 10, 2005, at 11:23 PM, Neil Schemenauer wrote:

For your specific problem, if you have:

    SCGIMount /rl localhost:3000

then the URI /rl/ will result in SCRIPT_NAME="/rl" and PATH_INFO="/".
If the URI is /rl then SCRIPT_NAME="/rl" and PATH_INFO="".  That
will trigger the following assertion in Quixote:

Traceback (most recent call last):
File "/home/nas/lib/python/quixote/publish.py", line 273, in process_request
    output = self.try_publish(request)
File "/home/nas/lib/python/quixote/publish.py", line 248, in try_publish
    assert path[:1] == '/'
AssertionError

I think we could change Quixote to do a redirect (just like in other
cases when a trailing slash is missing) instead of raising an error.

Thanks for the explanation.   Now I see where that redirect would be
valuable.




_______________________________________________
Quixote-users mailing list
[email protected]
http://mail.mems-exchange.org/mailman/listinfo/quixote-users

Reply via email to