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

Re: [cobalt-users] CGI on a Qube 3



I was under the impression if you had a ScriptAlias it would specify where the cgi files were.  Mine says they should be put in /usr/local/cgi-bin/.  I've put them under /home/groups/home/web/, /home/groups/home/web/cgi-bin/ and I don't know where else but nothing seems to work.  Is there some other configuration I need, .htaccess, access.conf,??  Is the Action parameter correct?  

>>> gwaugh@xxxxxxxxxxxxxxxxxxxxxxx 06/06/02 11:21AM >>>
On Thursday 06 June 2002 12:47 pm, Jack Morash wrote:
> 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 Qube uses cgiwrap put your cgi-bin directories under /web/

> 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. "

The URL above is looking in /home/sits/home/web/cgi-bin/  for the file.
Is that whrer the file is.

> Is there any hope
>

Yes, keep trying, nothing can defeat persistance

-- 
Gerald Waugh 
http://www.frontstreetnetworks.com :: Phone. [011] 203.785.0699
Front Street Networks LLC | SOHO Networks & Web Site Hosting
229 Front Street, Ste. #C, New Haven, CT, 06513-3203 United States

_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx 
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users