On Mon, 5 Apr 2004, [iso-8859-1] Tinni wrote:

>         Thanks for your help, yes after changing the *htsearch* to *htsearch.cgi* it 
> started working...
> 
>         Though it is not the *htdig* question, but could you please give me some 
> hints , that why apache is not accepting the executable without *extension*? And 
> what change i need to do in the apache configuration ? So that i can tell the Apache 
> Admin for that?

The extension is important with your current configuration because Apache
needs a way to know that the file is supposed to be executed rather than
sent to the client making the request. The AddHandler lines tell Apache to
treat files with .cgi and .pl extensions as CGIs and files with .shtml and
.html extensions as server parsed. Other files (other extensions, or no
extension) cause Apache to default to a simple download.

If you want htsearch to be treated as a CGI without adding an extension,
you should setup a CGI directory and specify it in the Apache configuration
using the ScriptAlias directive. The ScriptAlias will cause everything in 
the specified directory to be treated as a CGI by default.

Jim


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
ht://Dig general mailing list: <[EMAIL PROTECTED]>
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