[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] .Glmpse (was Qube 2 hang solution found)
- Subject: [cobalt-users] .Glmpse (was Qube 2 hang solution found)
- From: Mike Vanecek <nospam99@xxxxxxxxxxxx>
- Date: Sat Nov 17 10:23:02 2001
- Organization: anonymous
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Fri, 16 Nov 2001 08:29:53 +1100, Malcolm McLeary <mmcleary@xxxxxxx>
wrote:
:>Hi Mike,
:>
:>on 15/11/01 6:53 AM, Mike Vanecek at nospam99@xxxxxxxxxxxx wrote:
:>
:>> BTW, what procedure did you use to disable glimpse?
:>
:>It a bit less than obvious, but the issue for me was glimpse doing its
:>indexing. This is controlled by a daily script "buildSearchIndex.pl".
:>
:>What I did was create /etc/cron.never/ and move the script.
:>
:>[root /etc]# mkdir cron.never
:>[root /etc]# mv cron.daily/buildSearchIndex.pl
:>cron.never/buildSearchIndex.pl
:>
:>This doesn't "disable" glimpse, but it stops it from doing the thing which
:>causes grief.
Thanks. I had just found that in cron.daily. I have disabled the Cobalt
public user interface completely (saw no need for it). Still, it would
seem that glimpse might be a useful tool for ssh sessions and/or to set
up a mhonarc/willma majordomo web search page.
:>Another alternative is to edit buildSearchIndex.pl to constrain what it
:>actually indexes. If your Qube is being used as a fileserver then I think
:>its pretty pointless indexing all those Mac and Windows files as you can't
:>use the web interface to access the files anyway.
:>
:>There is a line in buildSearchIndex.pl
:>
:># add directories to index below as needed (within quotes)
:>
:>the next line is
:>
:>my $gIndexDirs = '"/home/users" "/home/groups"';
:>
:>I recommend changing it to
:>
:>my $gIndexDirs = '"/home/groups/home"';
:>
:>I keep all web stuff in /home/groups/home so its the only bit worth indexing
:>... doing all user and group files is a waste of resources.
Any reason you took that approach as opposed to editing the
.glimpse_include and .glimpse_exclude files?
For example, my files already contain
[root@vanecek .glimpse]# less .glimpse_include
.htm$
.html$
.shtm$
.shtml$
.txt$
[root@vanecek .glimpse]# less .glimpse_exclude
/.
.cgi$
.pl$
.gif$
.jpg$
.obj$
^/home/groups/home/_private
^/home/groups/home/_vti_bin
^/home/groups/home/_vti_cnf
^/home/groups/home/_vti_inf.html$
^/home/groups/home/_vti_log
^/home/groups/home/_vti_pvt
^/home/groups/home/_vti_txt
^/home/groups/home/cgi-bin
^/home/groups/home/images
^/home/groups/home/post_info.html$
I am also not clear as to why the owner and group are both set to httpd,
yet the directory and files are all hidden? Guess I need to do some more
research.
I think I am going to build up a larger .glimpse_exclude file and see
how that impacts the index size. Especially mail directories.
Thanks for the help.
BTW, did you see my post about a possible security hole using cgiwrap?
Mike.