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

RE: [cobalt-users] [RaQ4] Running a CGI as a UserName not httpd



At 11:26 PM 29/07/02 -0400, you wrote:
> -rw-rw----   1 httpd    site2          15 Jul 26 14:09 FIREX.cursor
> -rw-rw----   1 httpd    site2          27 Jul 26 14:09 FIREX.status
> -rw-r--r--   1 httpd    site2          15 Jul 26 14:00 FORKLIFT.cursor
> -rw-r--r--   1 httpd    site2          27 Jul 26 14:00 FORKLIFT.status
> -rw-r--r--   1 httpd    site2          15 Jul 26 13:21 RESPI.cursor
> -rw-r--r--   1 httpd    site2          27 Jul 26 13:21 RESPI.status
> -rw-r--r--   1 httpd    site2          15 Jul 26 14:00 WHMIS.cursor
> -rw-r--r--   1 httpd    site2          27 Jul 26 13:22 WHMIS.status

Isn't there a function of the script creating these files and CHOWN them
to httpd?

ok, this is where I have gotten on my own here but I am lost again...

From a browser, this works:
http://test.canpool.com/cgiwrapDir/cgiwrap/cgi/script.cgi

This...
http://test.canpool.com/cgiwrapDir/cgiwrap/cgi/script

Causes:
  CgiWrap Error...
  Execution of (/home/sites/site18/web/cgi/tellmeall)
  is not permitted for the following reason:
  Script file not found.

The path is correct (/home/sites/site18/web/cgi/tellmeall)

Using this breaks the webserver for all sites:
  RewriteRule ^(.*)/cgi/(.*) $1/cgiwrapDir/cgiwrap/cgi/$2 ...
  ... [T=application/x-http-cgi]

Suggestions??
- Bill





---------------------------------
William J.A. Brillinger
Precision Design Co.

E-Mail:   mailto:billy@xxxxxxxxxx
Web site: http://www.pdcweb.net