Re: [boost] wiki.boost.org Ancient

on Mon Feb 23 2009, DongInn Kim <dikim-AT-osl.iu.edu> wrote:
Hi David,
Can you setup the DNS of wiki.boost.org to just point to 129.79.245.252 without aliasing for svn.boost.org? This cause me difficult to setup its vhost properly.
For example,
[root@wowbagger wiki.boost.org]# host wiki.boost.org wiki.boost.org is an alias for svn.boost.org. svn.boost.org has address 129.79.245.252 [root@wowbagger wiki.boost.org]# host beta.boost.org beta.boost.org has address 129.79.245.252 [root@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? -- Dave Abrahams BoostPro Computing http://www.boostpro.com

2009/2/23 David Abrahams <dave@boostpro.com>:
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 129.79.245.252 without aliasing for svn.boost.org? This cause me difficult to setup its vhost properly.
For example,
[root@wowbagger wiki.boost.org]# host wiki.boost.org wiki.boost.org is an alias for svn.boost.org. svn.boost.org has address 129.79.245.252 [root@wowbagger wiki.boost.org]# host beta.boost.org beta.boost.org has address 129.79.245.252 [root@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. Daniel

Daniel James wrote:
2009/2/23 David Abrahams <dave@boostpro.com>:
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 129.79.245.252 without aliasing for svn.boost.org? This cause me difficult to setup its vhost properly.
For example,
[root@wowbagger wiki.boost.org]# host wiki.boost.org wiki.boost.org is an alias for svn.boost.org. svn.boost.org has address 129.79.245.252 [root@wowbagger wiki.boost.org]# host beta.boost.org beta.boost.org has address 129.79.245.252 [root@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: <VirtualHost *:80> ServerName wiki.boost.org RedirectMatch permanent (.*) https://svn.boost.org/trac/boost/wiki </VirtualHost> Note, it has to be permanent so that indexers don't keep trying to index wiki.boosr.org. -- -- 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
participants (3)
-
Daniel James
-
David Abrahams
-
Rene Rivera