On 6 October 2011 15:46, Voytek Eymont <[email protected]> wrote: > > > + Redirect, or use one VirtualHost + mod_rewrite. > > > I'm assuming Apache? If so, two main ways to do it: use two VirtualHosts > yes, Apache, thanks for the code > > any extra overhead penalty for either method ? (mind you, this is a > brochure site with low usage, so it won't make much difference) > > I think I'll stick with redirect, that what was used in the other sites >
There is a slight overhead when doing client-side redirect since the browser will have to do another http request when it received the initial redirect, but that's most probably negligible and worth the trouble that the client will (hopefully) bookmark the "canonical" domain name. --Amos -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
