On 11/24/2010 01:55 PM, Rich Bowen wrote:
>
> On Nov 23, 2010, at 5:02 PM, Vincent Deffontaines wrote:
>
>> Hi,
>>
>> From :
>> http://httpd.apache.org/docs/current/mod/core.html
>> click on any language
>> A 404 is triggered
>>
>> Same on :
>> http://httpd.apache.org/docs/current/suexec.html
>>
>> I suppose this is a (rewrite?) httpd config problem on the server
>> hosting the docs.
>
> https://issues.apache.org/bugzilla/show_bug.cgi?id=49818
>
> Yes, looks like our rewrite rules are broken. Can someone point me to
> where that config is? I can't remember/find it.
I posted a patch to infra a while ago, but I guess it got lost somehow:
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>
Reviews welcome.
Regards
Rüdiger
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]