[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Config apache Web server
>>>>> "Avi" == Avi Boots <aviboots@netvision.net.il> writes:
Avi> Hi List, I try to run a cgi script form html page: <form
Avi> method="post"
Avi> action=http://sitename.com/cgi-bin/directory_a/program.cgi"
^^^
This quotation mark is missing in the original also?
Avi> name=""> netscape on windows did not recognize the host. i
What exactly do browsers say?
Avi> use apache on redhat 6. where/how can i config the server to
Where - /etc/httpd/conf/*.conf (httpd.conf may suffice).
Avi> recognize the submit request ? do i have to write the full
Avi> path: home/httpd/cgi-bin... ?
Generally no, if you're reffering from the document that's on the same
site. The reference may be relative ("../../cgi-bin/lala.php" etc.)
Do you have apropriate permissions? That is, the file "program.cgi"
must be executable for the user running Apache. In addition, the
directory holding this program should have an allowance to execute CGI
scripts (option "ExecCGI" if I recall correctly). See the
documentation.
Regards,
Andre.
--
================================================================
# Andre E. Bar'yudin #
# Home page: http://www.cs.huji.ac.il/~baryudin #
# E-mail: baryudin@pob.huji.ac.il #
# Phone: (972)-53-812-026 #
================================================================
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il