HOW DID I NOTICE THIS BUG? I wanted to bookmark certain Apache documentation pages, and I wanted the bookmark to refer to a particular language but to no particular version, but rather always to the most recent version. DESCRIPTION If you point your web browser to: http://httpd.apache.org/docs/current/ You get served the most current documentation in you preferred language (if available). The served page contains links to other available languages! Hence I conclude the featured URLs of the style "in a particular language of the current version" are intended! But if one follows those links, i.e.: http://httpd.apache.org/docs/current/en/ Then you get a: HTTP 404 error (not found). This is not only true for the home page, but for any particular topic page. Examples: http://httpd.apache.org/docs/current/en/configuring.html http://httpd.apache.org/docs/current/en/logs.html http://httpd.apache.org/docs/current/en/vhosts/
Note: this only happens for the "/current/ docs. Version "/2.2" and "/trunk" work fine, so I guess the config httpd.apache.org is incomplete with respect to the various manual versions served.
(In reply to comment #1) I reported this bug for the URL scheme "current version in particular language". I knew that "specific version in particular language" as well as "current version with no specified language" both work. So will someone -- maybe you, Rainer Jung? -- fix the configuration at httpd.apache.org so that "current version in particular language" works?
I had a look at the master directory on people.apache.org but couldn't find out, how "/current/" works. It is not in the file system and there is no .htaccess, so I assume it's part of the centralized webserver config. I will ask on the dev list and then possibly infra about it.
Thanks for caring and good luck with getting to the root of the bug! Depending on your progress, please then update the issue here! Offtopic, but what does "to infra" mean?
Moving docs bugs to docs@httpd.a.o ownership.
Rüdiger provided the following patch: Index: httpd.apache.org.conf =================================================================== --- httpd.apache.org.conf (Revision 776399) +++ httpd.apache.org.conf (Arbeitskopie) @@ -9,9 +9,6 @@ RedirectMatch permanent ^/mod_aspdotnet.* http://httpd.apache.org/modules/#mod_aspdotnet - ## Add an alias, so that /docs/current/ -> /docs/2.2/ - Alias /docs/current /x1/www/httpd.apache.org/docs/2.2 - <Directory /x1/www/httpd.apache.org/docs/1.3> <Files ~ "\.html"> SetOutputFilter INCLUDES @@ -19,9 +16,14 @@ </Directory> # virtualize the language sub"directories" - AliasMatch ^(/docs/(?:2\.[0-3]|trunk|current))(?:/(?:de|en|es|fr|ja|ko|pt-br|ru|tr))?(/.*)?$ \ + AliasMatch ^(/docs/(?:2\.[0-3]|trunk))(?:/(?:de|en|es|fr|ja|ko|pt-br|ru|tr))?(/.*)?$ \ /x1/www/httpd.apache.org$1$2 + # Add an alias, so that /docs/current/ -> /docs/2.2/ + # and virtualize the language sub"directories" + AliasMatch ^(/docs)/current(?:/(?:de|en|es|fr|ja|ko|pt-br|ru|tr))?(/.*)?$ \ + /x1/www/httpd.apache.org$1/2.2$2 + <DirectoryMatch "/x1/www/httpd.apache.org/docs/(2\.[0-3]|trunk)"> Options -Multiviews <Files *.html>
https://issues.apache.org/jira/browse/INFRA-3254
Fixed in r780191, thanks for the patch.
It's great to see, that after a certain time, my concern has been solved! Thanks! This is a real functional benefit!