[cgiwrap-users] (no subject)
Brought to you by:
nneul
From: Tom C. <tom...@op...> - 2002-11-23 23:38:52
|
I have a cobalt raq 4 server which is has cgiwrap built in. My machine was hacked not long ago and I had to reformat it and rebuild from scratch. Now none of the cgi scripts work on my server. Everything else seems fine though. I have tested all the scripts from command line and they are all fine. I have mailed the cobalt list and got about 20 replies about check permissions, check for ^M in the files, check for ownership etc, etc and nothing is helping. For testing purposes I build a simple script like this: #!/bin/sh echo Content-type: text/plain echo printenv it works fine from command line but when I run it through cgiwrapd it returns me: """ Initializing Logging Redirecting STDERR to STDOUT Cobalt RaQ virtual site CGI wrapper Setting SIGXCPU to default behaviour Environment Variables: QUERY_STRING: '' SCRIPT_NAME: '/cgiwrapDir/cgiwrapd' SCRIPT_FILENAME: '/usr/cgiwrap/cgiwrapd' """ Which tells me nothing at all. My question is how do I debug cgiwrap? obviously cgiwrap is not executing the script, but why? I assume that the script violates some rule set in cgiwrap, but how do I find out which one? are there any logs? or is this just a trial and error guessing process? Because cgiwrap is precompiled in the raq os install I dont know how it was configured, so I dont even know what rules are set, so how do I interrogate cgiwrap to see how it was copiled? I have spent 3 days on this one script so far and I really dont feel like more guessing. Any help appreciated, Tom |