Maybe too simple, but make sure the script headers are correct, that they *do* reference /usr/bin/perl? -Adam Thompson
-----Original Message----- From: Joseph <syscon...@gmail.com> Date: Thu, 28 Oct 2010 21:23:40 To: <ledger-smb-users@lists.sourceforge.net> Reply-To: ledger-smb-users@lists.sourceforge.net Subject: [Ledger-smb-users] firefox doesn't know what to do with pl scripts I'm still running sql-ledger (waiting for ver. 1.3) but I have a problem with running pl scripts after upgrade. login.pl script works but all other "pl" scripts are not executing; apache doesn't know what to do with them. It tries to open them as a text file. Permission seems to be OK. -rwxr-xr-x 1 apache apache 5342 Nov 9 2009 ar.pl -rwxr-xr-x 1 apache apache 5342 Nov 9 2009 is.pl -rwxr-xr-x 1 apache apache 5342 Nov 9 2009 jc.pl drwxrwxr-x 59 apache apache 4096 Apr 1 2010 locale -rwxrwxr-x 1 apache apache 2731 Apr 13 2009 login.pl ... apache has correct setting: Alias /sql-ledger/ /usr/local/sql-ledger/ <Directory /usr/local/sql-ledger> AddHandler cgi-script .pl AddDefaultCharset On AllowOverride All Options ExecCGI Includes FollowSymlinks Order Allow,Deny Allow from All </Directory> <Directory /usr/local/sql-ledger/users> Order Deny,Allow Deny from All </Directory> Anybody, can give me a hint why perl is not executing the scripts. I've made my own test script, place it on the server and it works. #!/usr/bin/perl print "Content-type: text/html\n\n"; print "<html><head>"; print "<title>CGI Test</title>"; print "</head>"; print "<body><h1>I just wrote a web page using Perl!</h1>"; print "</body></html>"; so I can to figure it out why other scripts are not working. -- Joseph ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Ledger-smb-users mailing list Ledger-smb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ledger-smb-users ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Ledger-smb-users mailing list Ledger-smb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ledger-smb-users