• Post Reply Bookmark Topic Watch Topic
  • New Topic

letting the world access my site

 
Thomas Houseman
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ninkuma
Marshal
Posts: 65516
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Thomas Houseman
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!