|
From: Gerard K. <ge...@sh...> - 2005-07-02 22:58:08
|
On Sat, 02 Jul 2005 18:36:33 +0200, Ross Gohlke <ro...@gr...> wrote: > 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 > /usr/local/lib/perl5/5.8.6/BSDPAN /usr/local/lib/perl5/5.8.6/mach > /usr/local/lib/perl5/5.8.6 .) at /usr/local/sql-ledger/login.pl line 12= 1. > [Fri Jul 1 16:28:05 2005] [error] [client 24.215.138.112] Premature en= d > of script headers: /usr/local/sql-ledger/login.pl > > I researched this problem on Google and in the list archives and came u= p > 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> > > Hi, The only thing I can see that might be causing this, is in you =20 sql-ledger-httpd.conf The first line should read: Alias /sql-ledger /usr/local/sql-ledger/ The extra / at the end breaks it on my side, but not with the same error.= .. Hope it helps, gerard |