According to =?iso-8859-1?q?Rashmi=20Sood?=:
>   I had sent a mail saying that when search is
> performed using the search.html form i get no
> results.The page does not show anything in the sense
> that the search form remains as it is and there is
> absolutely nothing printed below.Actuall I have given
> an absolute path from my browser: 
>       file:/opt/www/htdocs/htdig/search.html
> for performing this search.I did not send it through a
> web server

When I try to open the default search.html form on my system, in Netscape,
and enter a query string, I get the following Netscape Error dialog box:

  Netscape is unable to find the file or directory
  named /cgi-bin/htsearch.

  Check the name and try again.

This happens because the default search form uses the following <form>
tag:

  <form method="get" action="/cgi-bin/htsearch">

There is nothing in the action attribute above to tell the browser to
use the "http" protocol instead of the "file" protocol which it used to
load the search form.  If I added the protocol specification and my web
server name to that, i.e.:

  <form method="get" action="http://www.scrc.umanitoba.ca/cgi-bin/htsearch";>

then I'd be able to call the search from from a file: URL (or an ftp:
URL or anything) and it would still properly submit the query to my
web server.  I don't bother because I only ever load the search form
from the web server using http.

I suspect you may be dealing with a similar problem, although I'm
surprised you don't get a similar dialog box from your web browser.
Someone by the handle of "SoloCDM" reported the same Netscape error
as above just last week.  In any case, I recommend you try loading
your search form using an http:// URL or you customize the form tag to
explictly reference your http server in the action attribute.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
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