Hi,
Im new in this area so please bear with me.
Im using Apache2, Tomcat5 and JK as connector on sun solaris 9. My application requirement is such that i have to deploy the web sites at runtime.
When i creat a new directory under webapps/ the tomcat gets this information and starts servicing this website. The problem is with apache.
In apache httpd.conf file, i have virtual host entry as:
<VirtualHost *>
ServerName myserver.com
DocumentRoot /export/tomcat/webapps
JkMount /ROOT/* tomcat1
JkMount /game1/* tomcat1
Alias /ROOT /export/tomcat/webapps/ROOT
Alias /game1 /export/tomcat/webapps/game1
</VirtualHost>
Now when i deploy game2 apache does not allow to access the resources under game2 directory.
The only way which i figured out is to use:
JkMount /* tomcat1
Is this solution fine? or there is some other solution.
Thanks in advance.
Regards,
syed
Im new in this area so please bear with me.
Im using Apache2, Tomcat5 and JK as connector on sun solaris 9. My application requirement is such that i have to deploy the web sites at runtime.
When i creat a new directory under webapps/ the tomcat gets this information and starts servicing this website. The problem is with apache.
In apache httpd.conf file, i have virtual host entry as:
<VirtualHost *>
ServerName myserver.com
DocumentRoot /export/tomcat/webapps
JkMount /ROOT/* tomcat1
JkMount /game1/* tomcat1
Alias /ROOT /export/tomcat/webapps/ROOT
Alias /game1 /export/tomcat/webapps/game1
</VirtualHost>
Now when i deploy game2 apache does not allow to access the resources under game2 directory.
The only way which i figured out is to use:
JkMount /* tomcat1
Is this solution fine? or there is some other solution.
Thanks in advance.
Regards,
syed