[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Webglimpse Home]
Re: Possible to install if httpd.conf not readable to user?
Hi Paul
I don't know if you are still having this problem, but I took another look
this weekend and there seems to be a workaround, at least:
Edit your archive.cfg file and set
urllist http://raven.cc.ukans.edu/~kups/
You can do this even though you are indexing by Directory, makenh will
recognize that the list contains a URL and translate it accordingly. It is
easier and there is less ambiguity when translating a URL containing a "~"
to a directory, than recognizing that a long directory path happens to be
within a user's home dir and have the UserDir appended to it.
--G
At 10:21 AM 12/8/99 -0600, Paul Johnson wrote:
>I just discovered what might cause the trouble I have in installing
>Webglimpse: The conf file of the apache server is not readable by
>users. Since I run webglimpse under cgiwrap with my own user identity,
>I'm afraid the webglimpse can't read the httpd.conf file and as a result
>it does not work. Perhaps I have to explicitly set everything in
>.wgsiteconf?
>
>In response to my previous note in this list, Golda Velez encouraged me
>to set the USERDIR in my .wgsiteconf. Since then I also learned that the
>httpd.conf file is not world accessible, but the administrator assures
>me that in there DocumentRoot is /home/http and UserDir is public_html.
>So here is the .wgsiteconf file:
>
>SERVER raven.cc.ukans.edu
>PORT 80
>DOCUMENTROOT /home/http
>HTTPDCONF /usr/local/apache/conf/httpd.conf
>WGSCRIPTALIAS cgiwrap/kups /homea/kups/public_html/cgi-bin
>USERDIR public_html
>
>I have a set of mailing lists that are archived into html in one
>directory structure and I want to use glimpse to search them. The
>glimpse output gets installed in a parallel directory, as in:
>
>mail archive: /homea/kups/public_html/maillist/polsannounce
>webglimpse output dir:
>/homea/kups/public_html/webglimpse_output/polsannounce
>
>When I use the Directory method to build the webglimpse index, the links
>are quite incomplete. Like this:
>
>Indexing
>"/homea/kups/public_html/maillist/polsannounce/pre-1999-12-06/msg00099.html
>/pre-1999-12-06/msg00099.html" ...
>
>The link that shows in the index has no http://server part. I think if
>Webglimpse were working just right, the second one should be
>"http://raven.cc.ukans.edu/~kups/maillist/pre-1999-12-06/msg00099.html"
>rather than just the part starting with /pre....
>
>Right?
>
>These links created by Webglimpse don't work, and I tried just
>configuring so Webglimpse dumps its output right into
>/homea/kups/public_html/maillist/polsannounce. That almost works, but
>the addresses of the documents show up with a relative address of
>/pre-1999-12-06/msg00099.html, which is not quite right. In that case it
>should just be pre-1999-12-06/msg00099.html.
>
>The first times I tried to configure this, I was giving the wrong
>httpd.conf file. I was giving the webglimpse the name of an old conf
>file from a previous version of apache that the administrators had
>forgotten to remove. The Webglimpse did find that file and apparently
>was able to make some use out of it, so I got different error, namely
>that the index output looked like this:
>
>Indexing
>"/homea/kups/public_html/maillist/polsannounce/pre-1999-12-06/msg00099.html
>http://raven.cc.ukans.edu/maillist/pre-1999-12-06/msg00099.html" ...
>
>The http:// part of the address was OK, but not ~kups. Now that I've
>learned the httpd.conf file is not readable, an inserted it in the
>wginstall process, I get the worse behavior described above.
>
>---
>
>Paul E. Johnson email: pauljohn@ukans.edu
>Dept. of Political Science http://lark.cc.ukans.edu/~pauljohn
>University of Kansas Office: (785) 864-9086
>Lawrence, Kansas 66045 FAX: (785) 864-5700
>
>
------------------------------------------------------------
Golda Velez gvelez@tucson.com 520-620-6878
Internet Workshop http://tucson.com
Webglimpse Search Software http://webglimpse.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Help organize the world - index your own corner of the web