Topic awaiting preservation: AGGHH!!! =( 405 Error!!!!!!1 (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: in your head |
posted 07-05-2002 12:48
I am about to go crazy over here!!!!! |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 07-05-2002 13:39
The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Inmate From: in your head |
posted 07-05-2002 19:17
sorry =) |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 07-05-2002 20:05
Apparently, you didn't install that script correctly. If you type address of the script directly in address bar (i.e. http://www.hometownusatitle.com/cgi-bin/order.pl ), and try to access it, you'll get complete script source, which means that script cannot be executed for some reason... |
Paranoid (IV) Inmate From: in your head |
posted 07-05-2002 20:08
so you think its a permissions fault on the cgi-bin directory? |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 07-05-2002 20:11 |
Paranoid (IV) Inmate From: in your head |
posted 07-05-2002 20:14
cool.. thanks Max... |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 07-05-2002 20:47
It's a windows box you sure perl is even installed? |
Paranoid (IV) Inmate From: in your head |
posted 07-05-2002 21:03
yes.. it is installed.... |
Paranoid (IV) Inmate From: California |
posted 07-05-2002 21:45
Hi Ducati, code: # Retrieve Date
code: # Retrieve Date
|
Paranoid (IV) Inmate From: in your head |
posted 07-05-2002 23:26
I thought Windows Server doesn't need schebang thing????? |
Paranoid (IV) Inmate From: California |
posted 07-05-2002 23:57
It really depends on how you have it set up and what www server you run. If you have .pl and .cgi files associated with the perl binary and you're running IIS then you shouldn't need it. Do you have other perl scripts running correctly on this server? Have you tried renaming the script to order.cgi? |
Paranoid (IV) Inmate From: in your head |
posted 07-06-2002 06:46
yup.. I tried both... cgi and pl |
Paranoid (IV) Inmate From: California |
posted 07-06-2002 07:37
I think you're on the right track. It downloads now instead of displaying the source code in the browser You need to fix your shebang line still. You have C:\Perl and it should be more like #!C:/perl. You also have a problem with one of your array defs. Look for this line (about line 105): @recipient_addresses = (molly@hometownusatitle.com); and change it to @recipient_addresses = ['molly\@hometownusatitle.com'];. That's all I had to do to get it working for me locally. There are LOTS of other problems with this particular script though, you might consider taking a look at a more secure alternative here: http://nms-cgi.sourceforge.net/ . This server is running IIS, correct? |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 07-06-2002 08:48
The script still doesn't work for me (source code is showed directly in web browser). |
Paranoid (IV) Inmate From: in your head |
posted 07-07-2002 13:03
Piper... I think its Apache under Windows machine... |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 07-07-2002 13:59
I've just checked www.hometownusatitle.com domain and it is running under MS IIS 4.0, so it's not Apache... |
Maniac (V) Mad Scientist From: 127 Halcyon Road, Marenia, Atlantis |
posted 07-07-2002 14:27
damn, I thought I was the only one who noticed the missing shebang line... |
Paranoid (IV) Inmate From: California |
posted 07-07-2002 21:18
I think Mr. Max hit the nail on the head, you need to contact your admin. I don't think IIS is properly configured to run perl scripts on this server. As long as you take care of the errors that were poited out, this script should run without any problems. |