>> Why are
>> 
>> http://plone.ffii.org/events/2004/deso03                (1)
>> http://plone.ffii.org/events/2004/deso03/               (2)
>> 
>> two different addresses for wwwoffle ?

AB> Because they are two different URLs.  They may or may not have the
AB> same information in them, there is no way to know without getting both
AB> of them.

In the usual case (filesystem-based web servers), they do contain
different information indeed.  Resource (2) typically contains an HTML
document, while (1) is merely a 301 redirect to (2).

There is a good reason for that.  Suppose the server returned an HTML
document for (1), and that the document contained <a href="toto.html">.
Then a click on the above anchor might yield

  http://plone.ffii.org/events/deso03toto.html

which is clearly not what you want.

A corollary of the above: while it would be tempting to have WWWOFFLE
and polipo rewrite (1) into (2) in order to avoid an extra round-trip
to the server, doing that would break all relative links and hence
must not be done.

                                        Juliusz


Reply via email to