aspose file tools*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
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://aspose.com/file-tools
 
subject: Apache Web Server mapping of URL to index page of the Application