httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sameer <sam...@c2.net>
Subject Re: searching domains
Date Wed, 20 Nov 1996 18:29:29 GMT
> > Bad idea: if I go to http://ibm/, and the resolver returns an address for
> > "ibm" which is really "www.ibm.com", the URL in the web page will still be
> > http://ibm/.  
> 
> The patch I wrote doesn't do this.  It first checks to see if "ibm" by

	I think Brian said my idea (resolv.conf) was the bad idea.

> itself resolves.  It is conceivable that you have a host named "ibm" on your
> local network and you are trying to get to that.  If "ibm" does not resolve, 
> then I send a redirect back to the browser if and only if "ibm" is a
> single word.  The redirect adds a www. to the front and a .com to the end.
> Exactly like Netscape Navigator does.  

	So your thing, when getting http://ibm/ on the request line, does
1) gethostbyname(ibm)
2) return a redirect for http://www.ibm.com/

	I don't object to that, if configurable. What I object to:
1) gethostbyname(ibm)
2) gethostbyname(www.ibm.com)

> 
> I realize this is a very controversial "feature" and I will modify the patch
> to make it configurable and off by default.  Would that make everyone happy,
> or will it still be vetoed?  If another veto is coming, I won't bother doing
> the work.
> 
> -Rasmus
> 


-- 
Sameer Parekh					Voice:   510-986-8770
President					FAX:     510-986-8777
C2Net
http://www.c2.net/				sameer@c2.net

Mime
View raw message