At 13:12 29.07.2002 +0530, you wrote:
> >1.) apache running in the cygwin environment. That gave me the >following > >error message > >Can't open perl script "/var/www/htdocs/admin.pl": No such file or > >directory > > [Sat Jul 27 23:17:40 2002] [error] [client 134.169.168.10] Premature >end >of > >script headers: /var/www/htdocs/admin.pl > >I have tried the above option but without success. So Please work on >second option. I have successfully installed sql-ledger on win2k with >second option. > > > > > >2.) apache for win 32. Then I get this error > > [Sun Jul 28 10:23:10 2002] [error] [client 134.169.168.10] couldn't >spawn > >child process: c:/programme/apache group/apache/htdocs/admin.pl > > >Just check if you have done the following: > > >untar sql-ledger >fix front-end scripts path handling issue (change the shebang >#!/usr/bin/perl to c:/perl/bin/perl.exe) >edit bin/mozilla/login.pl and remove the hashmarks from the two lines >after ># for Windows, OS/2 uncomment the next line > # exec "c:/perl/bin/perl.exe", "menu.pl $argv"; > >edit SL/Form.pm and remove the hashmarks > # exec "c:/perl/bin/perl.exe", "$script $argv"; > >Change c:/perl/bin/perl.exe to where you have your binary installed > > >copy login.pl to admin.pl >copy am.pl to <ap.pl, ar.pl, ca.pl, ct.pl, gl.pl, ic.pl, ir.pl, is.pl, >menu.pl, oe.pl, rp.pl> > > Did this. Still had some errors. >If still some errors in admin.pl then do the following: > >Edit admin.pl and replace the below two lines: >#$pos = rindex $0, '/'; >#$script = substr($0, $pos + 1); > >With these: > >$0 =~ tr/\\/\//; >$pos = rindex $0, '/'; >$script = substr($0, $pos + 1); > Did this. Everything works now. :) >Hope it would be done. :) > > >Regards, >saurabh Thanks a lot. I would have never figured it out by myself. Ciao, Philip -- LINET Services Linux im Intra- und InterNet Rebenring 33 Tel.: 0531-280 191 71 38106 Braunschweig Fax: 0531-280 191 72 http://www.linet-services.de mailto:[EMAIL PROTECTED] ------------------------------------------------------- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=31 ------------------------------------------------------- (un)subscribe: http://lists.sourceforge.net/lists/listinfo/sql-ledger-users Archive: http://www.mail-archive.com/[email protected]/

