Apache - Incorrect mime type for 500 internal server error

2006-05-24 Thread Ian Batterbee
I'm seeing a very strange problem with cgi scripts after migrating to new hardware and from apache 1.3.x to 2.2.2 While 404, 403 etc errors are fine, '500 Internal server error' errors are now sent as text/plain instead of as text/html. This means that instead of a nicely

Re: referer throwing Internal Server Error

2006-03-13 Thread David Dorward
On Mon, Mar 13, 2006 at 07:30:45PM -0600, David Gilden wrote: > Here is my little script and it throwing a Internal Server Error Try running it from the command line: Software error: Missing right curly or square bracket at - line 13, at end of line syntax error at - line 13, at

Re: referer throwing Internal Server Error

2006-03-13 Thread Sara
m|i) { print "Your not authorized: Bad Referer: $referer \n"; } else { print "all cool: $referer \n"; } Sara. - Original Message - From: "David Gilden" <[EMAIL PROTECTED]> To: Sent: Tuesday, March 14, 2006 6:30 AM Subject: referer throwing Internal

referer throwing Internal Server Error

2006-03-13 Thread David Gilden
Greetings from Cow Tow! Here is my little script and it throwing a Internal Server Error #!/usr/bin/perl use CGI qw/:standard/; use CGI::Carp qw(fatalsToBrowser); use POSIX 'strftime'; use strict; my $referer = referer; if ($referer !~ m|^https?://www\.coraconnect

RE: Internal server error

2002-04-04 Thread David Gray
> I'm having problems with the old "Internal Server Error" > issue. I know that this is generally due to permissions. I > have used chmod go+rx -R *, but no joy. The html now works > but not the cgi. Thoughts? Try inserting the line use CGI::Carp (fatalsToBrowser)

Internal server error

2002-04-04 Thread Adam Bartley
I'm having problems with the old "Internal Server Error" issue. I know that this is generally due to permissions. I have used chmod go+rx -R *, but no joy. The html now works but not the cgi. Thoughts? Thanks, Adam -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

RE: 'Internal Server Error' with module

2002-02-16 Thread Al Hospers
> i decided to put the "use CGI::Carp" declaration before the "use" > declaration for my module, and sure enough the browser fed me > information. that's good. > it claims that the module wasn't found in any directory in > @INC, but i could > have sworn that "." is included. is there any reaso

Re: 'Internal Server Error' with module

2002-02-16 Thread W P
best solution. so i created a little module. i have tested it via telnet, > and it works fine, but when i try to 'use' it in scripts run via the > web server i get an "Internal Server Error." I even set the permissions > for the script to 4755 hoping that

'Internal Server Error' with module

2002-02-16 Thread W P
ts run via the web server i get an "Internal Server Error." I even set the permissions for the script to 4755 hoping that it was a permissions issue, but that didn't work. then i used CGI::Carp qw( fatalsToBrowser ), and it still wouldn't tell me anything. i've request

Re: 500 Internal Server Error

2001-08-02 Thread Ryan Davis
There actually is a setting to use the shebang line with Apache for Win32 and activestate. There's not much point to it, but since I test CGIs at home, and my server is unix, it lessens the transition. Of course, half the things I do can't run on Windows, but it works for the basics. (some of th

RE: Dreaded Internal Server Error

2001-07-18 Thread Rob Yale
ECTED] Subject: Re: Dreaded Internal Server Error Hi, When a CGI script runs from the command line but not from the web server, a common culprit is permissions. Be sure that anything the script does, like create files, write to files, read files, execute commands, etc, are allowed for the web s

Re: Dreaded Internal Server Error

2001-07-18 Thread Lisa Nyman
Hi, When a CGI script runs from the command line but not from the web server, a common culprit is permissions. Be sure that anything the script does, like create files, write to files, read files, execute commands, etc, are allowed for the web server user and group. Lisa Wolfisch Nyman <[EMAIL

Re: Dreaded Internal Server Error

2001-07-17 Thread Jeff Yoak
oblems. First of I'll, I should tell you >that the error I get is the dreaded "Internal Server Error" message. I've >also looked in the logs, and they're further explicated as follows: > >[Tue Jul 17 00:42:16 2001] [error] (2)No such file or directory: exec of

Dreaded Internal Server Error

2001-07-17 Thread Rob Yale
Hi, I'm trying to get a cgi program working (I didn't write it) and I'm experiencing some mysterious problems. First of I'll, I should tell you that the error I get is the dreaded "Internal Server Error" message. I've also looked in the logs, and they'

Re: 500 Internal Server Error

2001-06-27 Thread Mark Bergeron
I really might help if you share a little code with the group. Just paste some into your email. Mark Bergeron -Original Message- From: "Paul Burkett"<[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Date: Mon Jun 25 12:59:08 PDT 2001 Subject: 500 Internal Server Error >Eve

500 Internal Server Error

2001-06-26 Thread Paul Burkett
Everything I try I get the same error! I've tried using 'use CGI' but still nothing. I found a command that works it's called "HTTP Command 204" but how do I implement this into the script? And where do I put the "Content:" line in?