clickable column headings
list Christopher T. Beers
The column headings are clickable but go to page not found errors? Hobbit 4.0 RC1. Chris
list Henrik Størner
hi Chris,
▸
On Sat, Feb 05, 2005 at 01:41:46AM -0500, Christopher T. Beers wrote:The column headings are clickable but go to page not found errors? Hobbit 4.0 RC1.
You've probably missed getting this setting into your hobbitserver.cfg file - it was added in beta-4, but you may not have thought about it: COLUMNDOCURL="$CGIBINURL/hobbitcolumn.sh?%s" Henrik
list Christopher T. Beers
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"; "Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040206 Firefox/0.8" 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 Chris
▸
--On February 7, 2005 10:45:26 PM +0100 Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:
| You've probably missed getting this setting into your hobbitserver.cfg
| file - it was added in beta-4, but you may not have thought about it:
|
| COLUMNDOCURL="$CGIBINURL/hobbitcolumn.sh?%s"
list Henrik Størner
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
list Christopher T. Beers
Works as expected now. As usual you are a genius. Solaris 8 on sparc 64 bit. Chris --On February 9, 2005 10:26:56 PM +0100 Henrik Stoerner <user-ce4a2c883f75@xymon.invalid>
▸
wrote:
| 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: