On Mon, Aug 04, 2008 at 12:51:43PM -0700, Stephane Eybert wrote: > > Thanks Mattias. > > I shall try that! > > And what if I want to have several websites on the server, all served by > Resin..?
Stephane, I think you're looking for the <host-deploy> tag. In the default resin.conf, you have the following: <?xml version="1.0"?> <!-- configures a deployment directory for virtual hosts --> <host-deploy path="hosts"> <host-default> <import path="host.xml" optional="true"/> </host-default> </host-deploy> Which means that if you have the hosts directory set up as below: hosts/ www.foo.com/ webapps/ ROOT/ index.html www.bar.com/ webapps/ ROOT/ index.html The appropriate index.html will be served from the appropriate host. This page has more in depth information: http://www.caucho.com/resin/doc/virtual-host.xtp Emil ============================================================ Emil Ong Chief Evangelist Caucho Technology, Inc. Tel. (858) 361-2436 mailto:[EMAIL PROTECTED] http://blog.caucho.com/ Caucho: Reliable Open Source --> Resin: application server --> Quercus: PHP in Java --> Hessian Web Services _______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest