[UPHPU] httpd.conf RedirectPermanent

Brandon Stout bms at mscis.org
Wed Apr 8 23:09:07 MDT 2009

Hash: SHA1

Lonnie Olson wrote:

> On Tue, Apr 7, 2009 at 7:37 AM, Justin Hileman 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

This is what I was talking about, but I used the wrong name.  I should
have looked up the name before I sent the post.  This accomplishes the
same thing, but it seems it would require more processing.  It also
doesn't tell the world that the URL was incorrect - a permanent
redirect.  I'm thinking this is the better method for SSL domain
forwarding since you have to put the certificate in there.  I'm not
convinced this is the best method for regular domain redirects.  I'm
open minded on this, and still curious if there are more opinions on it.
 Maybe this is the better method, and maybe 'better' is whatever you
like it to be.  Does this take more processing?  Would it be
significantly more for a machine that hosts hundreds of domains?  Is it
better form to send the Internet a message saying "this domain is a
permanent redirect to that one"?

Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org


More information about the UPHPU mailing list