How to configure liferay web proxy

Written by jonah quant
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to configure liferay web proxy
The Liferay Web portal can work behind a Web proxy. (Web graphic button image by Sirena Designs from Fotolia.com)

Liferay Portal is an open-source Web application framework used to create enterprise portals on the World Wide Web. Liferay runs on Web servers; it generates dynamic Web content and gives Web access to resources implemented by servers installed inside a corporate intranet. In many cases, clients access Liferay by way of a Web proxy that sits between client networks and the server running Liferay. You can configure Liferay to work with such a set-up.

Skill level:
Moderate

Other People Are Reading

Things you need

  • Administrator access to the computer running Liferay

Show MoreHide

Instructions

  1. 1

    Log in as a user with administrator privileges.

  2. 2

    Create a new file named "system-ext.properties" within any directory contained in the Java classpath. Since Liferay runs on many operating systems, the details of this operation depend on the specific operating system being used. For example, on Windows create a command window by clicking "Start," then "Run," then entering "cmd" and pressing "Enter."

  3. 3

    Type within the new command window "ECHO %CLASSPATH%" (without quotation marks) and press "Enter." Windows will reply with the current value of the classpath, for example, "CD C:\Tomcat\lib\jar." Type "CD C:\Tomcat\lib\jar" (without quotation marks) and press "Enter." Type "EDIT system-ext.properties" and press "Enter" to start editing the new file.

  4. 4

    Add these two lines to "system-ext.properties":

    http.proxyHost=49.230.1.100

    http.proxyPort=4480

    replacing "49.230.1.100" with the IP address of the host running the Web proxy, and "4480" by the port number for the proxy service. Save the file and exit the editor.

  5. 5

    Restart the computer. Liferay is ready to use the Web proxy.

Don't Miss

Filter:
  • All types
  • Articles
  • Slideshows
  • Videos
Sort:
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the eHow.co.uk site, you consent to the use of cookies. For more information, please see our Cookie policy.