You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Stephane Osmont <so...@seolan.com> on 2000/08/04 17:33:11 UTC
Running 1 context per VirtualHost
A question on configuration.
If you define several Virtual Host in you Apache configuration, for example:
<VirtualHost www.a.com>
...
</VirtualHost>
<VirtualHost www.b.com>
...
</VirtualHost>
an you want to create an app Context for only one of them, how do you do
that?
Currently, when I define the Context "/application" in my server.xml, I can
access it from both domain names, like
http://www.a.com/application
and
http://www.b.com/application
but I would like to access it only from one of them.
Any clue is appreciated.
Thanks
Stephan