You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by bu...@apache.org on 2010/11/27 04:34:57 UTC
DO NOT REPLY [Bug 49818] Documentation URL scheme "Current version
in particular language" like /docs/current/en/ FAILS with 404 (Not found)
https://issues.apache.org/bugzilla/show_bug.cgi?id=49818
--- Comment #6 from Rich Bowen <rb...@apache.org> 2010-11-26 22:34:53 EST ---
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>
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org