sammso / domain-redirect-hook

Liferay Domain Redirect hook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Liferay 6.2 Domain Redirect hook

This hook fixes domains so that if your Liferay domain is http://www.mysite.xyz and you type http://mysite.xyz hook does automaticly redirect to http://www.mysite.xyz. It also works other way if the site is http://mysite.xyz and you write http://www.mysite.xyz it will redirect http://mysite.xyz It uses virtuahost at Liferay to make decission.

only thing you need is this hook

To compile hook

Run

mvn package

and deploy resulted war file from target directory to your Liferay 'deploy' folder

About

Liferay Domain Redirect hook

License:GNU Lesser General Public License v3.0


Languages

Language:Java 100.0%