> 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
Example: ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/ This makes the web address "http://your.server.com/cgi-bin/" treat the contents of "/usr/local/apache/cgi-bin/" as CGI files no matter what extension they have, or if they have no extension at all! Note that the trailing slash in the directory name is important; ScriptAlias /cgi-bin ... ScriptAlias /cgi-bin/ ... Are both different. As a general rule, you should always include the trailing slash, as leaving it off may lead to problems on some set ups. You may also want to look at the <Directory> directive for Apache, which allows you to control how specific directories are handled. Directory directive: http://httpd.apache.org/docs/mod/core.html#directory ScriptAlias directive: http://httpd.apache.org/docs/mod/mod_alias.html#scriptalias Alias directive: http://httpd.apache.org/docs/mod/mod_alias.html#alias Rupert -- Outgoing mail is certified Virus Free. Checked by AVG Anti-Virus (http://www.grisoft.com). Version: 7.0.230 / Virus Database: 262.6.6 - Release Date: 04/04/2004 ------------------------------------------------------- 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

