httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brock Palen <bro...@umich.edu>
Subject Re: [users@httpd] Perl cgi problem on rh9 apache 2.0
Date Sat, 15 Nov 2003 21:56:52 GMT
no the origanal script was AWstats.pl for taking stats, (currently use
webalizer)  but as for the test one hello.pl  that was copied and pasted right
out of the apache 2.0 documentation page,  pasted right into emacs so not
generated at all.
__________________________________________________
www.palen.serveftp.net
www.umsolar.com
brockp@umich.edu


Quoting Jack Lauman <jlauman@nwcascades.com>:

> Brock:
> 
> If you developed the script on winders and move it to RedHat
> you probably need to run 'dos2unix' against it to remove the
> <CR><LF>.  Be sure to reset permissons on the file afterwards.
> 
> In the past I've experienced the exact same error when moving
> between the two platforms.  Doing what I described above has
> always fixed it.
> 
> Jack
> 
> Brock Palen wrote:
> > 
> > ok so i didnt notice the error log level i set to low,  i now get this
> > 
> > [Sat Nov 15 16:35:33 2003] [error] [client 127.0.0.1] Premature end of
> script
> > headers: hello.pl
> > 
> > in debug,  Also yes i can run ./hello.pl at command line,  which perl did
> return
> > a differn perl exe than the one i was useing, this did not make a
> differnce
> > though.   Would it have anything to do with mod perl?
> > __________________________________________________
> > www.palen.serveftp.net
> > www.umsolar.com
> > brockp@umich.edu
> > 
> > Quoting Kyle Dent <kdent@seaglass.com>:
> > 
> > >
> > >
> > > On Fri, 14 Nov 2003, Brock Palen wrote:
> > >
> > > > nope, sory its not a space there.  So that is not it any other ideas?
> > >
> > > What does your error_log say?
> > >
> > > Kyle
> > >
> > > >
> > > > Quoting Kyle Dent <kdent@seaglass.com>:
> > > >
> > > > > On Fri, 14 Nov 2003, Brock Palen wrote:
> > > > >
> > > > > > first time running scripts on apache,  have im geting a 500
error. 
> i
> > > have
> > > > > set
> > > > > > all permitions to 755 and have been trying this script
> > > > > >
> > > > >
> > > > > >  #!/usr/bin/perl
> > > > > > print "Content-type: text/html\n\n";
> > > > > > print "Hello, World.";
> > > > >
> > > > > Do you really have a space in the first postion of the first
> > > > > line? If so, that's a problem. Otherwise, check your error_log.
> > > > > Yes, 755 is executable.
> > > > >
> > > > > Kyle
> > > > >
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > The official User-To-User support forum of the Apache HTTP Server
> > > Project.
> > > > > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > > > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > > >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > > > > For additional commands, e-mail: users-help@httpd.apache.org
> > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > The official User-To-User support forum of the Apache HTTP Server
> Project.
> > > > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > > > For additional commands, e-mail: users-help@httpd.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > The official User-To-User support forum of the Apache HTTP Server
> Project.
> > > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail: users-help@httpd.apache.org
> > >
> > >
> > 
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message