| Author |
letting the world access my site
|
Thomas Houseman
Ranch Hand
Joined: Jul 30, 2009
Posts: 31
|
|
Hi guys ,
I have a site on my server .
You can acces to my site using the url : www.myurl.com/myApp (just for the example).
The problem is :
As I mentioned, my domain is www.myurl.com and the requests are comming to that domain and not to www.myurl.com/myApp.
What should i do in order to receive the requests ? (my server accept to get the root-context...).
Thanks !
|
 |
Bear Bibeault
Author and opinionated walrus
Marshal
Joined: Jan 10, 2002
Posts: 48799
|
|
Thomas Houseman wrote:As I mentioned, my domain is www.myurl.com and the requests are comming to that domain and not to www.myurl.com/myApp.
How are these requests being generated? If you are putting links around the web, they should contain the proper URL including the context path.
If you are only hosting one web app, you could make it the root web app with a blank context path, but if your server will host more than one app, you are going to have to get used to URLs containing context paths.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Thomas Houseman
Ranch Hand
Joined: Jul 30, 2009
Posts: 31
|
|
Bear Bibeault wrote:
Thomas Houseman wrote:As I mentioned, my domain is www.myurl.com and the requests are comming to that domain and not to www.myurl.com/myApp.
How are these requests being generated? If you are putting links around the web, they should contain the proper URL including the context path.
If you are only hosting one web app, you could make it the root web app with a blank context path, but if your server will host more than one app, you are going to have to get used to URLs containing context p
aths.
Thanks for answer.
Is it possible to make the root web app with a blank context path ? I tried that and it didn't worked.
Are you sure ?
|
 |
 |
|
|
subject: letting the world access my site
|
|
|