From: <t_...@ya...> - 2004-04-05 15:54:39
|
Hi Jim 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? This is the configuration i found in the apache *httpd.conf* file.. ----------------------------------------------------------------- <VirtualHost xxx.xxx.xxx.xxx> ServerAdmin admin@server DocumentRoot /home/sites/search.domain.com/web Servername search.domain.com ServerAlias www.search.domain.com AddHandler cgi-script .cgi AddHandler cgi-script .pl AddHandler server-parsed .shtml AddHandler server-parsed .html AddType text/html .shtml AddType text/html .htm .html AddOutputFilter INCLUDES .shtml .html Options All +Includes FollowSymLinks ExecCGI -Indexes </VirtualHost> ---------------------------------------------------------------- Thanks Tinni Jim <li...@yg...> wrote: On Mon, 5 Apr 2004, [iso-8859-1] Tinni wrote: > >>If you are not > >>certain that your web server is correctly configured, you might want > >>to start by getting a simple CGI running before moving on to htsearch. > > i have written a small .cgi program and placed in the dir. where i have > kept the *htsearch* .. It is running.. > > Morover just to inform that i have kept the 'htsearch under the 'web' > directory, means under the DocumentRoot .. Is it ok? Generally when a web server is configured to allow CGIs to run from arbitrary directories, it keys off of file extensions (e.g. .cgi, .pl, etc.) Do the other CGIs that you are using have such file extensions? If so, you might want to try renaming htsearch so that it has one of those extensions. 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: ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-general Win an evening with the Indian cricket captain: Yahoo! India Promos. |