Apache & Perl

Frank Mandato plug-discuss@lists.plug.phoenix.az.us
04 Sep 2002 09:15:07 +0000


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:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 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
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 6.5.8
> 
> iQA/AwUBPXYpaisk3ywszI1FEQJ+oACfUaWcHggNpy+VM4IX6jZY3EE0mKoAn2AY
> mwIqqFYhJWvdr3ZwpWxqXjfx
> =vBp/
> -----END PGP SIGNATURE-----
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> 
>