Fórum

Liferay Tomcat and Apache WebServer Integration

Balaji Chopparapu, modificado 11 Anos atrás.

Liferay Tomcat and Apache WebServer Integration

New Member Postagens: 22 Data de Entrada: 08/10/10 Postagens Recentes
Hi ,

I integrated Apache Webserver and Liferay tomcat. I made webserver to serve the static content like images,css,java script ..etc that belong to liferay server and portlets.

My Question is “Is it possible to serve the content from document_library using apache webserver instead of liferay tomcat? ”

Thanks in Advance
Balaji
thumbnail
David H Nebinger, modificado 11 Anos atrás.

RE: Liferay Tomcat and Apache WebServer Integration

Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
No, because that content is not known to be static.
Balaji Chopparapu, modificado 11 Anos atrás.

RE: Liferay Tomcat and Apache WebServer Integration

New Member Postagens: 22 Data de Entrada: 08/10/10 Postagens Recentes
Thanks for the reply David. The documents like pdf ,word docs ... etc that are stored in document_library can be treated as static content but they are manipulated and stored. Where apache module doesn't know to decipher it.

Thanks once again for your inputs David.

~Balaji
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: Liferay Tomcat and Apache WebServer Integration

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
It's mostly about permissions. If you don't need to set permission and version control, why not just make the file available in apache httpd instead of uploading to liferay?

It's possible to set the location of where document library stores file by setting the following property. It's possible to set this to somewhere Apache httpd can access but you may run into trouble if you version up the file.

#
# FileSystemStore
#
dl.store.file.system.root.dir=${liferay.home}/data/document_library