classification
Title: Documentation with two slashes in URL links to v2.6.5c2
Type: Stage:
Components: Documentation Versions: Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Daniel.Ellis, akuchling, benjamin.peterson, docs@python, ezio.melotti, georg.brandl
Priority: normal Keywords:

Created on 2014-02-12 14:55 by Daniel.Ellis, last changed 2014-02-15 20:35 by benjamin.peterson. This issue is now closed.

Messages (3)
msg211094 - (view) Author: Daniel Ellis (Daniel.Ellis) Date: 2014-02-12 14:55
I was searching for the documentation for itertools via Google and was sent here:

    http://www.python.org/doc//current/library/itertools.html

After glancing at the upper-left hand corner, I wondered why Google was sending people to the 2.6 documentation, and a release candidate at that.  After checking out the URL, it became obvious that there's an issue somewhere in the Python docs that is causing this.

Quite a bizarre and obscure bug, but probably should be fixed since a major search engine is passing front-page search traffic there.
msg211288 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2014-02-15 19:23
To clarify: http://www.python.org/doc//current/library/itertools.html returns the corresponding page from the 2.6.5c2 docs, while http://www.python.org/doc/current/library/itertools.html returns a 301 redirect to http://docs.python.org/library/itertools.html.  

Presumably there's a RewriteRule that fails to match with the doubled-slashes, so Apache falls through to the filesystem.  Maybe there's an old 'current' symlink that's pointing at 2.6.5c2.
msg211291 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2014-02-15 20:35
I zapped the 2.6.c2 docs. I don't particularly feel like messing with mod_rewrite horrors on python.org to fix it to redirect properly. I think we should drop redirects those soon anyway. Probably will happen with the new site...
History
Date User Action Args
2014-02-15 20:35:23benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg211291

resolution: fixed
2014-02-15 19:23:15akuchlingsetnosy: + akuchling
messages: + msg211288
2014-02-15 16:10:08ezio.melottisetnosy: + ezio.melotti
2014-02-12 19:38:17berker.peksagsetnosy: + georg.brandl
2014-02-12 14:55:47Daniel.Elliscreate