LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-30-2003, 08:07 PM   #1
fefeh
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake Linux 9.1
Posts: 1

Rep: Reputation: 0
Apache2 CGI-Perl will not read files


I tried searching for a solution, but couldn't find anything.

I have a script that I know works because several people are running it successfully.

If I run it from the command line, the script will read the config file, but if I run it from Apache2, it doesn't read it. It also will not pass any variables.

I think it worked when I first downloaded it because I got some output in a logfile, but I updated some CPAN perl modules, and now it doesn't work.

I know I updated CGI.pm, and believe this is where my problem lies, but I don't know how to fix it.
I also tried to update mod-perl, but it was unsuccessful and didn't test or install.


There are currently 3 CGI.pm files on my computer. How do I know which one it's using?
Why is there a 5.6.1 directory when I'm running 5.8.0?

[root@server /]# ls -la /usr/lib/perl5/5.8.0/CGI.pm
-rw-r--r-- 1 root root 225773 Jun 17 18:31 /usr/lib/perl5/5.8.0/CGI
.pm
[root@server /]# ls -la /usr/lib/perl5/vendor_perl/5.8.0/CGI.pm
-rw-r--r-- 1 root root 210190 Apr 10 2002 /usr/lib/perl5/vendor_pe
rl/5.8.0/CGI.pm
[root@server /]# ls -la /opt/sysinfo/perl/lib/5.6.1/CGI.pm
-r-xr-xr-x 1 root bin 208050 Jun 26 16:07 /opt/sysinfo/perl/lib/5.
6.1/CGI.pm*


Thanks in advance for any suggestions!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl CGI:Can't locate CGI.pm supermyself Programming 13 09-10-2007 06:22 AM
Apache2 cannot execute cgi files on a USB drive bhoult Linux - Software 2 07-11-2005 10:19 AM
cgi perl : I cant get perl to append my html file... the_y_man Programming 3 03-22-2004 05:07 AM
CGI perl links to files in Dir ocularbob Programming 3 04-29-2003 08:40 AM
Problem with perl and cgi files JSP Linux - General 1 03-22-2002 08:01 AM


All times are GMT -5. The time now is 07:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration