• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
S Das
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
S Das
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone please throw some light on this?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic