Reputation: 161
I would like to ask about the way how I shoudl change my app link when moving to production. During dev it was like //mydomain.com/magnoliaPublic/myApp/ but now I have to change it to be like myclientdomain.com/ without magnoliaPublic/myApp. Inside the jsp pages I have links for images pointing to the one with magnoliaPublic/resource/myApp.
Best Regards Jan
Upvotes: 0
Views: 2654
Reputation: 2924
You have basically three possibilities:
Service
s in your Tomcat's server.xml (e.g. author.mydomain.com
and www.mydomain.com
), and deploy author instance in the first one, and public instance in the second one, both as a ROOT
webapp. Then use Apache and mod_proxy.ROOT
webapp, and keep the author instance as magnoliaAuthor
(or just author
). Then you will have your public instance as mydomain.com
and author instance as mydomain.com/author
(of course if you configure your Tomcat to run at the port 80).Upvotes: 2