[opencms-dev] URL issue with opencms portlet module

Shi Yusen shiys at langhua.cn
Sat May 29 09:18:14 CEST 2010


If both OpenCms and JBoss Portal are under your control, you can use
Apache in front and rewrite image urls.

If not that case, you can change the template to replace the urls,
something like replaceAll("/opencms/export/",
"http://localhost:8088/opencms/export/").

Regards,

Shi Yusen/Beijing Langhua Ltd.


在 2010-05-28五的 11:00 +0200,lugge.bezi at gmx.de写道:
> Hi everybody,
> 
> this is my first post and I kindly ask for your help regarding the opencms-portlet module.
> 
> I installed locally on my Windows desktop:
> 
> 1) OpenCMS 7.5.2 on Tomcat (Port 8088!) and MySQL with the example template and example content
> 2) JBoss Portal Server 2.7.2 on Jboss Application Server 4.3 (Port 8080)
> 
> Both are up and running.
> 
> Then I installed the opencms portlet module 1.0.5 and restartet OpenCMS. Up and running.
> 
> I created a portlet.war following the instructions pointing top a standard news page (based on example OpenCMS content) and deployed it on JBoss Portal Server.
> 
> Up and running (great work, guys!) - I can see the text but unfortunately I can't see the images and can't use the http links - because somewhere the OpenCMS port 8088 is replaced by the Jboss port 8080 and of course there are no images and OpenCMS content.
> Only the link of the news headline is working (there is something like %(Link1) in the OpenCMS config but I was not able to use it similar for other links or pictures.
> 
> Can you help me out?
> 
> Thanks and best regards,
> Karl
> -- 
> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list