This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Apache Web Server mapping of URL to index page of the Application Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Apache Web Server mapping of URL to index page of the Application" Watch "Apache Web Server mapping of URL to index page of the Application" New topic
Author

Apache Web Server mapping of URL to index page of the Application

S Das
Greenhorn

Joined: Nov 01, 2008
Posts: 3
I have developed a JSF application which is running on Glassfish App Server and it is hosted on internet. We have a domain name say: xyz.com. Now I have configured the DNS with ZoneEdit and have Apache Web server where all the requests for this website are landing on. Also I have successfully integrated the Glassfish app server with Apache web server. Well, everything is fine and users are able to access the application online...But here is my issue:
Now the users have to type xyz.com/MyapplicationWeb/view/index.jsf to land on the index page of the application. If we navigate to xyz.com the index.html (It works!) is diaplyed from Apache DocumentRoot. I want all the requests to be routed to xyz.com/MyapplicationWeb/view/index.jsf whenever the user uses just xyz.com

I think we can use mod_rewrite or ProxyPassReverse directive to address this issue. Can anyone please help me on this. I am using Apache 2.2.


Thanks,<br />Sudipto<br /> <br />"Build the Java Community"
S Das
Greenhorn

Joined: Nov 01, 2008
Posts: 3
Can anyone please throw some light on this?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Apache Web Server mapping of URL to index page of the Application
 
Similar Threads
Server Request Problem
Help Running GlassFish bundled with Netbeans, what does Apache & IIS redirect have to do with this?
Image display problem
jkMount with apache loading glassfish subdomains
Apache and WL 9.2