On Tue, 8 Jul 2008, Graeme Nichols wrote:

> My httpd.conf file is configured correctly.
>
> ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
>
> <Directory "/var/www/cgi-bin">
>     AllowOverride None
>     Options None
>     Order allow,deny
>     Allow from all
> </Directory>
>
> I have copied htsearch to /var/www/cgi-bin and made it executable by all.

I think that by setting 'Options None' you have effectively disallowed
CGI execution in this directory. Perhaps try removing that line, or
setting it to something like 'Options +ExecCGI'.

> When I submit the query I still get the following error:
>
> You have chosen to open
>
>  HTSEARCH
>
>  which is a: BIN file
>
> from /cgi-bin
>  Would you like to save this file?

It is the web server that decides how to handle a request (e.g. send
vs. execute). So this message implies that there is still a problem with
your web server configuration.

Jim

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
ht://Dig general mailing list: <htdig-general@lists.sourceforge.net>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to