Formmail help

Soldato
Joined
18 Oct 2002
Posts
3,245
Location
melbourne
My CGI-BIN folder is located above the root of the public_html folder. How do I point the feedback form to it?

eg

/home/server199/public_html/contact.html
/home/server199/cgi-bin/formmail.cgi

I've tried:

Code:
<form name="formmail" action="/home/server199/cgi-bin/formmail.cgi" method="post">
..but that doesn't work. Any ideas?

Thanks.
 
Last edited:
Soldato
Joined
18 Oct 2002
Posts
5,464
Location
London Town
You need to use the ScriptAlias directive in either your apache config (httpd.conf) or virtualhost container for the site.

Code:
ScriptAlias /cgi-bin/ /home/server199/cgi-bin/
Code:
<form name="formmail" action="/cgi-bin/formmail.cgi" method="post">
 
Back
Top Bottom