>
>
> 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
> working with says the cgi-bin is executable, and there are
> other scripts there that run besides the fact that the
Then if you added a proper
print "Content-type: text/html\n\n";
And your isp says the script is executable then
what do the error logs say?
What does your "html header" look like?
If it runs fine from the comand line but not in a browser then you do not have
A proper header, the rror log probably says sopmething like
"Malformed header form script"
Use the content type bit I have above, exaclty as I have it ( ie double quotes not
single )
Or use the CGI module to do it. Whatever the case you either don't have
That header or it wrong.
> permissions seem setup correctly. Please let me know if any
> of you have any other hints. I'd like to resolve this
> problem soon if at all possible.
Don't we all? ;D
>
> thanks
>
>
> "Sam Mauntz" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]> ...
> > To all
> you perl gurus out there...
> > I've got this
> file named schedule.pl...in the interest of
> > troubleshooting my problem, I've thinned my script to the following
> > code...
> >
> > #!/usr/bin/perl
> >
> >
> > print "<HTML>\n";
> > print "<HEAD>\n";
> > print "<TITLE>Perl Test Page</TITLE>\n";
> > print "</HEAD>\n";
> > print "<BODY>\n";
> > print "Perl Test Page\n";
> > print "</BODY>\n";
> > print "</HTML>\n";
> >
> > Here's a printout of the perms on the file...
> >
> > lsh110:~/www/cgi-bin$ ls -l schedule.pl
> > -rwxrwxr-x 1 portaven portaven 212 Feb 3 02:39 schedule.pl*
> >
> > and I know the perl path is correct because the file runs
> correctly at
> > the command line if I type perl schedule.pl
> >
> > My problem is that when I try to run it from a browser I
> get a 500 web
> > error message. Does anyone have any ideas what might be
> causing this?
> >
> >
>
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]