If its working for you as you need and expect, its OK.
John
On Wed, 16 Jul 2003 17:57:48 -0300, Juan Nin <[EMAIL PROTECTED]> wrote:
From: "John Turner" <[EMAIL PROTECTED]>
Typo. "director" = "directory"
oh, ok, I thought maybe it was a typo :)
The problem with having multiple webapps for multiple virtual hosts all under CATALINA_HOME/webapps is that things get a little messy.
yes, I thought of that..
cross-If you put app1 and app2 under webapps, both of your Hosts will have the same appBase (webapps). Then things like the Tomcat manager will behost, that is, app2 will also work for host1 (www.host1.com/app2) and app1other
will work for host2 (www.host2.com/app1). That may or may not be
acceptable...in some cases, app2 should not be accessible to anythingthan host2.
interesting, in my case they shouldn;t be accesible
In order to achieve this, you have to set different appBase's for eachHost(like CATALINA_HOME/hosts/host1 and CATALINA_HOME/hosts/host2). That's what I was describing earlier.
ok now I get what you tried to say :)
in my case the VirtualHost's directory is /var/www/domain.com and it's working with the folowwing section in my server.xml file:
<Host name="www.domain.com" debug="0" appBase="/var/www/domain.com" unpackWARs="true" autoDeploy="true">
<Context path="" docBase="" debug="1"/>
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="domain.com_access_log." suffix=".txt" pattern="common" resolveHosts="false"/> </Host>
is this ok, or is there any problem? I always see all of the examples putting things under CATALINA_HOME, but this is working ok in /var/www/domain.com
thnx again for all!!!
Juan
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
