W3C home > Mailing lists > Public > uri@w3.org > June 2001

RE: Proper www usage

From: Ian King <iking@microsoft.com>
Date: Wed, 13 Jun 2001 13:03:03 -0700
Message-ID: <8D25F244B8274141B5D313CA4823F39C018EEF94@red-msg-06.redmond.corp.microsoft.com>
To: "Dan Connolly" <connolly@w3.org>, "Mark Nottingham" <mnot@akamai.com>
Cc: "Aaron Swartz" <aswartz@swartzfam.com>, "Linda Bellitt (by way of Martin Duerst <duerst@w3.org>)" <linda.bellitt@hunterdouglas.com>, <uri@w3.org>
Yes, it does, per the documentation for IIS 5.0.  It's on the Directory
(Home Directory, Virtual Directory) tab.  -- Ian 

-----Original Message-----
From: Dan Connolly [mailto:connolly@w3.org] 
Sent: Wednesday, June 13, 2001 10:13 AM
To: Mark Nottingham
Cc: Ian King; Aaron Swartz; Linda Bellitt (by way of Martin Duerst
<duerst@w3.org>); uri@w3.org
Subject: Re: Proper www usage


Mark Nottingham wrote:
> 
> I find it good practice to redirect other hostnames' port 80 to www, 
> rather than CNAME it, so that search engines, caches and the like 
> don't have duplicates.

Yup.

That's what W3C does:

$ curl -I http://w3.org/
HTTP/1.1 301 Moved Permanently
Date: Wed, 13 Jun 2001 17:10:49 GMT
Server: Apache/1.3.14 (Unix)  (Red-Hat/Linux) mod_perl/1.23
Location: http://www.w3.org/
Connection: close
Content-Type: text/html; charset=iso-8859-1

> I.e., instead of having foo.com and www.foo.com return the same 
> resources, have all requests to foo.com redirected to the appropriate 
> part of www.foo.com, to reduce duplication. This is easy to configure 
> in most servers.

I was trying to help somebody set up some redirects on their server a
while back... they were using Microsoft IIS. I looked for HTTP redirect
configuration options and couldn't find it.

Does IIS support HTTP redirects? Anybody know?

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Wednesday, 13 June 2001 16:22:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:03 UTC