Skip to content

tmoreira2020/fix-virtual-host-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fix Virtual Host App

Build Status Coverage Status Maven Central

The app proccess all virtual hosts replacing the prefix declared in the property virtual.host.old.prefix with the prefix declared in the property virtual.host.new.prefix. For instance if the database has the following virtual hosts:

and the properties are set as virtual.host.old.prefix=www and virtual.host.new.prefix=dev after the hook run the new value of virtual hosts will be:

  • dev.myliferay.com
  • dev.portalliferay.com
  • dev.newportal.com

Sample

-Dvirtual.host.old.prefix=www -Dvirtual.host.new.prefix=dev

License

Fix Virtual Host App is licensed under Apache 2 license.

Maven/Gradle

Fix Virtual Host App is available on Maven central, the artifact is as follows:

Maven:

<dependency>
    <groupId>br.com.thiagomoreira.liferay.plugins.fix-virtual-host-app</groupId>
    <artifactId>fix-virtual-host-app</artifactId>
    <version>1.1.0</version>
    <type>lpkg</type>
</dependency>

Gradle:

dependencies {
    compile(group: "br.com.thiagomoreira.liferay.plugins.fix-virtual-host-app", name: "fix-virtual-host-app", version: "1.1.0", type: "lpkg");
}

Support

Fix Virtual Host App tracks bugs and feature requests with Github's issue system. Feel free to open your new ticket!

Contributing

Fix Virtual Host App is a project based on Maven to improve it you just need to fork the repository, clone it and from the command line invoke

mvn package

After complete your work you can send a pull request to incorporate the modifications.

Enjoy!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages