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

[cobalt-users] CGI on a Qube 3



Not getting any help from the Support Forum, hopefully someone here can help.  I'm trying to set up,
and get working, CGI on the QUBE 3.  I believe the problem I have is a rights issue but not sure 
where it is.  I've tried to set up using both straight CGI and CGI Wrapper.  I've gone through the 
knowledge base and whatever else I could find but can't get it to work. Something is missing but 
not sure what.  Right now I'm using the wrapper version.

Here is what I have:
The httpd log files indicate the suexec program is enabled - "suEXEC mechanism enabled 
(wrapper: /usr/sbin/suexec)" 

Here is what I put in the srm.conf file: 
         ScriptAlias /cgi-bin/ /usr/local/cgi-bin/
         AddHandler cgi-wrapper .cgi 
         AddHandler cgi-wrapper .pl 
         Action cgi-wrapper /usr/local/cgi-bin/ 

The cgi-bin directory and files are owned by httpd:home and is set to 775. The ps -ef command
indicates httpd is the owner. Through the admin page I have everyone can run cgi. 

Whenever I try and run the script (httpd://10.7.0.124/cgi-bin/environ.cgi) I get: 
              "FILE NOT FOUND The requested URL was not found on this server. "

Is there any hope

Jack Morash
Network Engineer
Berryessa Union School District
(408) 923-1821
jack.morash@xxxxxxxxxxxxxxxxxxx