[cc-devel] apache 101 - stripping off the www

Mike Linksvayer ml at creativecommons.org
Sun Jul 13 15:27:14 EDT 2008


On Sun, Jul 13, 2008 at 12:23 PM, Nathan Kinkade
<nkinkade at creativecommons.org> wrote:
> Here's what we use for creativecommons.org (requires mod_rewrite):
>
> RewriteCond %{HTTP_HOST} =www.creativecommons.org
> RewriteRule ^/(.*)$ http://%{SERVER_NAME}/$1 [L,R=301]

There's a website dedicated to just this, btw -- http://no-www.org :)

Mike


More information about the cc-devel mailing list