Mandriva Expert
The place where your Mandriva Linux system finds support

Perl et Browser internet

+/- details
User laurentmars
Incident Number 8026
Date 2001/12/24 15:58
Status Incident closed
Paid No

Product 8.1
Architecture x86_32
Scope Web Server

Products owned
Community Support question - to convert into a paid question, click here

Lines in bold below have not yet been seen by the customer - those in blue are from the customer

Username : Date : Action : Comments [ close all ]    
 
laurentmars : 24/12/01 03:58 PM : Incident created
-   web browser and perl

i've installed perl, it seems to work properly when i launch a gnome terminal, but when i try to launch by any browser, i've got an internal error.

(my web server seems to work properly)

Someone can help me to resolve this problem?

thanks

 
Linegod_7611 : 24/12/01 09:52 PM : Reply received
-   Do you have 'mod_perl-common' installed ('rpm -qa|grep mod_')?
What is the error?

 
laurentmars : 26/12/01 12:33 PM : More info provided
-   I think it use the bad interpreter (must use perl instead of exec?) Where must i configure it?

[Wed Dec 26 12:17:49 2001] [error] (13)Permission denied: exec of /var/www/cgi-bin/example1.pl failed
[Wed Dec 26 12:17:50 2001] [error] [client 127.0.0.1] Premature end of script headers: /var/www/cgi-bin/example1.pl

 
Linegod_7611 : 27/12/01 04:34 AM : Reply received
-   DO YOU HAVE mod_perl-common INSTALLED?

It looks like the permissions on the script are wrong anyway.

 
laurentmars : 27/12/01 09:59 PM : More info provided
-   yes, mod_perl-common is installed and i've copied the perl script into /var/www/cgi-bin and chmod 755 the script, but it don't seems to work

is it normal the "exec" command instead of "perl"?

thanks

 
Linegod_7611 : 28/12/01 07:16 PM : Reply received
-   'exec' is just execution. The part you should be looking at is 'Permission denied:' which is saying that your apache cannot execute the script. You should
ensure that apache has permissions to execute scripts in /var/www/cgi-bin

 
laurentmars : 08/01/02 10:27 PM : More info provided
-   i'll check-it

thanks!!!

;-)

 
Linegod_7611 : 24/02/02 07:55 PM : Reply received
-   If this question is complete, could you please remember to close it.

 
laurentmars : 07/03/02 06:11 PM : Incident closed
-  



This Incident is closed. It can not be edited anymore. You can create a new one by signing up/logging in your Mandriva Expert account.

  Mandriva  |  Contact  |  Legal  |  Privacy  |  Careers