Re: [htdig] Re: [ANNOUNCE] ht://Dig 3.1.4 RPMs for Red Hat


Subject: Re: [htdig] Re: [ANNOUNCE] ht://Dig 3.1.4 RPMs for Red Hat
From: Hugo.van.der.Kooij@caiw.nl
Date: Mon Dec 13 1999 - 11:42:55 PST


On Mon, 13 Dec 1999, Gilles Detillieux wrote:

> According to Hugo.van.der.Kooij@caiw.nl:
> > On Fri, 10 Dec 1999, Geoff Hutchison wrote:
> > > At 12:17 AM +0100 12/11/99, Hugo.van.der.Kooij@caiw.nl wrote:
> > > >Did you add the funny stuff at the end /etc/htdig/htdig.conf?
> > >
> > > What "funny stuff" are you referring to?
> >
> > a few lines like:
> > local_urls: http://192.168.1.1/=/home/httpd/html/
> > start_url: http://192.168.1.1/
> >
> > > >It took me while to find out that two lines of start_url results in random
> > > >behaviour.
> > >
> > > If you mean trying to split start_url over multiple lines, you need
> > > to include a '\' at the end. Otherwise it will only read the first
> > > line and ignore the rest.
> >
> > Nope. I mean two times a line called start_url: with one at the usual
> > place and one at the bottom.
>
> There's nothing wrong with having two definitions of start_url (or any
> other attribute) in one config file. The second will simply override
> the first definition. It will do this consistenly. Do you have any
> specific details on the sort of "random behaviour" you claim this caused?
> Does the random behaviour disappear when you remove or comment out the
> first start_url definitions? It may be that the problem is with the IP
> address that was pulled out of your httpd.conf.

After disabling the extra lines and correctly stating what should be there
on the first few lines it worked as should be.
 
> I chose to add the start_url, local_urls, and local_user_urls attributes
> to the end of the htdig.conf file, to avoid having to rewrite the entire
> file and make edits here and there on the fly. This is only done when
> installing htdig for the first time, to work with Apache's defaults.
> I'll admit that I could have done more, as far as adding comments along
> with the attribute definitions, to explain what they're doing. I hadn't
> done it because I assumed if someone needed to configure ht://Dig,
> they'd look up what these attributes do in the documentation. I'll see
> what I can do to make the post-install script's actions more clear.

I suggested to make it the first few lines which should be just as simple.

Hugo.

-- 
Hugo van der Kooij; Oranje Nassaustraat 16; 3155 VJ  Maasland
hvdkooij@caiw.nl	http://home.kabelfoon.nl/~hvdkooij/
--------------------------------------------------------------
Use of any of my email addresses for unsollicited (commercial)
    email is a clear intrusion of my privacy and illegal!

------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig-unsubscribe@htdig.org You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Mon Dec 13 1999 - 11:56:40 PST