CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Ascii format and 500 server error

 



sergezb
Deleted

Mar 20, 2000, 6:03 PM

Post #1 of 4 (774 views)
Ascii format and 500 server error Can't Post

Hi,

I am brand new to apache and especially to perl. I am running apache and perl on a windows nt server. I have download a script called searchem.pl. However, when I try to run it, I get a http 500 error. Based on reading other posts I might not be uploading the script in ASCII format. Unfortunately, I don't know how to do that. Can someone explain?

Thank you,

SergeZb


Cure
User

Mar 20, 2000, 6:16 PM

Post #2 of 4 (774 views)
Re: Ascii format and 500 server error [In reply to] Can't Post

Hi

On your ftp program there a button for ascii and binary and a button for both.

just click on the ascii button then upload your script.

If your still getting 500 errors after you upload it in ascii mode: Then post your code.


Cure


sergezb
Deleted

Mar 20, 2000, 6:43 PM

Post #3 of 4 (774 views)
Re: Ascii format and 500 server error [In reply to] Can't Post

I am changing the script extension on this file from .cgi to .pl. Then when I'm calling it I am pointing to "/cgi-bin/searchem.pl". Does this sound right?
Thanks,
Serge Z.


Cure
User

Mar 20, 2000, 7:04 PM

Post #4 of 4 (774 views)
Re: Ascii format and 500 server error [In reply to] Can't Post

Hi

Yes that sounds right. Apache for Win32 platform runs there cgi(s) with the extension .pl, but you can go into your config file and make it so it will also run your cgi(s) with the extension .cgi

I know all about Apache for windows, so if you need help with that then just ask.

If your still gettting 500 errors let me see your code.

If this is your computer were talking about then you dont have to upload it because your already at your computer.


Cure


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives