File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

liferay: different content for different ip addresses

 
Pablo Marmol
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everyone,

I'm using Liferay in a project and customer has requested me a new functionality: They want to show different content depending on the IP address of the client. My customer has different ip ranges for his clients, let say range 1, range 2, range 3. When a client points his/her browser to the main page of my customer's site, a page for range 1, 2 or 3 should be shown if the client has an ip address in the range 1, 2 or 3.
My customer has apache as front-end, and weblogic with liferay as a back-end. I suppose that if liferay tries to obtain the client ip address, probably the obtained ip would be an apache ip, so maybe this approach won't work. Another approach could be to use apache redirecting rules (that is, identifying the source network in apache and appending certain parameter to the URL for weblogic).
Could you help me? Please, i need only a few comments about this, a link or something. I don't know if this is an usual requirement, but i'm pretty sure that someone has faced this challenge before me.

Thank you very much in advance.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic