Thread: Virtual Hosting
View Single Post

  #2 (permalink)  
Old 05-07-2008
Kees Nuyt
 
Posts: n/a
Default Re: Virtual Hosting

On Wed, 7 May 2008 11:43:01 -0700 (PDT),
"souporpower@gmail.com" <souporpower@gmail.com> wrote:

> I looked up the Apache VH page and
>the cases presented there don't apply to me.


Use the example as an exercise until that works.
Then, start adding small changes and see where it
breaks. You will see it applies more to your situation
than you expected.

You only need one or two NameVirtualHost directives.
Not
NameVirtualHost ourproxy:80
but
NameVirtualHost *:80
You may have to repeat for :443

Usually, the name of the virtual host should NOT be in
the
<VirtualHost ....>
block heading itself, but as
ServerName
or
ServerAlias
directives within each
<VirtualHost *:80>
</VirtualHost>
or
<VirtualHost *:443>
</VirtualHost>
block.

HTH
--
( Kees
)
c[_] Seminars, n.: From "semi" and "arse",
hence, any half-assed discussion. (#226)