Or set up a script alias with apache.
I have mine like this..:

ScriptAlias /search /my/absolute/path/to/my/htsearh/program/htsearch

This allows me to set my form tag as follows:

<form method="post" action="/search">


HTH, 

-k



On Sun, 17 Jun 2001, Marcio Marchini wrote:

> 
>       You probably need to tell Apache it is a cgi-bin, either by putting the
> executable in /home/httpd/cgi-bin or by creating a link with "ln" from
> Apache's cgi-bin to the target executable.
> 
> marcio
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Amit
> Agarwal
> Sent: June 17, 2001 6:40 AM
> To: [EMAIL PROTECTED]
> Subject: [htdig] Problem with htsearch.
> 
> 
> I use GET method to search using htsearch.
> 
> But when i hit the SEARCH button in the HTML page, the browser actually
> starts downloading the htsearch program itself and not the actual results.
> 
> I use Apache running on Solaris 2.7
> 
> If I run htsearch from unix prompt, it works absolutely perfect.
> 
> Could you please help me.
> 
> Thanks.
> 


_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to