Edoardo,
The websites can be added and edited dynamically by the corresponding
owners. I am buidling something like Blogger.com. Where users can edit their
websites and published it. The engine is built using Tapestry.
Currently, I am using a servlet filter to forward Http requests to the
corresponding directories based on the subdomain. I think using virtual
hosts in tomcat would be a cleaner solution.
The reason for using Tomcat is simply ease of use, and I can dynamically
configure Tomcat using JMX (e.g. to add subdomain). Also, I have read that
using Tomcat to serve static HTML isnt really any slower compare to Apache
HTTP Server.
I wanted to find out from the Tomcat user commnunity if anyone is using
Tomcat with a large amount of virtual hosts. If anyone has any experience on
this, I will greatly appreciate if you can shed some light.
Thanks.
On 8/26/06, Edoardo Panfili <edoardo@aspix.it> wrote:
>
> KEGan ha scritto:
> > Hi,
> >
> > I am quite a Tomcat newbie. I am building an web application that host
> > about
> > 10,000 websites (only single static HTML for each website). Each website
> is
> > reference using a subdomain i.e. "website1.mycompany.com", "
> > website2.mycompany.com", and so on.
>
> a question: why do you want to use tomcat to serve static HTML, why
> Apache httpd isn't useful for you?
>
> Edoardo
>
> --
> edoardo@aspix.it
> AIM: edoardopn
> Jabber: edoardopa@talk.google.com
> tel:075 9142766
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
|