[opencms-dev] OAMP RSS feed module, incorrect url in links
Mario Jäger
m.jaeger at alkacon.com
Fri Oct 15 09:24:23 CEST 2010
Hi Carl-Erik,
You also can configure the server "www.myserver.com" as workplace server and as site server in the opencms-system.xml:
...
<sites>
<workplace-server>http://www.myserver.com <http://www.mysite.com></workplace-server>
<default-uri>/sites/default/</default-uri>
<site server="www.myserver.com" uri="/sites/default/"/>
</sites>
...
How to remove the /opencms/opencms from the site url you can find here: http://www.opencms-wiki.org/Removing_/opencms/opencms_from_site_url
--
Kind Regards,
Mario.
-------------------
Mario Jäger
Alkacon Software GmbH - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org
Am 14.10.2010 11:02, schrieb Carl-Erik Herheim:
> Hi Mario, thanks for the reply!
> I'm sorry if I was unclear. The servername in opencms-system.xml is a local machine name, like this:
> <workplace-server>http://internalname:18080</workplace-server>
>
> The real site name is defined in tomcat server.xml like this
> <Connector port="18080" proxyPort="80" proxyName="www.myserver.com <http://www.myserver.com>" ... />
> I believe this is a common set-up as part of removing /opencms/opencms in the url using apache and proxy?
> So the problem is that the links in the rss feed go tohttp://internalname:18080/feed/yadayada0001.html, and I don't know how to fix it...
>
> Thanks,
> Carl-Erik
>
>
> At 14.10.2010 10:13, Mario Jäger wrote:
>
> >/Hi Carl-Erik,/
> >
> >/Yes, you are right. The rss feed uses the configuration in the opencms-system.xml. If you use the rss feed in site A, then the links in the rss feed go to site A. If you use the rss feed in site B, then the links in the rss feed go to site B.
> />
> >/What do you mean with the actual site url, that users can access? Please, describe your problem in more detail.
> />
> >/Did you also check it in the "Online" project?
> />
> >/--
> />/Kind Regards,
> />/Mario.
> />
> >/-------------------
> />/Mario Jäger
> />
> >/Alkacon Software GmbH - The OpenCms Experts
> /> <http://www.alkacon.com>/http://www.alkacon.com -http://www.opencms.org/
> >
> >>
> >>Am 13.10.2010 14:24, schrieb Carl-Erik Herheim:
> >>/ I've installed the OAMP rss feed module on one of our opencms servers,
> />>/ and I'm having trouble with the links in the rss feed.
> />>/ The link uses the address defined in<workplace-server> /<site server>
> />>/ in opencms-system.xml instead of the actual site url that users can
> />>/ access. I guess it bypasses the tomcat setup or whatnot... How can I fix
> />>/ this?
> />>/
> />>/ This is on a server with Opencms version 7.5.0, tomcat 5.5.27. We've
> />>/ removed /opencms/ from the path.
> />>/
> />>/
> />>/ Thanks,
> />>/ Carl-Erik Herheim
> /
>
>
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20101015/71555cd2/attachment.htm>
More information about the opencms-dev
mailing list