Fórumok

Liferay Tomcat and Apache WebServer Integration

Balaji Chopparapu, módosítva 11 év-val korábban

Liferay Tomcat and Apache WebServer Integration

New Member Bejegyzések: 22 Csatlakozás dátuma: 2010.10.08. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: Liferay Tomcat and Apache WebServer Integration

Liferay Legend Bejegyzések: 14915 Csatlakozás dátuma: 2006.09.02. Legújabb bejegyzések
No, because that content is not known to be static.
Balaji Chopparapu, módosítva 11 év-val korábban

RE: Liferay Tomcat and Apache WebServer Integration

New Member Bejegyzések: 22 Csatlakozás dátuma: 2010.10.08. Legújabb bejegyzések
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, módosítva 11 év-val korábban

RE: Liferay Tomcat and Apache WebServer Integration

Liferay Legend Bejegyzések: 7942 Csatlakozás dátuma: 2010.03.24. Legújabb bejegyzések
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