Reply To: Grails + rewrite

Splash Forums Rewrite Users Grails + rewrite Reply To: Grails + rewrite

#27542

my question is : can i implement rewrite with grails ? i’m using 2.2.5 version

Rewrite should work with any frameworks which uses the Servlet API. So my guess is: Yes, it will work.

if yes. second question is how to keep the same url when the subdomain changes?

You cannot simply change the hostname in the address bar. This would be a great way to do phishing. 😉

AFAIK there is a Proxy rule in Rewrite which basically acts as a reverse proxy. But I think in most cases it would be simpler to just configure nginx or httpd as a reverse proxy instead.