Hi There,

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:

[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
My server is configured for perl and cgi outside the cgi-bin directory!

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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.