On 4 Jan 2005 at 21:53, Jim wrote:

> On Tue, 4 Jan 2005, Dan Langille wrote:
> 
> > I have not been able to reproduce this yet, but I found a problem
> > where I started seeing URLs like this:
> >
> > http://www.example.org/postfix.php/phorum/phorum/phorum/list.php?f=3
> > &a rticle_id=520
> >
> > These URLs exist:
> >
> > http://www.example.org/postfix.php
> > http://www.example.org/phorum/list.php?f=3&article_id=520
> 
> Something similar to this can be caused by a trailing slash on a URL
> that ends in a file name. For example
> 
>   http://www.example.org/index.html/
> 
> will be treated as if index.html is a directory for purposes of
> building URL's for the links on the page. So you might then end up
> with something like http://www.example.org/index.html/phorum/. A
> request for this URL would again return index.html for indexing (with
> phorum passed as extra data in the request), but now new URL's would
> be built relative to http://www.example.org/index.html/phorum/, which
> would give you a http://www.example.org/index.html/phorum/phorum/. And
> so on.
> 
> When I have run into this problem in the past, I have added something
> like /index.html/ to the 'exclude_urls'.

Jim: I'm very pleased to say that was the problem. I found this link 
in procmail-foo+bar-addresses.php: <a href="/postfix.php/">.  It's my 
website, so I fixed the HTML and tried again.

I've repaired that URL and ran rundig again.  But I rundig still 
encoutered the loop.  I then removed the partially completed rundig 
database and ran it again.  No loops this time.

This situation may also account for why /phorum/ is one of the most 
heavily used sections of the website.  ;)

Thank you. I appreciate the help in solving this problem.

-- 
Dan Langille : http://www.langille.org/
BSDCan - The Technical BSD Conference - http://www.bsdcan.org/



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
ht://Dig general mailing list: <[email protected]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to