tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg <oleg...@gmail.com>
Subject Re: mass virtual hosting with rewrite
Date Sat, 03 Sep 2005 03:44:20 GMT
I am not running Tomcat and Apache ont he same port, I have never tried 
doing that. I suggest you start a separate post, maybe someone will be able 
to help you.

Thanks,
Oleg

On 9/2/05, jmail <j-mail@tlen.pl> wrote:
> 
> Adn howy did you do that? I've got a problem. I can't use tomcat and 
> Apache on the same port. :/ But I need to do this like that:
> 
> somone make a question to my host and i would like that on this qusetion 
> my server shoul decide if thats for him or for Tomcat :/ How can I do this?
> 
> thanks for any reply
> 
> jmail
> 
> ---- Wiadomość Oryginalna ----
> Od: Oleg <olegtim@gmail.com>
> Do: Tomcat Users List <tomcat-user@jakarta.apache.org>
> Data: Fri, 2 Sep 2005 11:18:50 -0700
> Temat: mass virtual hosting with rewrite
> 
> > I am running Apache 2 with Tomcat 5.5. Both are working fine and hosting
> > about 200 domain names. The problem is that every time a new domain is 
> added
> > I have to edit server.xml file and restart tomcat. With Apache I am 
> using
> > RewriteMap files so I just edit those files and no need to restart it. I
> > wanted to run it by you guys and see if anyone tried using Rewrite to 
> avoid
> > setting up virtual hosts in Tomcat server.xml file. Basically have 
> Rewrite
> > conditions in Apache say&quot;
> >
> > user1.com <http://user1.com> &lt;<a href="http://user1.com&gt;"

> target='_blank'>http://user1.com&gt;</a> rewrite to localhost/user1
> > user25.com <http://user25.com> &lt;<a href="http://user25.com&gt;"

> target='_blank'>http://user25.com&gt;</a> rewrite to localhost/user25
> >
> > This way Tomcat doesn't have to be setup with all those virtual domain
> > names.
> > Any idea how to do it? Of course I would not want the URL to change in 
> the
> > browser address bar so the rewrite would have to be internal only.
> >
> > What do you think?
> >
> > Thanks
> > Oleg
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message