In Tomcat there is already a host defined (localhost)Copy that block and you
have a new host (change the path though)
And look at the docs about realms, virtual hosts, engine and services and
their nesting

Regards,

Serge Fonville

On Mon, Oct 27, 2008 at 12:09 PM, Hisham Farahat <[EMAIL PROTECTED]>wrote:

> Thanks for your reply.
> How can i configure the virtual hosts in tomcat?
>
> On Mon, Oct 27, 2008 at 1:49 PM, Tim Funk <[EMAIL PROTECTED]> wrote:
>
> > You need to configure a Realm per Virtual Host (or if different webapps
> in
> > the same vhost need different authentication schemes - the Realm element
> can
> > be per context too)
> >
> > http://tomcat.apache.org/tomcat-6.0-doc/config/realm.html
> >
> > -Tim
> >
> > Hisham Farahat wrote:
> >
> >> Dear All,
> >> Can i configure tomcat to host to different websites? How can i do it?
> any
> >> directions?
> >> Moreover i need to have two different authentication methods for the two
> >> websites, (e.g. one using LDAP and the other using normal tomcat user
> list
> >> (
> >> tomcat-users.xml)
> >>
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Hisham Farahat
>

Reply via email to