[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Webglimpse Home]
Re: Getting searches to work
At 08:35 AM 11/21/99 -0800, you wrote:
>> >[running ./wgreindex produces..]
>The above line was not part of my post... I have no problem running
>./wgreindex ..
Ok my error I assumed that was the case...
>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)
Hm.. in that case is you archive in you webpage directory? is
..../htdocs/html-glimpse ?.. because maybe you server can't access the
file... just a thought...
>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)
Only to register changes etc...I have it set-up to run week as a cron job..
>> >DocumentRoot is /home/httpd/html (running apache-1.3.6-7) that
>> >directory has the "html-glimpse" archive in it.
Ok forget the previous statement... obviously you do...
>> >ScriptAlias is /cgi-bin/ pointing to /home/httpd/cgi-bin. Which is
>> >where webglimpse is.
Seems good..
>> >ls -l /home/httpd/html/html-glimpse/archive.cfg Shows:
>> > -rw-r--r-- 1 root reader 1275 Nov 20 08:40 archive.cfg
seems good...
>> >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 think from what you are saying that the html is the problem... let me
check my config... ok.. I think if you change the pathinfo values for the
full path ie /home/httpd/html/html-glimpse/ instead of the relative path it
should work... because you are telling the webglimpse script to look for
/html-glimpse/archive.cfg which doesn't exist where as
/home/httpd/html/html-glimpse/archive.cfg does... give it a try...
>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
So where are ./n2m-glimpse and ./webglimpse-docs ?... are am I just
confused.... anyhow changing the pathinfo(to point to the absolute
directory path) in your html file should help.. if not let me know and I'll
have another think.. as for permission who is running you html server ie is
it run by webmster with group www or similar... it shouldn't affect because
the directories are readable by everyone.. but if you wish to make more
secure you may want to look at that...
Ian