Thanx everyone, I figured out my problem...it turns out that there was a
space just before the shebang that was causing problems executing the script
in the first place. I'd like to thank you guys for putting me on the right
track.
Two heads are better than one
"Sam Mauntz" <[EMAIL PROTECTED]>
on Tue, 11 Feb 2003 06:59:53 GMT, [EMAIL PROTECTED] (Samuel Mauntz)
wrote:
> the error log on the web server spits out this line every time I
> try to access my script via a browser
>
> 63.201.89.246 - - [11/Feb/2003:00:42:48 -0600] "GET
> /cgi-bin/schedule.pl HTTP/1.1" 500 546
That line is not
Here's what my modified code looks like right now, I've taken anything out
that I thought might cause trouble with the server, and just did some basic
prints.
-
#!/usr/bin/perl
print "Content-type:
Samuel Mauntz wrote:
> Thanks George, I thought that was something I had in earlier that I had
> accidentally deleted...I took your advice though and stuck that html header
> in there after the shebang...
Now try printing the content header BEFORE the shebang. Consider--when you are
accessing
>
>
> Thanks George, I thought that was something I had in earlier
> that I had accidentally deleted...I took your advice though
> and stuck that html header in there after the shebang and
> just before I printed out any html. Unfortunately your
> suggestion didn't fix the problem. The h
Thanks George, I thought that was something I had in earlier that I had
accidentally deleted...I took your advice though and stuck that html header
in there after the shebang and just before I printed out any html.
Unfortunately your suggestion didn't fix the problem. The hosting company
I'm work
On Monday, February 3, 2003, at 02:13 PM, Sam Mauntz wrote:
#!/usr/bin/perl
print "\n";
print "\n";
print "Perl Test Page\n";
print "\n";
print "\n";
print "Perl Test Page\n";
print "\n";
print "\n";
My problem is that when I try to run it from a browser I get a 500 web
error m