Foren

Fronting Liferay Themes through Apache Web server

Megha Shah, geändert vor 12 Jahren.

Fronting Liferay Themes through Apache Web server

New Member Beiträge: 21 Beitrittsdatum: 29.09.11 Neueste Beiträge
Hi,
In my application, we are using a customized theme (mytheme.war) created using liferay plugins sdk. Now this theme when placed under liferay/deploy (Application server) it renders fine.
My requirement is to fetch the css/images/js related to the mytheme.war from the web server, so that we can better manage the static content - our static content changes periodically.
But since the theme is a war file, I want to know how to isolate the static content.
I am using Apache Web server-> Liferay 6 with Jboss 5.1

Thanks
thumbnail
Thiago Leão Moreira, geändert vor 12 Jahren.

RE: Fronting Liferay Themes through Apache Web server

Liferay Legend Beiträge: 1449 Beitrittsdatum: 10.10.07 Neueste Beiträge
Take a look at the attribute virtual-path of theme tag at your liferay-look-and-feel.xml. More info at http://www.liferay.com/dtd/liferay-look-and-feel_6_0_0.dtd