On Tue, Apr 7, 2009 at 7:37 AM, Justin Hileman
<[email protected]> wrote:
> <IfModule mod_rewrite.c>
>  # Canonical domain name rewrite
>  RewriteCond %{HTTP_HOST} !^justinhileman\.info$ [NC]
>  RewriteRule (.*) http://justinhileman.info/$1 [L,R=301]
> </IfModule>

Justin's method accomplishes your goals, keeps you down to a single
Vhost per site.  BTW as Justin mentioned mod_rewrite can give a
"permanent" redirect too.

--lonnie


_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to