One IP, multiple domains = name-based virtual hosting = Apache directive NameVirtualHost
No need to use mod_rewrite at all.
Then you can separate your requests however you like, since you will be able to use VirtualHost.
NameVirtualHost *
<VirtualHost *> ServerName domain.net JkUriSet .... .... .... </VirtualHost>
<VirtualHost *> ServerName domain.com .... .... </VirtualHost>
John
On 04 Apr 2003 12:40:17 -0500, Marc Boorshtein <[EMAIL PROTECTED]> wrote:
Hello,
I am trying to setup tomcat running on a machine that uses mod_rewrite seperate requests between two domains, domain.com and domain.net. I want to setup domain.net to integrate with tomcat, but only that domain. I am not using the <VirtualHost> directive at all, as I only have 1 IP. Is there a straight forward way to configure mod_jk2 to use just that one domain, or do I need to use some creative re-writing for that as well?
Thanks Marc Boorshtein
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
