[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] clickable column headings



It must be some sort of error in getting the query-string across to
the script. If I try to access your site using the URL
   /hobbit-cgi/bb-csvinfo.sh?db=columndoc.csv&key=conn
which internally works almost the same, then it works OK...

What kind of system are you running on ? It could be some shell
oddity. Could you try changing the cgi-bin/hobbitcolumn.sh script to:

#!/bin/sh

QS="${QUERY_STRING}"
QUERY_STRING="db=columndoc.csv&key=${QS}"  
export QUERY_STRING

exec /usr/local/hobbit/server/bin/bb-csvinfo.cgi  \
    --env=/usr/local/hobbit/server/etc/hobbitserver.cfg \
    --color=purple --hffile=columndoc


and let me know if that works better ?


Thanks,
Henrik


On Tue, Feb 08, 2005 at 10:24:28AM -0500, Christopher T. Beers wrote:
> Nope its there.  I get invalid request on the page.  Here is the apache log 
> (clicked on conn)
> 
> 128.230.49.190 - - [08/Feb/2005:10:21:10 -0500] "GET 
> /hobbit-cgi/hobbitcolumn.sh?conn HTTP/1.1" 200 86 
> "http://helpme.syr.edu/hobbit/SIS/SIS-Unix/SIS-Unix.html";

> and the hobbitcolum.sh file
> #!/bin/sh
> 
> QUERY_STRING="key=$QUERY_STRING&db=columndoc.csv"  exec 
> /usr/local/hobbit/server/bin/bb-csvinfo.cgi 
> --env=/usr/local/hobbit/server/etc/hobbitserver.cfg --color=purple 
> --hffile=columndoc