Tomcat server with two websites with two different authentications

2008-10-27 Thread Hisham Farahat
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) I hope some one help me in this.

Re: Tomcat server with two websites with two different authentications

2008-10-27 Thread Tim Funk
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

Re: Tomcat server with two websites with two different authentications

2008-10-27 Thread Hisham Farahat
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

Re: Tomcat server with two websites with two different authentications

2008-10-27 Thread Serge Fonville
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

Re: Tomcat server with two websites with two different authentications

2008-10-27 Thread Mark Thomas
Hisham Farahat wrote: Thanks for your reply. How can i configure the virtual hosts in tomcat? http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html Mark - To start a new topic, e-mail: users@tomcat.apache.org