manfredino
asked on
share resources for web and application server
Hi gurus,
Here I got a problem to solve. There are two domains on my web server (e.g. domain S and domain W). Domain S will use the JSPs on application server.
Let's assumed I have a new form placed on application server and I wanna make use of those images and stylesheets on web server.
Is there any way I can configure in my apache and tomcat, so that I can do the followings?
e.g.
Types Availability
html Domain W
jsp Domain S
jpeg Domain W & Domain S
css Domain W & Domain S
js Domain W & Domain S
If so, what files I have to configure? I knew there are some XMLs but i am not too sure.
Thanks for your help.
Here I got a problem to solve. There are two domains on my web server (e.g. domain S and domain W). Domain S will use the JSPs on application server.
Let's assumed I have a new form placed on application server and I wanna make use of those images and stylesheets on web server.
Is there any way I can configure in my apache and tomcat, so that I can do the followings?
e.g.
Types Availability
html Domain W
jsp Domain S
jpeg Domain W & Domain S
css Domain W & Domain S
js Domain W & Domain S
If so, what files I have to configure? I knew there are some XMLs but i am not too sure.
Thanks for your help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Assume here's my case.
1. s-stuff https://s-stuff.MySite.com (secured stuff with JSP from application server)
2. www http:/www.MySite.com (mainly static stuff like html and images, etc)
If I'm browsing a page through https (e.g. https://s-stuff.MySite.com/abc.jsp) and there are some images for navigation menu.
Would these images derived from https://www.MySite.com/images/menu1.gif or http://www.MySite.com/images/menu1.gif?
1. s-stuff https://s-stuff.MySite.com (secured stuff with JSP from application server)
2. www http:/www.MySite.com (mainly static stuff like html and images, etc)
If I'm browsing a page through https (e.g. https://s-stuff.MySite.com/abc.jsp) and there are some images for navigation menu.
Would these images derived from https://www.MySite.com/images/menu1.gif or http://www.MySite.com/images/menu1.gif?
ASKER
Thanks for your information, it helps me a lot!
As there are several XML files for Apache and Tomcat, they look quite similar but I am wondering if I have to modify all those serverl.xml / web.xml.
Thanks for your help again.
Cheers,
Manfred