name based vi IP based virtual hosts

name based vi IP based virtual hosts

Post by Neil » Wed, 07 Jun 2000 04:00:00



I've read the man pages on this, and as you know I try my best help out people
on the newsgroup.

I'd really appreciate anyone's views on why name based virtual hosts may be a
bad thing ?

Cheers

Neil

 
 
 

name based vi IP based virtual hosts

Post by Joshua Sliv » Wed, 07 Jun 2000 04:00:00



> I've read the man pages on this, and as you know I try my best help out people
> on the newsgroup.
> I'd really appreciate anyone's views on why name based virtual hosts may be a
> bad thing ?

1. Very old browsers don't support them.  (Sorry, I can't define "very
old" exactly.)

2. You can't use them with SSL.

In general, I know of no reason to use IP virtual hosts unless you
need SSL.

--
Joshua Slive

http://finance.commerce.ubc.ca/~slive/

 
 
 

name based vi IP based virtual hosts

Post by Nick K » Wed, 07 Jun 2000 04:00:00




Quote:

> I'd really appreciate anyone's views on why name based virtual hosts may be a
> bad thing ?

They're not.  If you've found a reference that says they're a problem, look
at the date on it.

For example, the Apache documentation on the subject is over three years
old.  In early 1997, there may indeed have been a legacy issue of browser
support.

--
Nick Kew

 
 
 

name based vi IP based virtual hosts

Post by Alan J. Flavel » Thu, 08 Jun 2000 04:00:00



Quote:> > I'd really appreciate anyone's views on why name based virtual hosts may be a
> > bad thing ?

> 1. Very old browsers don't support them.  (Sorry, I can't define "very
> old" exactly.)

Just as a data point, it's my recollection that NCSA Win Mosaic 3
(which would have been rolled out around the time that NCSA decided to
get out of developing browsers) didn't send a Host header and thus
couldn't do name-based hosts on its own.  However, it did support
proxies, so if you stick a proxy in front of it, it can still browse
name-based hosts just fine.
 
 
 

1. Name-based vs IP based virtual hosts

This is a question those of you supporting ISP/CSP environments.

In reading documentation on the Web and the Apache book, it seems that
name-bases virtual host are the recommended way to manage VH, over
IP-based VH for obvious reasons. The only real reason to use IP-based VH
is for backward compatibility with older clients not supporting HTTP
1.1.  Even this can be worked around using the ServerPath directive.

In practice, are Name-base VH used more often than IP-based?  Are people
really not managing VH using the IP based method anymore? Phasing it
out?

Thanks,

Alfonso Fonseca

2. LINUX System Auction - Cheap Machine Ready to Go!

3. Mixing IP-based and name-based virtual hosts?

4. linus on apple

5. Can IP-based and Name-Based Virtual Hosting coexist

6. more

7. Setting up IP-based and Name-based virtual hosting side by side...

8. setting up a remote printer

9. Help: setup name-based or port-based virtual web host.

10. Mixing Apache Name Based Virtual Hosts and SSL Virtual Host

11. name-based virtual hosts with more than one ip - how ?

12. Named (non IP) based virtual hosting - Which browsers

13. Apache 1.3.9/SSL multiple name and IP based virtual hosts