On 01/12/2013 08:44 PM, Steve VanSlyck wrote:
That's working great - thanks Mark! Can this be
adjusted so that calls
to http:mysite.com redirect to
http://_www_.mysite.com?
Sure. You just need to add these three lines right before those lines:
RewriteCond %{HTTP_HOST} !^www\.example\.com [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^/?(.*)
http://www.example.com/$1 [L,R,NE]
(From
https://httpd.apache.org/docs/2.2/rewrite/remapping.html#canonicalhost)
--
http://hexmode.com/
Language will always shift from day to day. It is the wind blowing
through our mouths. --
http://hexm.de/np