I am looking for a solution to the following problem.
I have installed a ledger program on my server in the cgi_bin directory because it is a full perl program. Unfortunatly the CGI-BIN directory doesn't show graphics and css styles.
Now I have moved all the files to a directory in my httpdocs directory and when I try to call the script I get a Internal Server Error on my screen.
The error log gives the following error:
My server is configured for perl and cgi outside the cgi-bin directory![Sun Sep 23 17:44:50 2007] [error] Can't locate bin/mozilla/login.pl i +n @INC (@INC contains: /usr/lib/perl5/5.8.5/i386-linux-thread-multi / +usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread- +multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib +/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_pe +rl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386- +linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-m +ulti /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /u +sr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/ +perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/s +ite_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /us +r/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/ +vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/ +5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-l +inux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread- +multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8 +.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 +/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /us +r/lib/perl5/vendor_perl . /etc/httpd/ /etc/httpd/lib/perl) at /var/ww +w/vhosts/domain.tld/subdomains/login/httpdocs/sql-ledger/login.pl lin +e 113.\n
I found several possible solutions like this one: http://kb.swsoft.com/en/1746
But with no luck!!
My server is operating with Plesk 8.2, Apache 2.x and Perl 5.8.5
Is there anyone who can help me!
Best Regards,
Chris
In reply to Error Can't locate bin/mozilla/login.pl in @INC by chrrutgers
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |