|
From: Ross G. <ro...@gr...> - 2005-07-02 16:28:08
|
SQL-LEDGER v2.4.12 I followed the installation instructions, but when I try to hit http://hostdomain.com/sql-ledger, Apache throws an error. From httpd-error.log: Can't locate bin/mozilla/login.pl in @INC (@INC contains: /usr/local/sql-ledger /usr/local/lib/perl5/site_perl/5.8.6/mach /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl=20 /usr/local/lib/perl5/5.8.6/BSDPAN /usr/local/lib/perl5/5.8.6/mach=20 /usr/local/lib/perl5/5.8.6 .) at /usr/local/sql-ledger/login.pl line 121. [Fri Jul 1 16:28:05 2005] [error] [client 24.215.138.112] Premature end=20 of script headers: /usr/local/sql-ledger/login.pl I researched this problem on Google and in the list archives and came up=20 with this suggestion: ADD use lib '/usr/local/sql-ledger'; to am.pl and login.pl As you can see from the log, my installation path (/usr/local/sql-ledger) is showing up in @INC. MY sql-ledger-httpd.conf: Alias /sql-ledger/ /usr/local/sql-ledger/ <Directory /usr/local/sql-ledger> AllowOverride All Options ExecCGI Includes FollowSymlinks AddHandler cgi-script .pl AddDefaultCharset On Order Allow,Deny Allow from All </Directory> <Directory /usr/local/sql-ledger/users> Order Deny,Allow Deny from All </Directory> Any ideas would be greatly appreciated. Ross Gohlke |