https://bugzilla.wikimedia.org/show_bug.cgi?id=1698

JeLuF <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |FIXED

--- Comment #8 from JeLuF <[email protected]> 2010-03-27 07:54:13 UTC ---
Done. I didn't add *.wikimedia.org due to the high number of 'other' special
hosts in that domain.

Postrewrite:
------------

<VirtualHost *>
ServerName redirector-ws.wikipedia.org
ServerAlias *.wikisource.org
ServerAlias *.wiktionary.org
ServerAlias *.wikiversity.org
ServerAlias www.commons.wikimedia.org
ServerAlias www.meta.wikimedia.org

    RewriteEngine On

    RewriteMap lowercase int:tolower
    RewriteCond %{HTTP_HOST} ^www\.([^\.]+)\.([^\.]+)\.org
    RewriteRule ^(.+) ${lowercase:%{HTTP_HOST}}$1 [C]
    RewriteRule ^www\.([^\.]+)\.([^\.]+)\.org(.*)$ http://$1.$2.org$3 [R=301,L]

</VirtualHost>

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to