in reply to Re: Why does this download the script file instead of displaying the results?
in thread Why does this download the script file instead of displaying the results?

Thank you very much for your reply. I just figured out what was going on. And, to answer your questions regarding registering perl with Apache and associating the .pl and .cgi extensions, yes they had to be associated with the perl executable. But, what I found was almost too blatant and comical at the same time I am busting up laughing still! The path and info in the script were all correct. However, the error was in the .EXE file that was called up. I did not know there was a difference between perl.exe and perl5.10.1.exe. Once I pointed the script at the perl5.10.1.exe instead of just perl.exe, everything works just like it should have from the begining. You can check out the page below to see what I have been pulling my hair out to get to work. Oh, PS, eventually, I will be migrating to a Linux box, but since I can get Windows up and running faster and I was getting frustrated with configuration issues on setup with Linux due to my STEEP learning curve. But I do like the security of Linux/Unix better than Windows. But, like I said, my web host went tits up (not the first one to do that to me) I decided to do my own and Windows provided the quickest route while I learned Linux.


Anyway, here is what the script does:


http://node3d.servehttp.com/kwrgb.cgi



Thanks again! Scott
  • Comment on Re^2: Why does this download the script file instead of displaying the results?