留言板

Liferay Tomcat and Apache WebServer Integration

Balaji Chopparapu,修改在11 年前。

Liferay Tomcat and Apache WebServer Integration

New Member 帖子: 22 加入日期: 10-10-8 最近的帖子
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,修改在11 年前。

RE: Liferay Tomcat and Apache WebServer Integration

Liferay Legend 帖子: 14919 加入日期: 06-9-2 最近的帖子
No, because that content is not known to be static.
Balaji Chopparapu,修改在11 年前。

RE: Liferay Tomcat and Apache WebServer Integration

New Member 帖子: 22 加入日期: 10-10-8 最近的帖子
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,修改在11 年前。

RE: Liferay Tomcat and Apache WebServer Integration

Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
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