httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <cs...@fx.ro>
Subject RE: [users@httpd] Cgi problem
Date Wed, 25 Jun 2003 14:00:45 GMT
I'm not clear where you get that output from...
My test would be simpler: put the following in a test.pl file, in the same
dir as the other one, chmod it to 755 and try it in your browser:

#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "It's working!!!";


Let me know,
Lian

> -----Original Message-----
> From: Alastair Roy [mailto:Alastair.Roy@Express.co.uk]
> Sent: Wednesday, June 25, 2003 4:47 PM
> To: 'users@httpd.apache.org'
> Subject: RE: [users@httpd] Cgi problem
>
>
> Anyone have any idea with this problem, I am not even sure if I
> have the CGI
> setup correctly, any assistance will be greatly appreciated.
>
> -----Original Message-----
> From: Alastair Roy [mailto:Alastair.Roy@Express.co.uk]
> Sent: 25 June 2003 10:54
> To: 'users@httpd.apache.org'
> Subject: RE: [users@httpd] Cgi problem
>
>
> This is the out put I get
>
> /usr/bin/perl cp000001.pl
> Content-type: text/plain
> Content-length: 9
> Date: Wed, 25 Jun 2003 09:49:09 GMT
>
> 20000110
>
> -----Original Message-----
> From: csebe@fx.ro [mailto:csebe@fx.ro]
> Sent: 25 June 2003 10:09
> To: users@httpd.apache.org
> Subject: RE: [users@httpd] Cgi problem
>
>
> Is your cp00001.pl running ok from the command line?
> Does it print the "Content-type: text/html" header as the first line?
>
> HTH,
> Lian
>
> > -----Original Message-----
> > From: Alastair Roy [mailto:Alastair.Roy@Express.co.uk]
> > Sent: Wednesday, June 25, 2003 12:08 PM
> > To: 'users@httpd.apache.org'
> > Subject: [users@httpd] Cgi problem
> >
> >
> > Can anyone help me please, I finally got my server running
> after much hair
> > pulling, now I am trying to install a shopping cart program, that
> > relies on
> > perl I have Perl installed, but it is almost like the cgi
> directory is not
> > active somehow.
> >
> > The server reports the following error when you try to use one of the
> > scripts is a browser
> >
> > Internal Server Error
> > The server encountered an internal error or misconfiguration and
> > was unable
> > to complete your request.
> >
> > Please contact the server administrator, alastair@express.co.uk
> and inform
> > them of the time the error occurred, and anything you might
> have done that
> > may have caused the error.
> >
> > More information about this error may be available in the server
> > error log.
> >
> > This is what is in my error log
> >
> > [Tue Jun 24 16:02:23 2003] [error] [client 180.9.216.133] File does not
> > exist: /usr/lo
> > cal/apache46/htdocs/cp000001.pl
> > [Tue Jun 24 16:03:47 2003] [error] [client 180.9.216.133]
> Premature end of
> > script head
> > ers: cp000001.pl
> > [Tue Jun 24 16:05:06 2003] [error] [client 180.9.216.133]
> Premature end of
> > script head
> > ers: cp000001.pl
> > [Wed Jun 25 09:20:28 2003] [notice] caught SIGTERM, shutting down
> > [Wed Jun 25 09:28:01 2003] [notice] Apache/2.0.46 (Unix) configured --
> > resuming normal
> >  operations
> > [Wed Jun 25 09:44:33 2003] [error] [client 180.9.202.43] script
> > not found or
> > unable to
> >  stat: /usr/local/apache46/cgi-bin/ss000001.pl, referer:
> > http://cape-town/index.html
> > [Wed Jun 25 09:45:15 2003] [error] [client 180.9.202.43]
> Premature end of
> > script heade
> > rs: ss000001.pl, referer: http://cape-town/index.html
> > [Wed Jun 25 09:54:47 2003] [error] [client 180.9.202.43]
> Premature end of
> > script heade
> > rs: ss000001.pl, referer: http://cape-town/index.html
> > [Wed Jun 25 09:55:10 2003] [error] [client 180.9.216.133]
> Premature end of
> > script head
> > ers: ss000001.pl, referer: http://cape-town
> >
> > Apache version 2.0.46
> >
> >
> > Visit Express Newspapers and OK Magazine online picture archive at
> > http://www.expresspictures.com
> >
> > ******************************************************************
> > **********
> > Any views or opinions are solely those of the author
> > and do not necessarily represent those of Express Newspapers
> > ******************************************************************
> > **********
> > The information transmitted is intended only for the person
> > or entity to which it is addressed and may contain confidential
> > and/or privileged material.If you are not the intended recipient
> > of this message please do not read ,copy, use or disclose this
> > communication and notify the sender immediately. It should be
> > noted that any review, retransmission, dissemination or other
> > use of, or taking action in reliance upon, this information by
> > persons or entities other than the intended recipient is prohibited.
> > E-mail communications may be monitored.
> > ******************************************************************
> > **********
> >
> > ##EXN2000##
> >
> >
> > ---------------------------------------------------------------------
> > 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