Url rewriting 如何激活eXo平台中的友好服务?
我已经尝试了几天来激活3.5.x中的,但到目前为止都没有成功 在本节中:Url rewriting 如何激活eXo平台中的友好服务?,url-rewriting,Url Rewriting,我已经尝试了几天来激活3.5.x中的,但到目前为止都没有成功 在本节中: 管理>管理 有一个名为Friendly service的服务,它允许eXo将请求URL重写为另一个URL(以更可读的格式)。但是,此服务已停用 有人能告诉我如何激活它吗?1.启动服务器时,您需要启用“友好”配置文件: 示例:/start\u eXo.sh-Dfriendly 2.注册FriendlyService时,您需要提供参数enable作为true: <component> <key>or
管理>管理
有一个名为Friendly service
的服务,它允许eXo将请求URL重写为另一个URL(以更可读的格式)。但是,此服务已停用
有人能告诉我如何激活它吗?1.启动服务器时,您需要启用“友好”配置文件: 示例:
/start\u eXo.sh-Dfriendly
2.注册FriendlyService
时,您需要提供参数enable
作为true
:
<component>
<key>org.exoplatform.services.wcm.friendly.FriendlyService</key>
<jmx-name>exo-service:type=FriendlyService</jmx-name>
<type>org.exoplatform.services.wcm.friendly.impl.FriendlyServiceImpl</type>
<init-params>
<value-param>
<name>enabled</name>
<value>true</value>
</value-param>
</init-params>
</component>
org.exoplate.services.wcm.friendly.FriendlyService
exo服务:类型=FriendlyService
org.exoplate.services.wcm.friendly.impl.FriendlyServiceImpl
启用
真的
希望对您有所帮助。1.启动服务器时,您需要启用“友好”配置文件: 示例:
/start\u eXo.sh-Dfriendly
2.注册FriendlyService
时,您需要提供参数enable
作为true
:
<component>
<key>org.exoplatform.services.wcm.friendly.FriendlyService</key>
<jmx-name>exo-service:type=FriendlyService</jmx-name>
<type>org.exoplatform.services.wcm.friendly.impl.FriendlyServiceImpl</type>
<init-params>
<value-param>
<name>enabled</name>
<value>true</value>
</value-param>
</init-params>
</component>
org.exoplate.services.wcm.friendly.FriendlyService
exo服务:类型=FriendlyService
org.exoplate.services.wcm.friendly.impl.FriendlyServiceImpl
启用
真的
希望能有帮助