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] [Created] (INFRA-5668) Updates to OpenOffice.org Config
Date Sun, 16 Dec 2012 23:54:12 GMT
David Fisher created INFRA-5668:
-----------------------------------

             Summary: 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