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

Re: [cobalt-users] CGI trouble RaQ4



check if the ffg line exists in the /etc/httpd/conf/httpd.conf file. each
virtual site must have a paragraph similar to this. replace the
"[site-directory]" and "[cgi-directory]" with the appropiate directory
paths.
ScriptAlias /cgi-bin/ /home/sites/[site-directory]/[cgi-directory]/
    <Directory "/home/sites/[site-directory]/[cgi-directory]/">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
    </Directory>

AddHandler cgi-script .cgi
AddHandler cgi-script .pl

also.....if the "cgi-script" part does not work try replacing it with
"cgi-wrapper".
it worked for me! this obviously expects the cgi scripts to be set to
executable ( done using "chmod 755 *.cgi").
hope it helps. :-).

rgds
Pravit Lochan

> on 10/22/02 7:15 PM, Ed48 stated:
>
>> Thanks for replying Ian.  I guess I am not sure what you mean.  I
>> placed a check mark on the
>> site settings screen to enable CGI scripts to run.  The script is in
>> the web root
>> directory along with all of the other files.  Can you explain more?
>>
>> Thank you!
>> Ed
>>
>>> On 22 Oct 2002 at 5:09, Ed48 wrote:
>>
>>> No matter what site or user CGI scripting seems to not work.
>>> I did check the box for enabeling CGI scripting.
>>> Here is the test script and the result.
>>> Thank you in advance.
>>> Ed
>>
>>> <snip>
>>> On Tue, 22 Oct 2002 11:29:28 Ian Wrote:
>>
>>> Does the script have execute permissions ?
>>
>>> cd /path/to/script/
>>> chmod +x cgiscript.cgi
> Have you checked to make sure that you uploaded in ASCII and that the
> user you uploaded as is the owner now?? Loading them as admin/root is
> not the way.
> --
> Thanks!!
> Dave Thurman
> The Web Presence Group / www.webpresencegroup.net
> Listonly <at> webpresencegroup.net / Spam Block 8^Q
>
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users