Re: ipmasqadm portfw and apache
On Wed, Aug 29, 2001 at 01:39:21PM -0700, Jason Majors scribbled...
> Does anybody have experience with multiple VirtualHost entries? Or know
> the
> correct format?
> I'm doing:
> NameVirtualHost domainone
> NameVirtualHost domaintwo
> NameVirtualHost domainthree
>
> <VirtualHost domainone>
> ...
> </VirtualHost>
>
> <VirtualHost domaintwo>
> ...
> </VirtualHost>
>
> <VirtualHost domainthree>
> ...
> </VirtualHost>
>
I got it working. I feel kinda dumb...for those who'd like to know how to do it:
NameVirtualHost 1.2.3.4 # MUST BE AN IP! (my mistake).
<VirtualHost foo.domain.com> # I had to put the specific one before a generic
... # www to get the specific to come up.
</Virtualhost>
<VirtualHost www.domain.com>
...
</VirtualHost>
<VirtualHost www.domaintwo.com>
...
</VirtualHost>
Reply to: