www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Fisher (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-5668) Updates to OpenOffice.org Config
Date Mon, 17 Dec 2012 01:36:12 GMT

    [ https://issues.apache.org/jira/browse/INFRA-5668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13533599#comment-13533599
] 

David Fisher commented on INFRA-5668:
-------------------------------------

Oops:

Index: httpd-conf/www.apache.org/vhosts/zzzothers.conf
===================================================================
--- httpd-conf/www.apache.org/vhosts/zzzothers.conf	(revision 842724)
+++ httpd-conf/www.apache.org/vhosts/zzzothers.conf	(working copy)
@@ -230,13 +230,13 @@
 
    # contributing.openoffice.org
    RewriteCond ${lowercase:%{HTTP_HOST}} ^contributing(?:\.\w+)?\.openoffice\.org$
-   RewriteRule (.*) http://incubator.apache.org/openofficeorg/get-involved.html [L]
+   RewriteRule (.*) http://openoffice.apache.org/get-involved.html [L]
 
-   RewriteRule /contributing/(.*) http://incubator.apache.org/openofficeorg/get-involved.html
[L]
+   RewriteRule /contributing/(.*) http://openoffice.apache.org/get-involved.html [L]
 
    # security.openoffice.org
    RewriteCond ${lowercase:%{HTTP_HOST}} ^security(?:\.\w+)?\.openoffice\.org$
-   RewriteRule (.*) http://incubator.apache.org/openofficeorg/security.html [L]
+   RewriteRule (.*) http://openoffice.apache.org/security.html [L]
 
    # br-pt.openoffice.org typos
    RewriteCond ${lowercase:%{HTTP_HOST}} ^br-pt(?:\.\w+)?\.openoffice\.org$
@@ -253,6 +253,10 @@
    RewriteCond /x1/www/ooo-site.apache.org/content/%1 -d 
    RewriteRule .* http://www.openoffice.org/%1? [NE,L,R=permanent] 
 
+   # change www.openoffice.org/...htm into www.openoffice.org/...html
+   RewriteCond ${lowercase:%{HTTP_HOST}} ^www\.openoffice\.org$
+   RewriteRule ^(.*)\.htm$ $1.html [NE,L,R=permanent]
+
    # fallback for proj.openoffice.org/... to openoffice.org/projects/proj/...
    # The most common case is redirecting
    #    http://updateXXX.services.openoffice.org/ProductUpdateService/check.Update

                
> Updates to OpenOffice.org Config
> --------------------------------
>
>                 Key: INFRA-5668
>                 URL: https://issues.apache.org/jira/browse/INFRA-5668
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: HTTP Server, Website
>         Environment: zzzothers
>            Reporter: David Fisher
>
> Two sets of changes for openoffice.org.
> (1) Some redirects should now go directly to openoffice.apache.org.
> @@ -230,13 +230,13 @@
>  
>     # contributing.openoffice.org
>     RewriteCond ${lowercase:%{HTTP_HOST}} ^contributing(?:\.\w+)?\.openoffice\.org$
> -   RewriteRule (.*) http://incubator.apache.org/openofficeorg/get-involved.html [L]
> +   RewriteRule (.*) http://openofficeorg.apache.org/get-involved.html [L]
>  
> -   RewriteRule /contributing/(.*) http://incubator.apache.org/openofficeorg/get-involved.html
[L]
> +   RewriteRule /contributing/(.*) http://openofficeorg.apache.org/get-involved.html
[L]
>  
>     # security.openoffice.org
>     RewriteCond ${lowercase:%{HTTP_HOST}} ^security(?:\.\w+)?\.openoffice\.org$
> -   RewriteRule (.*) http://incubator.apache.org/openofficeorg/security.html [L]
> +   RewriteRule (.*) http://openofficeorg.apache.org/security.html [L]
>  
>     # br-pt.openoffice.org typos
>     RewriteCond ${lowercase:%{HTTP_HOST}} ^br-pt(?:\.\w+)?\.openoffice\.org$
> (2) On www.openoffice.org all requests to *.htm should be mapped to *.html. Please double
check my change here. For example this page: http://www.openoffice.org/pt/download/download.htm
> @@ -253,6 +253,10 @@
>     RewriteCond /x1/www/ooo-site.apache.org/content/%1 -d 
>     RewriteRule .* http://www.openoffice.org/%1? [NE,L,R=permanent] 
>  
> +   # change www.openoffice.org/...htm into www.openoffice.org/...html
> +   RewriteCond ${lowercase:%{HTTP_HOST}} ^www\.openoffice\.org$
> +   RewriteRule ^(.*)\.htm$ $1.html [NE,L,R=permanent]
> +
>     # fallback for proj.openoffice.org/... to openoffice.org/projects/proj/...
>     # The most common case is redirecting
>     #    http://updateXXX.services.openoffice.org/ProductUpdateService/check.Update
> Thanks,
> Dave

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message