Subject: Re: [htdig] cgi-bin problem
From: Jeff (email@example.com)
Date: Wed Mar 29 2000 - 15:50:17 PST
On Wed, 29 Mar 2000, Forsman, Adam wrote:
> I am having trouble with my web site. I am running Slackware 7.0 with the
> 2.2.13 kernel. Apache is installed to (I think) /var/lib/apache. I have
> compiled and configured htdig just as directed, edited the htdig.conf file,
> and ran the default rundig script. The problem is when I open the
> search.html file and attempt to search, I get an error message saying:
> "Netscape is unable to find the file or directory named /cgi-bin/htsearch.
> Check the name and try again."
The nature of the above error message seems to indicate that you are
opening the search.html file locally, and not accessing it through
HTTP. This won't work. You need to try accessing the search page using an
http url, such as http://www.example.com/htdig/search.html
Check the displayed URL in Netscape -- if it doesn't begin with http,
you're going about it the wrong way.
> I have Apache set up with all the defaults (installed with Slackware). I
> checked the httpd.conf file for the ScriptAlias variable and it is:
> ScriptAlias /cgi-bin/ "/var/lib/apache/cgi-bin"
I seem to recall a long while ago needing the training forward slash on
the second argument if it was present on the first. This may be an
inaccurate memory, or it may have changed by now. This was back in 1.0ish
hope this helps,
-- Jeff Godin Network Specialist Traverse Area District Library / Traverse Community Network firstname.lastname@example.org - 231/932-8546 voice
------------------------------------ To unsubscribe from the htdig mailing list, send a message to email@example.com You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Wed Mar 29 2000 - 14:51:52 PST