httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49818] Documentation URL scheme "Current version in particular language" like /docs/current/en/ FAILS with 404 (Not found)
Date Sat, 27 Nov 2010 03:34:57 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49818

--- Comment #6 from Rich Bowen <rbowen@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


Mime
View raw message