Is there any way of configuring the embedded tomcat (from run-app) to respond to myapp.localhost:8080 instead of localhost:8080/myapp ?
+2
A:
modify your local hosts file so myapp.localhost points to localhost
127.0.0.1 myapp.localhost
modify the conf/Config.groovy
and add grails.app.context = “/”
Aaron Saunders
2010-09-07 14:13:08
But I will still have to put the URL: http://myapp.localhost:8080/myapp - I want to configure the server to use the root. It also doesn't matter that the domain is myapp.localhost or just localhost.
cripox
2010-09-07 15:04:04
@cripox see edits to solve second part of question
Aaron Saunders
2010-09-07 15:08:46