Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
james michael rush
Proxy from Apache
February 25, 2008 10:54 AM
Answer

james michael rush

Rank: New Member

Posts: 11

Join Date: January 14, 2008

Recent Posts

I was wondering if there might be a way to place a context prefix in fromt of the liferay application which would simplify these proxies, like instead of the liferay requests looking like:

server:8080/c/...
server:8080/html....

they could be configured to be accessed at:


server:8080/liferay/c/...
server:8080/liferay/html....

and then you would only have to proxy /liferay to the tomcat server from apache.

Does anyone know if this is possible? It seems like it should be do-able.
Jesper W
RE: Proxy from Apache
February 26, 2008 10:12 AM
Answer

Jesper W

Rank: Expert

Posts: 315

Join Date: March 25, 2007

Recent Posts

/c is just the Tomcat mapping (in web.xml) for MainServlet.
You can move that and all other mappings around as you like.

It's all just standard Tomcat servlet mappings.
Stephan Cray
RE: Proxy from Apache
March 6, 2008 12:56 AM
Answer

Stephan Cray

Rank: New Member

Posts: 10

Join Date: June 23, 2005

Recent Posts

Beside the web.xml change, here's some extra steps:

http://wiki.liferay.com/index.php/FAQ#How_do_I_deploy_Liferay_to_a_context_different_than_ROOT_.28starting_with_Tomcat_5.5_standalone.29

-Dafang
james michael rush
RE: Proxy from Apache
March 12, 2008 1:30 PM
Answer

james michael rush

Rank: New Member

Posts: 11

Join Date: January 14, 2008

Recent Posts

thanks a lot! I'll give this a try