Fix Virtual Host Hooks

This app acts in the startup time of portal and help to fix the virtual host of Liferay. Given an existent database dump that points to a domain and a new environment needs to have a different domain the app will read a system property called liferay.virtual.host and set the value as the new company virtual host. For instance if the database dump points to www.myliferay.com and the property points to dev.myliferay.com the app will replace the former with the value of the latter. It was developed to avoid the redirect loop problem.

License

License

GroupId

GroupId

br.com.thiagomoreira.liferay.plugins.fix-virtual-host-app
ArtifactId

ArtifactId

hooks
Last Version

Last Version

5.1.0
Release Date

Release Date

Type

Type

pom
Description

Description

Fix Virtual Host Hooks
This app acts in the startup time of portal and help to fix the virtual host of Liferay. Given an existent database dump that points to a domain and a new environment needs to have a different domain the app will read a system property called liferay.virtual.host and set the value as the new company virtual host. For instance if the database dump points to www.myliferay.com and the property points to dev.myliferay.com the app will replace the former with the value of the latter. It was developed to avoid the redirect loop problem.
Project Organization

Project Organization

Thiago Moreira

Download hooks

Filename Size
hooks-5.1.0.pom 1 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/br.com.thiagomoreira.liferay.plugins.fix-virtual-host-app/hooks/ -->
<dependency>
    <groupId>br.com.thiagomoreira.liferay.plugins.fix-virtual-host-app</groupId>
    <artifactId>hooks</artifactId>
    <version>5.1.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/br.com.thiagomoreira.liferay.plugins.fix-virtual-host-app/hooks/
implementation 'br.com.thiagomoreira.liferay.plugins.fix-virtual-host-app:hooks:5.1.0'
// https://jarcasting.com/artifacts/br.com.thiagomoreira.liferay.plugins.fix-virtual-host-app/hooks/
implementation ("br.com.thiagomoreira.liferay.plugins.fix-virtual-host-app:hooks:5.1.0")
'br.com.thiagomoreira.liferay.plugins.fix-virtual-host-app:hooks:pom:5.1.0'
<dependency org="br.com.thiagomoreira.liferay.plugins.fix-virtual-host-app" name="hooks" rev="5.1.0">
  <artifact name="hooks" type="pom" />
</dependency>
@Grapes(
@Grab(group='br.com.thiagomoreira.liferay.plugins.fix-virtual-host-app', module='hooks', version='5.1.0')
)
libraryDependencies += "br.com.thiagomoreira.liferay.plugins.fix-virtual-host-app" % "hooks" % "5.1.0"
[br.com.thiagomoreira.liferay.plugins.fix-virtual-host-app/hooks "5.1.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • fix-virtual-host-hook

Versions

Version
5.1.0
5.0.1
5.0.0
4.1.0
4.0.0
3.0.1
3.0.0
2.0.0
1.2.0
1.1.0
1.0.0