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"
Joined: Nov 01, 2008
Can anyone please throw some light on this?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Apache Web Server mapping of URL to index page of the Application