Hello All,<br><br>I'm Gerald Butler. Just joined the list. New to OpenCMS.<br><br>I just downloaded the latest from the DEV_7_0 branch from CVS last night. Built it using Eclipse (Target = .WAR). Deployed on Tomcat 6.0.18 on Ubuntu Linux 8.10.<br>
<br>I'm using the standard "tar.gz" distribution of Tomcat and untarred into my home directory. I'm not using the Tomcat 6 from the Ubuntu repositories.<br><br>My problems are these:<br><br><div style="margin-left: 40px;">
First, I tried to use PostgreSQL 8.3 as the database. I ran the "<a href="http://localhost:8080/opencms/setup">http://localhost:8080/opencms/setup</a>" and it went through correctly. It created the database, schema, and user correctly. It goes through all the way to the end and then when I try to "Login" it gives an exception related to "Admin" not having access to the "Workspace Manager" role. I searched for the errror and found a post/bug from Jan 2008 indicating that this was caused by the stricter requirements surrounding casting/comparing differing data-types - in this case the problem seems to be comparing "int" to "varchar" without a cast.<br>
<br>My question is this, is it possible to make OpenCMS work with PostgreSQL 8.3 and I'm just missing something, or is this a known problem? Does OpenCMS use an ORM layer (Hibernate,TopLink,etc) or straight JDBC? (It seems to me, on initial inspection, that it uses straight JDBC).<br>
<br>Next, I switched to using MySQL 5.0.67. Everything then seems to work and "Core" initialized properly, as far as I can tell according to the logs. However, when I try to log in, I just get a blank page. No errors in any of the logs that I can see. Any thing I'm missing? More information required? Please Help!?!<br>
<br></div>Kind Regards,<br><br>Gerald E. Butler<br><br><br><div class="gmail_quote">On Thu, Apr 16, 2009 at 6:00 AM, <span dir="ltr"><<a href="mailto:opencms-dev-request@opencms.org">opencms-dev-request@opencms.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Send opencms-dev mailing list submissions to<br>
<a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:opencms-dev-request@opencms.org">opencms-dev-request@opencms.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:opencms-dev-owner@opencms.org">opencms-dev-owner@opencms.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of opencms-dev digest..."<br>
<br>Today's Topics:<br>
<br>
1. Bug? Re: 404 on export when exportname is "/" (Marc Johnen)<br>
2. Re: Opencms can generate the code in XHTML 1.1?<br>
(Deiverson Silveira)<br>
3. XML Content Editor Not Saving Special Characters Correctly<br>
(Brett Sheeran)<br>
4. Re: XML Content Editor Not Saving Special Characters<br>
Correctly (Christian Steinert)<br>
5. Sites down due to export error (Paul-Inge Flakstad)<br>
<br><br>---------- Forwarded message ----------<br>From: Marc Johnen <<a href="mailto:opencms@johnen.biz">opencms@johnen.biz</a>><br>To: <a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><br>Date: Wed, 15 Apr 2009 04:03:15 -0700 (PDT)<br>
Subject: [opencms-dev] Bug? Re: 404 on export when exportname is "/"<br><br>
Thank you for your answer Dave.<br>
I'm afraid this is not a feasible solution as I would<br>
have to adjust the configuration every time the<br>
user ads a folder.<br>
Also I think there's something wrong with my configuration.<br>
I tried the same in 6.2.3 and got the same error, or is<br>
this maybe a bug?<br>
Greetings<br>
Marc<br>
<br>
<br>
Dave Clark wrote:<br>
><br>
> Marc,<br>
><br>
> Using "/" as exportname for "/sites/default/" didn't work for me. Instead<br>
> I used "/" as exportname for each of its subdirectories I wanted to<br>
> export, and created an rfs-rules rule for each of those subdirectories.<br>
> That worked for me in 7.0.5.<br>
><br>
> -- Dave Clark<br>
><br>
><br>
><br>
>>>> Marc Johnen <<a href="mailto:opencms@johnen.biz">opencms@johnen.biz</a>> 4/9/2009 10:07 AM >>><br>
><br>
> Hello everyone,<br>
><br>
> I'd like to make a static export of two websites. The export won't contain<br>
> any<br>
> dynamic things and will be copied from my local computer to an apache<br>
> directory<br>
> on the server.<br>
> Therefore the export should not contain any links with "/opencms/opencms",<br>
> this is why<br>
> I removed the "rfs-prefix". Now I wanted to remove the<br>
> "/sites/<a href="http://mysite1.de/" target="_blank">mysite1.de/</a>"<br>
> from<br>
> the links, so I set the exportname for the folde "/sites/<a href="http://mysite1.de/" target="_blank">mysite1.de/</a>" to<br>
> "/".<br>
> When I export the site I get a 404 when the export of template-resources<br>
> starts.<br>
> Strangely it does work, when I set the exportname to anything other than<br>
> "/", e.g.<br>
> "/test", but then I have "test" in the links as well which is not what I<br>
> want.<br>
> Does anyone have a clue why this happens?<br>
> Thanks and greetings<br>
> Marc Johnen<br>
><br>
> error message:<br>
> 08 Apr 2009 16:38:19,152 INFO [fterPublishStaticExportHandler: 450]<br>
> Request<br>
> result for RFS file "/_contentlinkbox.conf" with url<br>
> "<a href="http://127.0.0.1:8380/opencms/handle404/_contentlinkbox.conf" target="_blank">http://127.0.0.1:8380/opencms/handle404/_contentlinkbox.conf</a>" was<br>
> STATUS=404<br>
> 08 Apr 2009 16:38:19,195 DEBUG [fterPublishStaticExportHandler: 384]<br>
> Sending<br>
> request for RFS file "/_global.conf" with url<br>
> "<a href="http://127.0.0.1:8380/opencms/handle404/_global.conf" target="_blank">http://127.0.0.1:8380/opencms/handle404/_global.conf</a>"<br>
> 08 Apr 2009 16:38:19,196 DEBUG [fterPublishStaticExportHandler: 427]<br>
> Request<br>
> for RFS file "_global.conf" "If-Modified-Since" header set to "0"<br>
> 08 Apr 2009 16:38:19,230 DEBUG [pencms.site.CmsSiteManagerImpl: 686]<br>
> Matching request [<a href="http://127.0.0.1:8380" target="_blank">http://127.0.0.1:8380</a>] to site server: * uri:<br>
> /sites/<a href="http://mysite1.de" target="_blank">mysite1.de</a> title: /sites/<a href="http://mysite1.de/" target="_blank">mysite1.de/</a><br>
> 08 Apr 2009 16:38:19,272 INFO [fterPublishStaticExportHandler: 450]<br>
> Request<br>
> result for RFS file "/_global.conf" with url<br>
> "<a href="http://127.0.0.1:8380/opencms/handle404/_global.conf" target="_blank">http://127.0.0.1:8380/opencms/handle404/_global.conf</a>" was STATUS=404<br>
> 08 Apr 2009 16:38:23,717 DEBUG [pencms.site.CmsSiteManagerImpl: 686]<br>
> Matching request [<a href="http://mysite1:8380" target="_blank">http://mysite1:8380</a>] to site server: * uri:<br>
> /sites/<a href="http://mysite1.de" target="_blank">mysite1.de</a> title: /sites/<a href="http://mysite1.de/" target="_blank">mysite1.de/</a><br>
><br>
><br>
> opencms-system.xml:<br>
><br>
> <?xml version="1.0" encoding="UTF-8"?><br>
> <!DOCTYPE opencms SYSTEM<br>
> "<a href="http://www.opencms.org/dtd/6.0/opencms-system.dtd" target="_blank">http://www.opencms.org/dtd/6.0/opencms-system.dtd</a>"><br>
> <opencms><br>
> <system><br>
> <internationalization><br>
> <localehandler class="org.opencms.i18n.CmsDefaultLocaleHandler"/><br>
> <localesconfigured><br>
> <locale>en</locale><br>
> <locale>de</locale><br>
> </localesconfigured><br>
> <localesdefault><br>
> <locale>en</locale><br>
> <locale>de</locale><br>
> </localesdefault><br>
> </internationalization><br>
> <mail><br>
> <mailfrom><a href="mailto:nobody@nowhere.com">nobody@nowhere.com</a></mailfrom><br>
> <mailhost name="my.smtp.server" protocol="smtp" user="username"<br>
> password="secure"/><br>
> <mailhost name="alternative.smtp.server"/><br>
> <mailhost name="another.alternative.smtp.server"/><br>
> </mail><br>
> <scheduler/><br>
> <versionhistory enabled="true" count="10" deleted="4"/><br>
> <resourceinit><br>
> <resourceinithandler<br>
> class="org.opencms.file.history.CmsHistoryResourceHandler"/><br>
> <resourceinithandler<br>
> class="org.opencms.main.CmsPermalinkResourceHandler"/><br>
> <resourceinithandler<br>
> class="org.opencms.workplace.CmsWorkplaceLoginHandler"/><br>
> </resourceinit><br>
> <requesthandlers/><br>
> <passwordhandler<br>
> class="org.opencms.security.CmsDefaultPasswordHandler"><br>
> <encoding>UTF-8</encoding><br>
> <digest-type>MD5</digest-type><br>
> false<br>
> </passwordhandler><br>
> <validationhandler<br>
> class="org.opencms.security.CmsDefaultValidationHandler"/><br>
> <sites><br>
> <workplace-server><a href="http://localhost:8380" target="_blank">http://localhost:8380</a></workplace-server><br>
> <default-uri>/sites/<a href="http://mysite1.de/" target="_blank">mysite1.de/</a></default-uri><br>
> <site server="<a href="http://localhost:8381" target="_blank">http://localhost:8381</a>" uri="/sites/<a href="http://mysite1.de/" target="_blank">mysite1.de/</a>"/><br>
> <site server="<a href="http://localhost:8382" target="_blank">http://localhost:8382</a>" uri="/sites/<a href="http://mysite2.de/" target="_blank">mysite2.de/</a>"/><br>
> </sites><br>
> <runtimeproperties><br>
> false<br>
> /opencms/opencms/<br>
> </runtimeproperties><br>
> <runtimeclasses><br>
> <runtimeinfo class="org.opencms.db.CmsDbContextFactory"/><br>
> </runtimeclasses><br>
> <defaultusers><br>
> <user-admin>Admin</user-admin><br>
> <user-guest>Guest</user-guest><br>
> <user-export>Export</user-export><br>
> <group-administrators>Administrators</group-administrators><br>
> <group-projectmanagers>Projectmanagers</group-projectmanagers><br>
> <group-users>Users</group-users><br>
> <group-guests>Guests</group-guests><br>
> </defaultusers><br>
> <defaultcontentencoding>UTF-8</defaultcontentencoding><br>
> <memorymonitor class="org.opencms.monitor.CmsMemoryMonitor"><br>
> <maxusagepercent>90</maxusagepercent><br>
> <log-interval>600</log-interval><br>
> <email-interval>43200</email-interval><br>
> <warning-interval>43200</warning-interval><br>
> </memorymonitor><br>
> <flexcache><br>
> <cache-enabled>true</cache-enabled><br>
> <cache-offline>false</cache-offline><br>
> <maxcachebytes>8000000</maxcachebytes><br>
> <avgcachebytes>6000000</avgcachebytes><br>
> <maxentrybytes>400000</maxentrybytes><br>
> <maxkeys>2000</maxkeys><br>
> </flexcache><br>
> <http-authentication><br>
> <browser-based>true</browser-based><br>
> </http-authentication><br>
> <resultcache><br>
> <keygenerator>org.opencms.db.CmsCacheKey</keygenerator><br>
> <size-users>64</size-users><br>
> <size-groups>64</size-groups><br>
> <size-orgunits>64</size-orgunits><br>
> <size-usergroups>256</size-usergroups><br>
> <size-projects>32</size-projects><br>
> <size-projectresources>64</size-projectresources><br>
> <size-resources>8192</size-resources><br>
> <size-resourcelists>256</size-resourcelists><br>
> <size-properties>1024</size-properties><br>
> <size-propertylists>1024</size-propertylists><br>
> <size-accesscontrollists>1024</size-accesscontrollists><br>
> <size-permissions>1024</size-permissions><br>
> </resultcache><br>
> <content-notification><br>
> <notification-time>365</notification-time><br>
> <notification-project>Offline</notification-project><br>
> </content-notification><br>
> <authorizationhandler<br>
> class="org.opencms.security.CmsDefaultAuthorizationHandler"/><br>
> <publishmanager><br>
> <history-size>100</history-size><br>
> <queue-persistance>true</queue-persistance><br>
> <queue-shutdowntime>1</queue-shutdowntime><br>
> </publishmanager><br>
> <session-storageprovider<br>
> class="org.opencms.main.CmsDefaultSessionStorageProvider"/><br>
> <permissionhandler<br>
> class="org.opencms.security.CmsDefaultPermissionHandler"/><br>
> <servletcontainer-settings mode="manual"><br>
> <prevent-response-flush>false</prevent-response-flush><br>
> <release-tags-after-end>true</release-tags-after-end><br>
> </servletcontainer-settings><br>
> </system><br>
> </opencms><br>
><br>
><br>
> opencms-importexport.xml:<br>
><br>
> <?xml version="1.0" encoding="UTF-8"?><br>
> <!DOCTYPE opencms SYSTEM<br>
> "<a href="http://www.opencms.org/dtd/6.0/opencms-importexport.dtd" target="_blank">http://www.opencms.org/dtd/6.0/opencms-importexport.dtd</a>"><br>
> <opencms><br>
> <importexport><br>
> <importexporthandlers><br>
> <importexporthandler<br>
> class="org.opencms.importexport.CmsVfsImportExportHandler"/><br>
> <importexporthandler<br>
> class="org.opencms.module.CmsModuleImportExportHandler"/><br>
> </importexporthandlers><br>
> <import><br>
> <overwrite>true</overwrite><br>
> <convert>true</convert><br>
> <importversions><br>
> <importversion class="org.opencms.importexport.CmsImportVersion2"/><br>
> <importversion class="org.opencms.importexport.CmsImportVersion3"/><br>
> <importversion class="org.opencms.importexport.CmsImportVersion4"/><br>
> <importversion class="org.opencms.importexport.CmsImportVersion5"/><br>
> <importversion class="org.opencms.importexport.CmsImportVersion6"/><br>
> <importversion class="org.opencms.importexport.CmsImportVersion7"/><br>
> </importversions><br>
> <immutables><br>
> <resource uri="/system/"/><br>
> <resource uri="/system/categories/"/><br>
> <resource uri="/system/galleries/"/><br>
> <resource uri="/system/galleries/download/"/><br>
> <resource uri="/system/galleries/externallinks/"/><br>
> <resource uri="/system/galleries/htmlgalleries/"/><br>
> <resource uri="/system/galleries/pics/"/><br>
> <resource uri="/system/login/"/><br>
> <resource uri="/system/modules/"/><br>
> <resource uri="/system/shared/"/><br>
> <resource uri="/system/workplace/"/><br>
> <resource uri="/system/workplace/admin/"/><br>
> <resource uri="/system/workplace/help/"/><br>
> <resource uri="/system/workplace/locales/"/><br>
> <resource uri="/system/workplace/resources/"/><br>
> <resource uri="/system/workplace/restypes/"/><br>
> <resource uri="/system/workplace/scripts/"/><br>
> <resource uri="/system/workplace/templates/"/><br>
> <resource uri="/system/workplace/views/"/><br>
> <resource uri="/sites/"/><br>
> </immutables><br>
> <principaltranslations/><br>
> <ignoredproperties/><br>
> </import><br>
> </importexport><br>
> <staticexport enabled="true"><br>
><br>
> <!--<staticexporthandler>org.opencms.staticexport.CmsOnDemandStaticExportHandler</staticexporthandler>--><br>
><br>
> <!--<staticexporthandler>org.opencms.staticexport.CmsOnDemandHtmlSubtreeHandler</staticexporthandler>--><br>
><br>
> <staticexporthandler>org.opencms.staticexport.CmsAfterPublishStaticExportHandler</staticexporthandler><br>
> <exportpath>export</exportpath><br>
> <defaultpropertyvalue>true</defaultpropertyvalue><br>
> <!-- wird nur genommen, wenn defaultpropertyvalue=true --><br>
> <defaultsuffixes><br>
> <suffix key=".jpg"/><br>
> <suffix key=".gif"/><br>
> <suffix key=".png"/><br>
> <suffix key=".doc"/><br>
> <suffix key=".xls"/><br>
> <suffix key=".ppt"/><br>
> <suffix key=".pdf"/><br>
> <suffix key=".txt"/><br>
> <suffix key=".css"/><br>
> <suffix key=".zip"/><br>
> <suffix key=".swf"/><br>
> </defaultsuffixes><br>
> <rendersettings><br>
> <rfs-prefix></rfs-prefix><br>
><br>
> <vfs-prefix>${CONTEXT_NAME}${SERVLET_NAME}</vfs-prefix><br>
> <userelativelinks>false</userelativelinks><br>
><br>
> <exporturl>http://localhost:8380${CONTEXT_NAME}/handle404</exporturl><br>
> <plainoptimization>true</plainoptimization><br>
> <testresource uri="/system/shared/page.dtd"/><br>
> <resourcestorender><br>
> <regex>/sites/<a href="http://mysite1.de/.*" target="_blank">mysite1.de/.*</a></regex><br>
> <regex>/sites/<a href="http://mysite2.de.de/.*" target="_blank">mysite2.de.de/.*</a></regex><br>
><br>
> <regex>/system/modules/de.mysite1.frontend/resources.*</regex><br>
><br>
> <regex>/system/modules/de.mysite2.frontend/resources.*</regex><br>
> <export-rules><br>
> <export-rule><br>
> <name><a href="http://mysite1.de" target="_blank">mysite1.de</a></name><br>
> <description>export rules<br>
> for <a href="http://mysite1.de" target="_blank">mysite1.de</a></description><br>
> <modified-resources><br>
><br>
> <regex>/sites/mysite1\.de/.*</regex><br>
><br>
> <regex>/system/modules/de.mysite1.frontend/.*</regex><br>
> </modified-resources><br>
> <export-resources><br>
><br>
> <uri>/sites/<a href="http://mysite1.de/" target="_blank">mysite1.de/</a></uri><br>
> </export-resources><br>
> </export-rule><br>
> <export-rule><br>
> <name><a href="http://sfp.de" target="_blank">sfp.de</a></name><br>
> <description>export rules<br>
> for <a href="http://mysite2.de" target="_blank">mysite2.de</a></description><br>
> <modified-resources><br>
><br>
> <regex>/sites/mysite2\.de/.*</regex><br>
><br>
> <regex>/system/modules/de.mysite2.frontend/.*</regex><br>
> </modified-resources><br>
> <export-resources><br>
><br>
> <uri>/sites/<a href="http://mysite2.de/" target="_blank">mysite2.de/</a></uri><br>
> </export-resources><br>
> </export-rule><br>
> </export-rules><br>
> </resourcestorender><br>
> <rfs-rules><br>
> <rfs-rule><br>
> <name><a href="http://mysite1.de" target="_blank">mysite1.de</a></name><br>
> <description>export rules for<br>
> <a href="http://mysite1.de" target="_blank">mysite1.de</a></description><br>
><br>
> <source>/sites/mysite1\.de/.*</source><br>
> <rfs-prefix></rfs-prefix><br>
><br>
> <exportpath>/srv/tomcat/opencms7/www/<a href="http://mysite1.de" target="_blank">mysite1.de</a></exportpath><br>
><br>
> <userelativelinks>false</userelativelinks><br>
> <related-system-res><br>
><br>
> <regex>/system/modules/de.mysite1.frontend/resources/.*</regex><br>
> </related-system-res><br>
> </rfs-rule><br>
> <rfs-rule><br>
> <name><a href="http://sfp.de" target="_blank">sfp.de</a></name><br>
> <description>export rules for<br>
> <a href="http://mysite2.de" target="_blank">mysite2.de</a></description><br>
><br>
> <source>/sites/mysite2\.de/.*</source><br>
> <rfs-prefix>/</rfs-prefix><br>
><br>
> <exportpath>/srv/tomcat/opencms7/www/<a href="http://mysite2.de.de" target="_blank">mysite2.de.de</a></exportpath><br>
><br>
> <userelativelinks>true</userelativelinks><br>
> <related-system-res><br>
><br>
> <regex>/system/modules/de.mysite2.frontend/resources/.*</regex><br>
> </related-system-res><br>
> </rfs-rule><br>
> </rfs-rules><br>
> </rendersettings><br>
> </staticexport><br>
> <usercsvexport><br>
> <separator>;</separator><br>
> <columns><br>
> <column>description</column><br>
> <column>lastname</column><br>
> <column>firstname</column><br>
> <column>email</column><br>
> <column>address</column><br>
> <column>zipcode</column><br>
> <column>city</column><br>
> <column>country</column><br>
> <column>USERPREFERENCES_workplace-startupsettingssite</column><br>
> <column>USERPREFERENCES_workplace-startupsettingslocale</column><br>
> <column>password</column><br>
> </columns><br>
> </usercsvexport><br>
> <repositories><br>
> <repository name="standard" class="org.opencms.repository.CmsRepository"><br>
> <params><br>
> org.opencms.file.wrapper.CmsResourceExtensionWrapperJsp<br>
> org.opencms.file.wrapper.CmsResourceExtensionWrapperXmlContent<br>
> org.opencms.file.wrapper.CmsResourceExtensionWrapperXmlPage<br>
> org.opencms.file.wrapper.CmsResourceWrapperSystemFolder<br>
> org.opencms.file.wrapper.CmsResourceWrapperPropertyFile<br>
> </params><br>
> <filter type="include"><br>
> <regex>/</regex><br>
> <regex>/__properties/.*</regex><br>
> <regex>/sites/.*</regex><br>
> <regex>/system/</regex><br>
> <regex>/system/__properties/.*</regex><br>
> <regex>/system/galleries/.*</regex><br>
> <regex>/system/modules/.*</regex><br>
> <regex>/system/workplace/.*</regex><br>
> </filter><br>
> </repository><br>
> <repository name="extended" class="org.opencms.repository.CmsRepository"><br>
> <params><br>
> org.opencms.file.wrapper.CmsResourceExtensionWrapperJsp<br>
> org.opencms.file.wrapper.CmsResourceExtensionWrapperXmlContent<br>
> org.opencms.file.wrapper.CmsResourceWrapperXmlPage<br>
> org.opencms.file.wrapper.CmsResourceWrapperSystemFolder<br>
> org.opencms.file.wrapper.CmsResourceWrapperPropertyFile<br>
> </params><br>
> <filter type="include"><br>
> <regex>/</regex><br>
> <regex>/__properties/.*</regex><br>
> <regex>/sites/.*</regex><br>
> <regex>/system/</regex><br>
> <regex>/system/__properties/.*</regex><br>
> <regex>/system/galleries/.*</regex><br>
> <regex>/system/modules/</regex><br>
> <regex>/system/modules/[^/]*/</regex><br>
> <regex>/system/modules/[^/]*/__properties/.*</regex><br>
> <regex>/system/modules/[^/]*/resources/.*</regex><br>
> </filter><br>
> </repository><br>
> </repositories><br>
> </opencms><br>
> --<br>
> View this message in context:<br>
> <a href="http://www.nabble.com/404-on-export-when-exportname-is-%22-%22-tp22974081p22974081.html" target="_blank">http://www.nabble.com/404-on-export-when-exportname-is-%22-%22-tp22974081p22974081.html</a><br>
> Sent from the OpenCMS - Dev mailing list archive at Nabble.com.<br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> This mail is sent to you from the opencms-dev mailing list<br>
> To change your list options, or to unsubscribe from the list, please visit<br>
> <a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
><br>
<br>
--<br>
View this message in context: <a href="http://www.nabble.com/Used-rfs-rules-for-subdirectories-Re%3A-404%09-on-export-when-exportname-is-%22-%22-tp23027263p23056706.html" target="_blank">http://www.nabble.com/Used-rfs-rules-for-subdirectories-Re%3A-404%09-on-export-when-exportname-is-%22-%22-tp23027263p23056706.html</a><br>
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.<br>
<br>
<br>
<br><br>---------- Forwarded message ----------<br>From: Deiverson Silveira <<a href="mailto:deiverson@solutioncms.com">deiverson@solutioncms.com</a>><br>To: <a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><br>
Date: Wed, 15 Apr 2009 10:00:39 -0300<br>Subject: Re: [opencms-dev] Opencms can generate the code in XHTML 1.1?<br><div class="gmail_quote"><div><span dir="ltr">Hi,<br><br>I understand, </span>thank you for <span dir="ltr">answers, </span>Detlef and Christian!<span dir="ltr"></span>!<br>
<br>Deiverson<br><br> </div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Message: 3<br>
Date: Wed, 15 Apr 2009 07:10:48 +0200<br>
From: Beyer Detlef <<a href="mailto:fangmich@medienkonzepte.de" target="_blank">fangmich@medienkonzepte.de</a>><br>
Subject: Re: [opencms-dev] Opencms can generate the code in XHTML 1.1?<br>
To: The OpenCms mailing list <<a href="mailto:opencms-dev@opencms.org" target="_blank">opencms-dev@opencms.org</a>><br>
Message-ID: <<a href="mailto:3A0FB6EE-2F86-47F4-A127-2F9CA993152C@medienkonzepte.de" target="_blank">3A0FB6EE-2F86-47F4-A127-2F9CA993152C@medienkonzepte.de</a>><br>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes<br>
<br>
OpenCMS will create what ever you put into your templates...<br>
<br>
Cheers,<br>
<br>
Detlef<br>
<br>
Message: 4<br>
Date: Wed, 15 Apr 2009 09:36:36 +0200<br>
From: Steinert <<a href="mailto:christian_steinert@web.de" target="_blank">christian_steinert@web.de</a>><br>
Subject: Re: [opencms-dev] Opencms can generate the code in XHTML 1.1?<br>
To: The OpenCms mailing list <<a href="mailto:opencms-dev@opencms.org" target="_blank">opencms-dev@opencms.org</a>><br>
Message-ID: <<a href="mailto:49E58E84.7040506@web.de" target="_blank">49E58E84.7040506@web.de</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
You may want to disable some functions of the wysiwyg-HTML editor and/or<br>
switch to the XStandard HTML editor for which an opencms integration<br>
module is available.<br>
<br>
Apart from that, opencms will generate whatever you make your templates<br>
generate, just as Detlef said<br>
<br>
Best Regards<br>
Christian<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.opencms.org/pipermail/opencms-dev/attachments/20090415/f4bbcd8a/attachment-0001.htm" target="_blank">http://lists.opencms.org/pipermail/opencms-dev/attachments/20090415/f4bbcd8a/attachment-0001.htm</a><br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Wed, 15 Apr 2009 09:39:28 +0200<br>
From: Christian Steinert <<a href="mailto:christian_steinert@web.de" target="_blank">christian_steinert@web.de</a>><br>
Subject: Re: [opencms-dev] Opencms can generate the code in XHTML 1.1?<br>
To: The OpenCms mailing list <<a href="mailto:opencms-dev@opencms.org" target="_blank">opencms-dev@opencms.org</a>><br>
Message-ID: <<a href="mailto:49E58F30.4060801@web.de" target="_blank">49E58F30.4060801@web.de</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
P.S. since xhtml 1.1 must be delivered with an XML content type, you may<br>
need to set an explicit response mime type in your JSP template code.<br>
This should not be a big problem though.<br>
<br>
Since Internet Explorer does not have XHTML export, you may need to<br>
implement server-side browser sniffing inside of your templates so that<br>
you can still deliver pages as text/html to Internet Explorer.<br>
<br>
But these issues are not very opencms-specific, that's just the regular<br>
suffering of doing xhtml-as-xml...<br>
<br>
Best Regards<br>
Christian</blockquote></div><br>
<br><br>---------- Forwarded message ----------<br>From: Brett Sheeran <<a href="mailto:brett.sheeran@gmail.com">brett.sheeran@gmail.com</a>><br>To: <a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><br>
Date: Thu, 16 Apr 2009 14:05:20 +1000<br>Subject: [opencms-dev] XML Content Editor Not Saving Special Characters Correctly<br>Hi,<br>
<br>
I have a problem with the XML Content editor not saving special<br>
characters correctly. However, I can save the same characters in the<br>
same XML file if I use "Edit Control Code". Can anyone help please?<br>
Details as follows.<br>
<br>
I find that if I save a special character in the XML content editor,<br>
(in particular the pound "£" character), the XML content editor seems<br>
to append an extra character so the value stored becomes "£".<br>
<br>
I am using OpenCMS 7.0.5 and MySQL 5.1. It appears to me that<br>
everything on my system is set up for UTF-8.<br>
<br>
The JDBC connection is configured thus:<br>
db.pool.default.jdbcUrl.params=?characterEncoding\=UTF-8<br>
<br>
In the <head> of the editor page, I see the following metatag:<br>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"><br>
<br>
I ran a sniffer on the submit. I see this string in the request header:<br>
Content-Type: application/x-www-form-urlencoded<br>
<br>
And this string in the response header:<br>
Content-Type: text/html;charset=UTF-8<br>
<br>
The *really* strange thing is that if I use "Edit Control Code" to<br>
edit the same XML file I can save the special characters correctly.<br>
<br>
Saving the special character as a code "£" will only work once<br>
because the second time I am saving the "£" character again.<br>
<br>
As a temporary workaround, I use "Edit Control Code" to remove the "Â"<br>
characters.<br>
<br>
Incidentally, a former colleague "skinned" a few OpenCMS JSPs. If<br>
anyone thinks that might be a problem, I would be interested to know<br>
which JSPs are associated with the XML Content Editor. I am wondering<br>
if there should be a tag like this in a JSP somewhere:<br>
<%@ page pageEncoding="UTF-8" %><br>
<br>
Thank you.<br>
<br>
Regards BrettS<br>
<br>
<br><br>---------- Forwarded message ----------<br>From: Christian Steinert <<a href="mailto:christian_steinert@web.de">christian_steinert@web.de</a>><br>To: The OpenCms mailing list <<a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a>><br>
Date: Thu, 16 Apr 2009 07:51:25 +0200<br>Subject: Re: [opencms-dev] XML Content Editor Not Saving Special Characters Correctly<br>Hi<br>
<br>
this sounds strange indeed.<br>
Have you tried to explicitly set the "encoding" file system property of your pages (or their parent folder) to "UTF-8"?<br>
I don't think that setting the JSP pageEncoding will make any difference because your response encoding is set to UTF-8 already.<br>
<br>
Kind Regards<br>
Christian<br>
<br>
> Hi,<br>
><br>
> I have a problem with the XML Content editor not saving special<br>
> characters correctly. However, I can save the same characters in the<br>
> same XML file if I use "Edit Control Code". Can anyone help please?<br>
> Details as follows.<br>
><br>
> I find that if I save a special character in the XML content editor,<br>
> (in particular the pound "£" character), the XML content editor seems<br>
> to append an extra character so the value stored becomes "£".<br>
><br>
> I am using OpenCMS 7.0.5 and MySQL 5.1. It appears to me that<br>
> everything on my system is set up for UTF-8.<br>
><br>
> The JDBC connection is configured thus:<br>
> db.pool.default.jdbcUrl.params=?characterEncoding\=UTF-8<br>
><br>
> In the <head> of the editor page, I see the following metatag:<br>
> <meta http-equiv="content-type" content="text/html; charset=UTF-8"><br>
><br>
> I ran a sniffer on the submit. I see this string in the request header:<br>
> Content-Type: application/x-www-form-urlencoded<br>
><br>
> And this string in the response header:<br>
> Content-Type: text/html;charset=UTF-8<br>
><br>
> The *really* strange thing is that if I use "Edit Control Code" to<br>
> edit the same XML file I can save the special characters correctly.<br>
><br>
> Saving the special character as a code "£" will only work once<br>
> because the second time I am saving the "£" character again.<br>
><br>
> As a temporary workaround, I use "Edit Control Code" to remove the "Â"<br>
> characters.<br>
><br>
> Incidentally, a former colleague "skinned" a few OpenCMS JSPs. If<br>
> anyone thinks that might be a problem, I would be interested to know<br>
> which JSPs are associated with the XML Content Editor. I am wondering<br>
> if there should be a tag like this in a JSP somewhere:<br>
> <%@ page pageEncoding="UTF-8" %><br>
><br>
> Thank you.<br>
><br>
> Regards BrettS<br>
><br>
> _______________________________________________<br>
> This mail is sent to you from the opencms-dev mailing list<br>
> To change your list options, or to unsubscribe from the list, please visit<br>
> <a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
><br>
<br>
<br>
______________________________________________________<br>
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!<br>
Jetzt freischalten unter <a href="http://movieflat.web.de" target="_blank">http://movieflat.web.de</a><br>
<br>
<br>
<br><br>---------- Forwarded message ----------<br>From: Paul-Inge Flakstad <<a href="mailto:flakstad@npolar.no">flakstad@npolar.no</a>><br>To: The OpenCms mailing list <<a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a>><br>
Date: Wed, 15 Apr 2009 18:46:10 +0200<br>Subject: [opencms-dev] Sites down due to export error<br>
<div>
<div><span><font size="2" face="Arial">Hello
list</font></span></div>
<div><span><font size="2" face="Arial"></font></span> </div>
<div><span><font size="2" face="Arial">The export function
is giving me hell.</font></span></div>
<div><span><font size="2" face="Arial"></font></span> </div>
<div><span><font size="2" face="Arial">Our system is
modified the "old" way, with mod_jk and mod_rewrite. We've got this setup
running on several servers.</font></span></div>
<div><span><font size="2" face="Arial"></font></span> </div>
<div><span><font size="2" face="Arial">When we started
using OpenCms, we mistakenly assumed that all site folders should be placed
under the "/sites/default" folder, e.g. /sites/default/site1 and
/sites/default/site2. We then discovered that this was not a good idea, due to
the overlapping "default" folder, so I am currently in the process
of moving folders from /sites/default to /sites - so we get e.g.
/sites/site1 and /sites/site2 instead.</font></span></div>
<div><span><font size="2" face="Arial"></font></span> </div>
<div><span><font size="2" face="Arial">The problem on this
particular server is that static resources (css files, images and such) are not
getting exported like they should after I moved the
folders. </font></span><span><font size="2" face="Arial">I tried to clear the export folder, but that did not help. The export
folder remains _empty_!</font></span></div>
<div><span><font size="2" face="Arial"></font></span> </div>
<div><span><font size="2" face="Arial">Apache's error log
shows a whole bunch of errors like this
one:</font></span></div><span><font>
<div><br><font size="2" face="Arial">proxy: DNS lookup failure
for: <a href="http://dev.cruise-handbook.npolar.no" target="_blank">dev.cruise-handbook.npolar.no</a> returned by
/export/system/modules/no.npolar.cruise/resources/construction.jpg, referer:
</font><a href="http://dev.cruise-handbook.npolar.no/en/hornsund/index.html" target="_blank"><font size="2" color="#000000" face="Arial">http://dev.cruise-handbook.npolar.no/en/hornsund/index.html</font></a></div>
<div><font size="2" face="Arial"></font> </div>
<div><font size="2" face="Arial"><span>I double checked
using nslookup, and all is fine - the relevant domains are all pointing to
the correct server.</span></font></div></font></span></div>
<div><span><font size="2" face="Arial"></font></span> </div>
<div><span><font size="2" face="Arial">This is our
<VirtualHost> section of httpd.conf (which by the way was working
fine when <a href="http://www.arcticsystem.no" target="_blank">www.arcticsystem.no</a> was
placed in /sites/default/arcticsystem):</font></span></div>
<div><span><font size="2" face="Arial"><br><VirtualHost
*:80><br> DocumentRoot
"/usr/local/apache-tomcat-5.5.26/webapps/cms2/"<br>
ServerName <a href="http://cms2.npolar.no" target="_blank">cms2.npolar.no</a><br>
ServerAlias <a href="http://www.arcticsystem.no" target="_blank">www.arcticsystem.no</a>
<a href="http://arcticsystem.no" target="_blank">arcticsystem.no</a> <a href="http://dev.mosj.npolar.no" target="_blank">dev.mosj.npolar.no</a>
<a href="http://dev.cruise-handbook.npolar.no" target="_blank">dev.cruise-handbook.npolar.no</a></font></span></div>
<div><span><font size="2" face="Arial"><br>
SetEnvIfNoCase Request_URI ^/cms2/resources/.*$ no-jk</font></span><span><font size="2" face="Arial"></font></span></div>
<div><br>
SetEnvIfNoCase Request_URI ^/export/.*$ no-jk</div>
<div> </div>
<div><span><font size="2" face="Arial">
RewriteEngine on</font></span></div>
<div> </div>
<div><span><font size="2" face="Arial">
RewriteCond %{REQUEST_URI}
!^/cms2/resources/.*$<br>
RewriteCond %{REQUEST_URI}
!^/export/.*$<br>
RewriteRule !^/cms2/opencms/(.*)$ /cms2/opencms%{REQUEST_URI}
[PT]</font></span></div>
<div> </div>
<div><span><font size="2" face="Arial">
RewriteCond %{REQUEST_URI}
^/export/.*$<br>
RewriteCond "%{DOCUMENT_ROOT}%{REQUEST_FILENAME}"
!-f<br>
RewriteCond "%{DOCUMENT_ROOT}%{REQUEST_FILENAME}/index_export.html"
!-f<br>
RewriteRule .*
/cms2/opencms/handle404?exporturi=%{REQUEST_URI}&%{QUERY_STRING}
[P]</font></span></div>
<div><span><font size="2" face="Arial"><br>
RewriteCond %{REQUEST_URI}
^/cms2/resources/.*$<br>
RewriteRule ^/cms2/(.*)$ /$1</font></span></div>
<div> </div>
<div><span><font size="2" face="Arial">
JkMount /* ocms<br></VirtualHost></font></span></div>
<div><span><font size="2" face="Arial"></font></span> </div>
<div><span><font size="2" face="Arial">and the
<sites> section of opencms-system.xml:</font></span></div>
<div><span><font size="2" face="Arial"></font></span> </div>
<div><span><font size="2" face="Arial"><sites><br>
<workplace-server><a href="http://cms2.npolar.no" target="_blank">http://cms2.npolar.no</a></workplace-server><br>
<default-uri>/sites/default/</default-uri><br>
<site server="<a href="http://cms2.npolar.no" target="_blank">http://cms2.npolar.no</a>"
uri="/sites/default/"/></font></span><span><font size="2" face="Arial"><br> <site server="<a href="http://www.arcticsystem.no" target="_blank">http://www.arcticsystem.no</a>"
uri="/sites/arcticsystem/"/></font></span></div>
<div><span><font size="2" face="Arial"> <!-- <site server="<a href="http://www.arcticsystem.no" target="_blank">http://www.arcticsystem.no</a>"
uri="/sites/default/arcticsystem/"/> --><br>
<site server="<a href="http://dev.mosj.npolar.no" target="_blank">http://dev.mosj.npolar.no</a>"
uri="/sites/mosj/"/><br> <site server="<a href="http://dev.cruise-handbook.npolar.no" target="_blank">http://dev.cruise-handbook.npolar.no</a>"
uri="/sites/cruise/"/><br></sites></font></span></div>
<div><span><font size="2" face="Arial"></font></span> </div>
<div><span><font size="2" face="Arial">and the modified
part of opencms-importexport.xml:</font></span></div>
<div><span> </span></div>
<div><font size="2" face="Arial"><rfs-prefix>/export</rfs-prefix><br><vfs-prefix/><br></font><span><font><font face="Arial"></font></font></span></div>
<div><br></div><font size="2"></font>
<div><span><font size="2" face="Arial">I'm quite stuck at
this, since I'm no expert in neither Apache or OpenCms. Does anybody
have a clue as to what might be wrong?</font></span></div>
<div><span><font size="2" face="Arial"></font></span> </div>
<div><span><font size="2" face="Arial"></font></span> </div>
<div><span><font size="2" face="Arial"></font></span> </div>
<div>
<div align="left"><font size="1" color="#808000" face="Century Gothic">Best
regards</font></div>
<div align="left"><font size="1" color="#808000" face="Century Gothic"></font> </div>
<div align="left"><font size="2" color="#808000" face="Century Gothic"><b>Paul-Inge Flakstad</b></font></div>
<div align="left"><font size="1" color="#808000" face="Century Gothic"><b><i>web
developer</i></b></font></div>
<div align="left"><font size="1" color="#808000" face="Century Gothic"><a href="mailto:flakstad@npolar.no" target="_blank">flakstad@npolar.no</a></font></div>
<div align="left"><font size="1" color="#808000" face="Century Gothic">office: +47 77
75 06 39 | cell-phone: +47 905 94 924</font></div>
<div align="left"><font size="1" color="#808000" face="Century Gothic">Norwegian Polar
Institute </font></div>
<div align="left"><font size="1" color="#808000" face="Century Gothic">Polar
Environmental Centre</font></div>
<div align="left"><font size="1" color="#808000" face="Century Gothic">NO-9296
Tromsø</font></div>
<div align="left"><font size="1" color="#808000" face="Century Gothic">NORWAY</font></div>
<div align="left"><font size="1" color="#808000" face="Century Gothic"><a href="http://www.npolar.no/" target="_blank">www.npolar.no</a></font></div></div>
<br>_______________________________________________<br>
This mail is send to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://mail.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://mail.opencms.org/mailman/listinfo/opencms-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>Gerald E. Butler<br><a href="http://bffoss.com">http://bffoss.com</a><br>
<a href="mailto:gerald.edward.butler@gmail.com">gerald.edward.butler@gmail.com</a><br>