掲示板

How to put xml file at portal level

thumbnail
7年前 に Ravi Darji によって更新されました。

How to put xml file at portal level

Junior Member 投稿: 56 参加年月日: 14/05/14 最新の投稿
Hi Everyone,

I want to add xml file which can be accessible by below mentioned url

localhost:8080/abc.xml

to do this, what i have to do?
and where to put abc.xml file so i can access using above mentioned url.

Thanks & Regards,
Ravi Darji
+91 84 60 77 3036
7年前 に Shiva goud によって更新されました。

RE: How to put xml file at portal level

Regular Member 投稿: 110 参加年月日: 15/01/02 最新の投稿
Hi Ravi ,
use virtual.hosts.ignore.extensions=.xml in portal-ext.properties and place your abc.xml inside ROOT ,,and restart the server ,will work as expectedemoticon
thumbnail
7年前 に Olaf Kock によって更新されました。

RE: How to put xml file at portal level

Liferay Legend 投稿: 6403 参加年月日: 08/09/23 最新の投稿
Ravi Darji:
I want to add xml file which can be accessible by below mentioned url

localhost:8080/abc.xml

If you have an Apache httpd (or similar reverse proxy) in front of your appserver, mod_rewrite or mod_redirect are your friends - doesn't require any fiddling with Liferay's files and eases separation of concerns as well as later upgrades to Liferay.