Apache & Perl

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Frank Mandato
Date:  
Subject: Apache & Perl
I haven't played around Apache lately but here goes:

the action field must be something like:
http://hostname.com/var/www/cgi-bin/scriptname.cgi,
since the script is called from a website it must be a link to another
website, in this case your script.

also make sure that your script is in a cgi-bin directory that has the
correct permissions.

FrankM

On Wed, 2002-09-04 at 15:40, Jim wrote:
>
> I am playing with Apache and Perl on my Mandrake 8.2 box. I have a llittle
> script that I put in /var/www/cgi-bin. It has permissions of rwxr-xr-x and
> is owned by apache:apache. When I view the page that calls the script, it
> looks fine, but when I click the button that calls the script, I get a file
> not found - even if I specify the full path (i.e. /var/www/cgi/scriptname) in
> the action field of the form.
>
> Anyone know what I am doing wrong?
>
> - --
> Jim
>
> Freedom is worth protecting
>
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>