You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Boyle Owen <Ow...@swx.com> on 2003/04/09 10:29:23 UTC

RE: [users@httpd] Problem with CGI program

>-----Original Message-----
>From: palani saravanan [mailto:palani_saravanan@rediffmail.com]
>
>Yes| in debian we have to place the cgi files in usr/lib/cgi-bin 
>only.
>
>Then i can execute the perl script from commnad line.Only when i 
>use the apache it creates some problem

Please don't personalise the thread - use a subject which describes the
problem and don't change it.

I am a bit confused because you didn't answer all my questions from the
previous mail. I'm not sure your ScriptAlias is pointing to the correct
directory where you have your script. Please confirm *each* of these
questions:

- the full path to your script is /usr/lib/cgi-bin/helloworld.pl ?
- you have "ScriptAlias /cgi-bin /usr/lib/cgi-bin" in httpd.conf?
- you are testing with http://server/cgi-bin/helloworld.pl ?

In your first mail you reported:

>1.Exec format error.execution of /usr/lib/helloworld.pl failed

which does not agree with what you say above.

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 
>
>
>
>
>_______________________________________________________________________
>Odomos - the only  mosquito protection outside 4 walls -
>Click here to know more!
>http://r.rediff.com/r?http://clients.rediff.com/odomos/Odomos.h
>tm&&odomos&&wn
>
>
>---------------------------------------------------------------------
>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
>
>

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 



---------------------------------------------------------------------
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