[opencms-dev] multisite - broken link problem
Siegfried Puchbauer
siegfried.puchbauer at gmail.com
Mon Jul 18 15:56:09 CEST 2005
i have configured OpenCms for multiple sites
i have a site called SiteX in /system/sitex/
my problem is: when i create a link using the WYSIWIG editor's dialog
eg. in the page *Code:* /test/index.htmlto the page *Code:*
/test1/index.html
i get the following message while direct publishing:
*Code:* Broken link summary ...
Broken links in "/sites/sitex/test/index.html":
/sites/default/test1/index.html
... end of broken link summary
Found broken links in validated resources!
... finished validating links
in the published site the href of the link is:
*Code:* http://10.1.1.xxx:8080/cms/test1/index.html
but it should be
*Code:* http://10.1.1.xxx:8081/cms/test1/index.html
or
*Code:* http://OpenCms.localdomain.at/cms/test1/index.html
here are the relevant contents of
OpenCms-system.xml:
*Code:* <sites>
<workplace-server>http://10.1.1.xxx:8080</workplace-server>
<default-uri>/sites/default/</default-uri>
<site server="http://10.1.1.xxx:8080" uri="/sites/default/"/>
<site server="http://10.1.1.xxx:8081" uri="/sites/sitex/">
<alias server="http://OpenCms.localdomain.at"/>
</site>
<site server="http://10.1.1.xxx:8082" uri="/sites/playground/"/>
</sites>
OpenCms-importexport.xml:
*Code:* <rendersettings>
<rfs-prefix>${CONTEXT_NAME}/export</rfs-prefix>
<vfs-prefix>${CONTEXT_NAME}${SERVLET_NAME}</vfs-prefix>
<userelativelinks>false</userelativelinks>
<exporturl>http://10.1.1.xxx:8080/handle404</exporturl>
<plainoptimization>true</plainoptimization>
<testresource uri="/system/shared/page.dtd"/>
<resourcestorender>
<regex>/sites/.*</regex>
<regex>/system/galleries/.*</regex>
<regex>/system/modules/.*/resources/.*</regex>
<regex>/system/modules/.*/resources/img/.*</regex>
</resourcestorender>
</rendersettings>
its not a big problem to solve that link issue manually (by editing the
control-code), but it sould work automaticly for the end-users...
has anyone an idea, what this problem is caused by?
thanks for help!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050718/ce475323/attachment.htm>
More information about the opencms-dev
mailing list