From: James Britt Date: 2006-02-10T03:35:55+09:00 Subject: Re: odd http header corruption Sam Joseph wrote: ... > That makes sense now. I guess it would be nice to be able to call > dispatch.cgi from the command line passing in the appropriate parameters > to see exactly what it spits back ... I tried the following: > > ./dispatch.cgi /discussions/tree/1 > Status: 500 Internal Server Error > > so it's not as simple as that. I think you need to preload the PATH_INFO environment variable $ PATH_INFO=/discussions/tree/1; export PATH_INFO $ ./dispatch.cgi (Or SCRIPT_NAME or something like that.) -- James Britt http://www.ruby-doc.org - Ruby Help & Documentation http://www.artima.com/rubycs/ - The Journal By & For Rubyists http://www.rubystuff.com - The Ruby Store for Ruby Stuff http://www.30secondrule.com - Building Better Tools