htdig: Re: Apache 1.3b2


Geoff Hutchison (Geoffrey.R.Hutchison@williams.edu)
Wed, 12 Nov 1997 11:53:52 -0500


Hi,

Is anyone else using the new beta version of Apache (1.3b2)? The
FancyIndexing option now adds links to the top of the indexes of the form
"http://www.foo.com/?N=D" to sort the column ascending/descending. It's a
nice little feature, but it's killing htdig.

On the dig, if htdig gets to a directory index created by the server, it
sees these links as different from the initial URL and follows them up. But
when it does this, it gets the same directory listing, but with a slightly
different URL on the column: "http://www.foo.com/?N=A" which htdig adds to
its list as well!

If by some horrible act of fate/luck/whatever, one of the files inside the
directory has relative links, these can be generated with different URLs as
well!

http://www.foo.com/?N=A/foo.html -> http://www.foo.com/?N=A/dir/?N=D

What can ultimately happen is an infinite loop of "different" URLs, choking
htdig completely...

I can write up a patch that strips the ?N=A and other links of this form,
but would this break on other servers/setups? Does anyone have other
suggestions? Should I suggest to the Apache group to add a configuration
option to turn off the column headers?

-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/

----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-request@sdsu.edu containing the single word "unsubscribe" in
the body of the message.



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:25:12 PST