| Author |
Pointing a domain name to your app
|
Timothy Sam
Ranch Hand
Joined: Sep 18, 2005
Posts: 746
|
|
Hi guys, I'm using JK connector for Apache. I think I am able to make my Apache web server communicate with Tomcat now... Problem is, whenever I access the domain, I'm still pointed to the directory tree instead of the application. browser -> apacheWS -> tomcat -> application WS = Web Server The above diagram is what I need to happen. Aside from that, I don't want my user to see some weird url like http://www.mydomain.com:8080/myapp, instead I want them to see something like http://www.mydomain.com or http://www.mydomain.com/actions/searchUser.do?userid=12345. Something like that... I have virtual hosts setup in my server.xml, but I can't post them right now since I'm not in the office and my internet connection is too slow to access our server. I know my apache and tomcat is able to communicate because the log file I defined using the <Valve> element inside the <Host> element is being generated when I invole the URL. That's just the problem though, instead of loading my application, invoking the domain would still show the directory tree and not my application. Any idea guys? Thanks!
|
SCJP 1.5
http://devpinoy.org/blogs/lamia/ - http://everypesocounts.com/
|
 |
 |
|
|
subject: Pointing a domain name to your app
|
|
|