From: Step <st...@ya...> - 2007-06-13 09:23:25
|
I moved the sql-ledger, fixed apache the conf files and restarted the apache2. Still the same problem: Can't locate bin/mozilla/login.pl in @INC (@INC contains: /home/httpd/perl /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl . /usr/lib/apache2) at /usr/local/sql-ledger/login.pl line 112.\n And the login.pl file: ... if ($form{terminal}) { $form{terminal} =~ s/%2f/\//gi; $form{terminal} =~ s/\.\.\///g; $ARGV[0] = "path=bin/$form{terminal}&script=$script"; map { $ARGV[0] .= "&${_}=$form{$_}" } keys %form; (line 112) require "bin/$form{terminal}/$script"; } else { print "Content-Type: text/html\n\n" if $ENV{HTTP_USER_AGENT}; print qq|\nUnknown terminal\n|; } } --- "Jerome J. Auza" <jer...@bo...> wrote: > Step, > > Check if you are using apache Alias directive. I > think SQL-Ledger > should be run under an Alias directive rather than > as a directory under > /htdocs. Also don't forget to restart apache if you > already have the > directive. > > This is what I have in my conf/httpd.conf file: > > Alias /sql-ledger /usr/local/apps/sql-ledger/ > <Directory /usr/local/apps/sql-ledger> > AllowOverride All > AddHandler cgi-script .pl > AddDefaultCharset On > Options ExecCGI Includes FollowSymlinks > Order Allow,Deny > Allow from All > </Directory> > > <Directory /usr/apps/local/sql-ledger/users> > Order Deny,Allow > Deny from All > </Directory> > > > > > http://www.techsier.com - Blog > http://www.boholweb.com - Bohol tourism website > http://www.auza.net - enabling e-services in Bohol > > > > Step wrote: > > >Perl version in 5.8.8 > >All other Perl scripts/applications run OK > > > > > > > >>... just use cgi. > >> > >> > > > >Can you please elaborate. > > > > > > > >--- Mark Bucciarelli <ma...@hu...> > >wrote: > > > > > > > >>On Jun 11, 2007, at 12:15, Step wrote: > >> > >> > >> > >>>mod_perl 2.0.3-r1 > >>> > >>> > >>Are you trying to run under mod_perl? If so, just > >>use cgi. > >> > >>m > >> > >> > >> > >> > >------------------------------------------------------------------------- > > > > > >>This SF.net email is sponsored by DB2 Express > >>Download DB2 Express C - the FREE version of DB2 > >>express and take > >>control of your XML. No limits. Just data. Click > to > >>get it now. > >>http://sourceforge.net/powerbar/db2/ > >>_______________________________________________ > >>sql-ledger-users mailing list > >>sql...@li... > >> > >> > >> > >https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > > > > > > > > > > > > > > > > > >____________________________________________________________________________________ > >Need a vacation? Get great deals > >to amazing places on Yahoo! Travel. > >http://travel.yahoo.com/ > > > >------------------------------------------------------------------------- > >This SF.net email is sponsored by DB2 Express > >Download DB2 Express C - the FREE version of DB2 > express and take > >control of your XML. No limits. Just data. Click to > get it now. > >http://sourceforge.net/powerbar/db2/ > >_______________________________________________ > >sql-ledger-users mailing list > >sql...@li... > >https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > > > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 > express and take > control of your XML. No limits. Just data. Click to > get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > sql-ledger-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users > ____________________________________________________________________________________ Got a little couch potato? Check out fun summer activities for kids. http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz |