tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Multiple websites in tomcat
Date Sat, 19 Jul 2008 19:25:19 GMT
Ravi Sharma wrote:
[...]

I'm not as competent as Rainer, but your problem may be here :
> 
> worker.list=wlb,jkstatus,testWorker

and here

> worker.ajp13w.type=ajp13
> worker.ajp13w.host=localhost
> worker.ajp13w.port=8009
> 

In other words, in the "workers list", you are mentioning the worker 
"testWorker", but in the following "worker.*" lines, you don't mention 
"testWorker", but "ajp13w".

Maybe you want to change these 3 lines to
  worker.testWorker.type=ajp13
  worker.testWorker.host=localhost
  worker.testWorker.port=8009
and try again ?


Personally, I would also change this :

> <Location "/examples/WEB-INF/">
> AllowOverride None
> deny from all
> </Location>
> 
to this :

<Directory "/var/www/xyz/examples/WEB-INF"> (*)
   Order allow,deny
   deny from all
</Directory>

(*) replace this by the real disk path to WEB-INF

the reason being that, if you are under Windows e.g., someone requesting 
the URI "/examples/web-inf" would get to the directory, because it does 
not match exactly the <Location>, and for Windows the directory path is 
case-insensitive, so Apache will serve it.
See here :
http://httpd.apache.org/docs/2.2/mod/core.html#location


---------------------------------------------------------------------
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


Mime
View raw message