Hi,
I am using jk, apache 1.3 server and tomcat 5.
I have setup new virtual server with apache and using
jk to server the jsp requests to tomcat. (The server is listening on port 200)
I have used following settings for virtual server
<VirtualHost *:200>
ServerAdmin
info@test.com
DocumentRoot G:/jspprojects/myproject
ServerName intellect
<Directory "G:/jspprojects/myproject">
Options Indexes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
JkMount /servlet/* testWorker
JkMount /*.jsp testWorker
<location "/web-inf/">
AllowOverride None
deny from all
</location>
</VirtualHost>
And my workers file is
worker.list=testWorker
worker.testWorker.port=8009
worker.testWorker.host=localhost
worker.testWorker.type=ajp13
I have tried to view the page in my browser using
http://localhost:200/ and I got the listing of files under
"myprojects" directory. when i click on any html or gif file I get the file view but when i click on index.jsp file
It is showing me the file of tomcat(
http://localhost:8080) and not my projects file. Please help me to solve this issue. when ever i request any jsp file it is not picking up that file from myprojects directory rather it is taking default tomcat root directory. Tell me where i am going wrong.