2008/7/13 Victor Stone <[EMAIL PROTECTED]>:
> sorry for the 101 question
>
> anybody know of a way in apache config to physically redirect browsers
> from a ServerAlias (www.ccmixter.org) to the main virt domain
> (ccmixter.org) ? I've tried it in rewrite but that didn't work and I
> prefer not to do it in php.
>
> Thanks
> VS
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]
Nathan
_______________________________________________
cc-devel mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/cc-devel