Subject: Re: [boost] wiki.boost.org Ancient
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2009-02-23 20:13:22
Daniel James wrote:
> 2009/2/23 David Abrahams <dave_at_[hidden]>:
>> on Mon Feb 23 2009, DongInn Kim <dikim-AT-osl.iu.edu> wrote:
>>> Can you setup the DNS of wiki.boost.org to just point to 126.96.36.199 without
>>> aliasing for svn.boost.org?
>>> This cause me difficult to setup its vhost properly.
>>> For example,
>>> [root_at_wowbagger wiki.boost.org]# host wiki.boost.org
>>> wiki.boost.org is an alias for svn.boost.org.
>>> svn.boost.org has address 188.8.131.52
>>> [root_at_wowbagger wiki.boost.org]# host beta.boost.org
>>> beta.boost.org has address 184.108.40.206
>>> [root_at_wowbagger wiki.boost.org]#
>> I could, but --- and I'm no www expert --- I think there ought to be a
>> redirect so that there's a canonical web address for the wiki.
>> Otherwise you get search engines spidering it twice, etc, no?
> I might be wrong about this but I believe CNAME is only used to lookup
> the server's ip address, and has nothing to do with redirects. I think
> it's basically a layer of indirection for DNS lookups. I don't think
> it should affect the vhosts setup. The redirect has to be done as a
> HTTP response.
Correct. You need something like this in the vhost:
RedirectMatch permanent (.*) https://svn.boost.org/trac/boost/wiki
Note, it has to be permanent so that indexers don't keep trying to index
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org (msn) - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim,yahoo,skype,efnet,gmail
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk