On 09/01/2008, Michael Walsh <[EMAIL PROTECTED]> wrote:
> It simply because http://www.bbc.co.uk/technology/ tries to
> redirect to
> http://news.bbc.co.uk/1/hi/technology/default.stm/ - note
> the trailing slash in both which makes it not work.

Using Telnet to view the exact return by the server shows something interesting.
/technology actually redirects to /technology/
That would be why Firefox is adding a trialling /, it's what it is
being told to do.
Don't know how opera and IE are working.

View the actual responses:

> Connected to www.bbc.co.uk (212.58.253.70).
> GET /technology HTTP/1.1
> HOST: www.bbc.co.uk
>
> HTTP/1.1 301 Moved Permanently
> [snip]
> Location: http://www.bbc.co.uk/technology/
> [snip]

It's the BBC adding the trailing slash, not the browser.

The most likely cause is that /technology is a directory so
technically a request for /technology is invalid, Apache appears to
auto-correct to /technology/ and then uses rewrite rules on the
subsequent request.

If you want rewrite to apply to /technology make sure you don't have
your .htaccess in that folder as it won't see it till it gets the
/technology/ request.

Oddly I swear it appeared to be fixed and then broke again.

>From outside the BBC a request to /technology/ is forbidden not
rewritten to http://news.bbc.co.uk/1/hi/technology/default.stm/ as
suggested (at least not currently)

Is someone playing with the server config files?

Direct link http://news.bbc.co.uk/1/hi/technology/default.stm still
works fine however.

Andy


-- 
Computers are like air conditioners.  Both stop working, if you open windows.
                -- Adam Heath
-
Sent via the backstage.bbc.co.uk discussion group.  To unsubscribe, please 
visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html.  
Unofficial list archive: http://www.mail-archive.com/[email protected]/

Reply via email to