[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting searches to work
Ian Grimwood <bl268@freenet.carleton.ca> writes:
> At 08:13 PM 11/20/99 -0800, you wrote:
> >
> >NOTE: Novice alert .. Novice to both webglimpse and HTML
> >(No one seems to be posting to users list.. )
> We all have to start somewhere! ;)
> >[running ./wgreindex produces..]
The above line was not part of my post... I have no problem running
./wgreindex ..What I am doing when I get
the message is:
After typing in the search string in the form box and pressing
"search" the error message comes up on a new page.
> >Cannot open configuration file /html-glimpse/archive.cfg
> >(same message for all three archives I've confarced)
Do you actually have to run wgreindex after confarc is done? or only
when changes are made. (I've done both, but still get the error message)
> >DocumentRoot is /home/httpd/html (running apache-1.3.6-7) that
> >directory has the "html-glimpse" archive in it.
>
> >ScriptAlias is /cgi-bin/ pointing to /home/httpd/cgi-bin. Which is
> >where webglimpse is.
>
> >ls -l /home/httpd/html/html-glimpse/archive.cfg Shows:
> > -rw-r--r-- 1 root reader 1275 Nov 20 08:40 archive.cfg
>
> >The relevant html from the index.html:
> >
> ><A NAME="search"><H2>Search HTML help files</H2></A>
> ><FORM METHOD=get ACTION="/cgi-bin/webglimpse/">
> >
> >Select the section that you wish to search
> ><SELECT NAME="pathinfo">
> ><OPTION VALUE="/html-glimpse">html help files
> ><OPTION VALUE="/n2m-glimpse">n2m archives
> ><OPTION VALUE="/webglimpse-docs"> webglimpse-docs
> ></SELECT>
> >
>
> Ok I'm no expert but I think the problem is centered areound your
> directory structure... if your directory structure for sub-searching is
> set-up thus:
> /home/httpd/html/html-glimpse/html-glimpse
> /home/httpd/html/html-glimpse/n2m-glimpse
> /home/httpd/html/html-glimpse/webglimpse-docs
> Then you must run ./wgreindex in each of these directories...
> Perhaps it is your permissions who is trying to run
> ./wgreindex?.. root,
The directory structure is not like the above suggestion... It is:
/home/httpd/html/html-glimpse
/home/httpd/html/n2m-glimpse
/home/httpd/html/webglimpse-docs
Confarc and wgreindex has been run in all of them.
> or someone of group readers?.. souldn't matter because everyone can read
> the file.. how about the parent directory does the user have
> execute/read/write access?
> If not sorry I can't think why for now...
> Ian.
Current permissions look like:
drwxr-xr-x 8 root root home
drwxr-xr-x 6 root reader httpd
drwxr-xr-x 5 root reader html
drwxrwxr-x 8 reader reader html-glimpse
-rw-rw-r-- 1 root reader archive.cfg
Are these as they should be?