> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > David Legg > Sent: maandag 29 september 2008 14:19 > To: Hippo CMS development public mailinglist > Subject: Re: [HippoCMS-dev] Broken link checker > > Hi Petar, > > > I have configured broken link checker in Hippo CMS and > mostly it works > > fine. > > However, it reported some broken (external) links, regardless these > > links looks fine and works in FE. > > > > Broken > > link > Problem > > http://www.dienstenrichtlijn.ez.nl > 302: > > Redirection - Found > > I'm guessing, but I should think it means your link isn't > pointing directly at the web site you think it is. > > If you put http://www.dienstenrichtlijn.ez.nl into your web > browser you'll see the address line changes to > http://www.ez.nl/Onderwerpen/Groeiende_economie/Dienstenrichtlijn > > This is because the first web site didn't send back the > actual web page but instead sent back an error code to say > something similar to 'The web page you requested isn't > here... try this place instead' and your browser > automatically tried again at the different address.
Sometimes it is necessary to go back to the original link. E.g. when authentication is required. Requests go to URI A, it does a 302 redirect to authentication URI B, if authentication succeeded then it may go back with the content or to a different URI C with an error message. The next request by a different urer must go to URI A to do the authentication process again. An other reason for having one URI that redirects is a country or browser selection when you enter the site. Here in NL I get redirected from google.com to google.nl. But when I take my laptop to Belgium the redirect will be from google.com to google.be. Cleaner would be to use a 303 or 307 redirect but in practise everyone (ab)uses the 302 for this. That's why I changed the logic in the broken link checker. Jasha Joachimsthal [EMAIL PROTECTED] - [EMAIL PROTECTED] www.onehippo.com Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466 San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA 94952-3329 +1 (707) 773-4646 ******************************************** Hippocms-dev: Hippo CMS development public mailinglist Searchable archives can be found at: MarkMail: http://hippocms-dev.markmail.org Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
