<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Segoe UI Emoji";
panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
code
{mso-style-priority:99;
font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
p.ox-c933502d43-msonormal, li.ox-c933502d43-msonormal, div.ox-c933502d43-msonormal
{mso-style-name:ox-c933502d43-msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.ox-c933502d43-note
{mso-style-name:ox-c933502d43-note;}
span.ox-c933502d43-ok
{mso-style-name:ox-c933502d43-ok;}
span.ox-c933502d43-head
{mso-style-name:ox-c933502d43-head;}
span.E-MailFormatvorlage24
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.E-MailFormatvorlage25
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.E-MailFormatvorlage29
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:706102297;
mso-list-type:hybrid;
mso-list-template-ids:-990772018 67567631 67567641 67567643 67567631 67567641 67567643 67567631 67567641 67567643;}
@list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l1
{mso-list-id:1121337554;
mso-list-template-ids:-541183872;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="blue" vlink="purple">Kai,<br>
<br>
that's also how I understand the setting(s description).<br>
What I've tested: when it's set to 0 the "export" folder is used/filled.<br>
<br>
Gerd<br><br><div class="gmail_quote">Am 8. Juni 2018 13:41:06 MESZ schrieb "Schliemann, Kai" <K.Schliemann@comundus.com>:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hi Fabian,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">thank you very much.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hmm, I know, that export backups can be configured with this tag<o:p></o:p></span></p>
<p class="MsoNormal"><code><span style="font-size:10.0pt"> <exportbackups>2</exportbackups></span></code><br>
<br>
<span style="mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">AFAIK this means in that case, that the last 2 static exports are backuped. The first in folder „backup“ the second in folder „backup2“. This does, of course, not explain why there are no files in
the folder „export“.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hope you are doing well.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Best regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Kai <o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>Von:</b> opencms-dev-bounces@opencms.org <opencms-dev-bounces@opencms.org>
<b>Im Auftrag von </b>fhsubscriptions@componio.net<br>
<b>Gesendet:</b> Freitag, 8. Juni 2018 11:12<br>
<b>An:</b> 'The OpenCms mailing list' <opencms-dev@opencms.org><br>
<b>Betreff:</b> Re: [opencms-dev] static export 404 on Template Resources<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hi Kai, <o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">well put and great support, but the issue with the folders being backupXYZ rather then export did also occur with us.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">However I have forgotten how we fixed it
</span><span style="font-family:"Segoe UI Emoji",sans-serif;mso-fareast-language:EN-US">😊</span><span style="mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">\Fabian<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>Von:</b> <a href="mailto:opencms-dev-bounces@opencms.org">
opencms-dev-bounces@opencms.org</a> <<a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a>>
<b>Im Auftrag von </b>Schliemann, Kai<br>
<b>Gesendet:</b> Freitag, 8. Juni 2018 10:42<br>
<b>An:</b> The OpenCms mailing list <<a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a>><br>
<b>Betreff:</b> Re: [opencms-dev] static export 404 on Template Resources<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hi Gerd,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">ok here are some hints. Maybe they help.<o:p></o:p></span></p>
<ol style="margin-top:0cm" start="1" type="1">
<li class="MsoNormal" style="mso-list:l0 level1 lfo3"><span style="mso-fareast-language:EN-US">Your setting in opencms-importexport.xml tells OpenCms to only export files with the file extensions mentioned in „defaultsuffixes“. If you want all resources (html,
css, js, images…) to be exported, you have to either set „defaultpropertyvalue“ to „true“ (in opencms-importexport.xml) or set the property „export“ on e.g. the root folder of your site (e.g. on „sites/default/“)<o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l0 level1 lfo3"><span style="mso-fareast-language:EN-US">In order to make static export work properly, you have to add the cms:link-Tag to resources in your templates. Not just the elements (like a logo) which style your
website, but all resources which reside in OpenCms. E.g. using a link element in one of your XSDs. No matter, if you link to pages, images or download files. One exception. If you use the cms:img tag, you must not use the cms:link tag with it. So never mix
cms:img and cms:link tag.<o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l0 level1 lfo3"><span style="mso-fareast-language:EN-US">Check port of Tomcat (that‘s what I already told you)<o:p></o:p></span></li><li class="MsoNormal" style="mso-list:l0 level1 lfo3"><span style="mso-fareast-language:EN-US">You may also check this thread:
<a href="https://github.com/alkacon/opencms-core/issues/494">https://github.com/alkacon/opencms-core/issues/494</a><o:p></o:p></span></li></ol>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hope one of these hints help you. Please let me know. I am curious.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Best regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Kai <o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>Von:</b> <a href="mailto:opencms-dev-bounces@opencms.org">
opencms-dev-bounces@opencms.org</a> <<a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a>>
<b>Im Auftrag von </b>Gerd Schrick<br>
<b>Gesendet:</b> Donnerstag, 7. Juni 2018 20:13<br>
<b>An:</b> The OpenCms mailing list <<a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a>><br>
<b>Betreff:</b> Re: [opencms-dev] static export 404 on Template Resources<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Dear OpenCms Gurus,<o:p></o:p></p>
<p>pleeeeease help!!! ;-)<br>
I guess I'm dearly overlooking some details.<o:p></o:p></p>
<div>
<p class="MsoNormal">I've created a relative simple site and now I want to do a full static export, so it can be hosted (w/o OpenCms).<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">To do this I use Database Management / Start Static Export.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Seems basically to work BUT:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">1. (the main problem): all the "Non-Template Resources" are exported, but for all of the "Template Resources" it just says "... 404"<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">example:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">( 9 / 706 ) Exporting /sites/mysite/material/press/ ... 404 <br>
( 10 / 706 ) Exporting /sites/mysite/material/press/index.html ... 404<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">in Tomcat's localhost_access_log I see (for the above):<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">127.0.0.1 - - [07/Jun/2018:17:24:06 +0200] "GET /opencms/handle404/opencms/export/sites/mysite/material/press/index.html HTTP/1.1" 404 -<br>
127.0.0.1 - - [07/Jun/2018:17:24:06 +0200] "GET /opencms/handle404/opencms/export/sites/mysite/material/press/ HTTP/1.1" 404 -<br>
the "regular" urls are<br>
localhost:8080/material/press/<br>
localhost:8080/material/press/index.html<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">but I assume that the difference here is somehow related to the static export logic.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">2. the exported files are first created in webapps/opencms/temp and when finished moved to folder "backup2" (! instead of "export", where I suspect them to go)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">And it doesn't seem to make any difference what is selected in Site/Project.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">My setup is OpenCms 10.5.3 on Tomcat 8 (standalone), both with the deafult settings from the installation.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">The excerpt of the opencms-importexport.xml is below.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Would be really great if someone can point me in the right direction.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Best regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Gerd<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><code><span style="font-size:10.0pt">opencms-importexport.xml:</span></code><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><code><span style="font-size:10.0pt"> <staticexport enabled="true"></span></code><br>
<code><span style="font-size:10.0pt"> <staticexporthandler>org.opencms.staticexport.CmsOnDemandStaticExportHandler</staticexporthandler></span></code><br>
<code><span style="font-size:10.0pt"> <linksubstitutionhandler>org.opencms.staticexport.CmsDefaultLinkSubstitutionHandler</linksubstitutionhandler></span></code><br>
<code><span style="font-size:10.0pt"> <exportpath>export</exportpath></span></code><br>
<code><span style="font-size:10.0pt"> <exportworkpath>temp</exportworkpath></span></code><br>
<code><span style="font-size:10.0pt"> <exportbackups>2</exportbackups></span></code><br>
<code><span style="font-size:10.0pt"> <defaultpropertyvalue>false</defaultpropertyvalue></span></code><br>
<code><span style="font-size:10.0pt"> <defaultsuffixes></span></code><br>
<code><span style="font-size:10.0pt"> <suffix key=".jpg" /></span></code><br>
<code><span style="font-size:10.0pt"> <suffix key=".gif" /></span></code><br>
<code><span style="font-size:10.0pt"> <suffix key=".png" /></span></code><br>
<code><span style="font-size:10.0pt"> <suffix key=".doc" /></span></code><br>
<code><span style="font-size:10.0pt"> <suffix key=".xls" /></span></code><br>
<code><span style="font-size:10.0pt"> <suffix key=".ppt" /></span></code><br>
<code><span style="font-size:10.0pt"> <suffix key=".docx" /></span></code><br>
<code><span style="font-size:10.0pt"> <suffix key=".xlsx" /></span></code><br>
<code><span style="font-size:10.0pt"> <suffix key=".pptx" /></span></code><br>
<code><span style="font-size:10.0pt"> <suffix key=".pdf" /></span></code><br>
<code><span style="font-size:10.0pt"> <suffix key=".txt" /></span></code><br>
<code><span style="font-size:10.0pt"> <suffix key=".css" /></span></code><br>
<code><span style="font-size:10.0pt"> <suffix key=".js" /></span></code><br>
<code><span style="font-size:10.0pt"> <suffix key=".zip" /></span></code><br>
<code><span style="font-size:10.0pt"> <suffix key=".swf" /></span></code><br>
<code><span style="font-size:10.0pt"> </defaultsuffixes></span></code><br>
<code><span style="font-size:10.0pt"> <rendersettings></span></code><br>
<code><span style="font-size:10.0pt"> <rfs-prefix>${CONTEXT_NAME}/export</rfs-prefix></span></code><br>
<code><span style="font-size:10.0pt"> <vfs-prefix>${CONTEXT_NAME}</vfs-prefix></span></code><br>
<code><span style="font-size:10.0pt"> <userelativelinks>true</userelativelinks></span></code><br>
<code><span style="font-size:10.0pt"> <exporturl><a href="http://127.0.0.1:8080$%7bCONTEXT_NAME%7d/handle404%3c/exporturl">http://127.0.0.1:8080${CONTEXT_NAME}/handle404</exporturl</a>></span></code><br>
<code><span style="font-size:10.0pt"> <plainoptimization>true</plainoptimization></span></code><br>
<code><span style="font-size:10.0pt"> <testresource uri="/system/shared/page.dtd" /></span></code><br>
<code><span style="font-size:10.0pt"> <resourcestorender></span></code><br>
<code><span style="font-size:10.0pt"> <regex>/sites/.*</regex></span></code><br>
<code><span style="font-size:10.0pt"> <regex>/system/workplace/commons/style/.*</regex></span></code><br>
<code><span style="font-size:10.0pt"> <regex>/system/galleries/.*</regex></span></code><br>
<code><span style="font-size:10.0pt"> <regex>/system/modules/.*/resources/.*</regex></span></code><br>
<code><span style="font-size:10.0pt"> </resourcestorender></span></code><br>
<code><span style="font-size:10.0pt"> </rendersettings></span></code><br>
<code><span style="font-size:10.0pt"> </staticexport></span></code><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt">Gerd Schrick <<a href="mailto:mail@schrick-design.de">mail@schrick-design.de</a>> hat am 15. Mai 2018 um 19:14 geschrieben:
<br>
<br>
Hi Kai, <br>
<br>
the port already was set correctly. <br>
<br>
As only resources/requests to <br>
/sites/default/... result in a 404 <br>
but the ones to <br>
/system/... work <br>
it looks like there's somewhere kind of a (not working) url rewrite. <br>
As mentioned I didn't any Tomcat (standalone) nor OCMS config changes that may do that.
<br>
<br>
I've still no idea what's going wrong here or where/what to look for. <br>
<br>
Maybe noone out there doing a full static export out-of-the-box? <br>
<br>
Best regards, <br>
Gerd <o:p></o:p></p>
<div>
<p class="MsoNormal">Am 15. Mai 2018 08:42:33 MESZ schrieb "Schliemann, Kai" <<a href="mailto:K.Schliemann@comundus.com">K.Schliemann@comundus.com</a>>:<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="ox-c933502d43-msonormal">Hi Gerd,<o:p></o:p></p>
<p class="ox-c933502d43-msonormal">a common mistake is to not set the correct Tomcat port in opencms-importexport.xml. So if your Tomcat rums on port 8080, please make sure to set that port in opencms-importexport.xml.<o:p></o:p></p>
<p class="ox-c933502d43-msonormal">Best regards<o:p></o:p></p>
<p class="ox-c933502d43-msonormal">Kai<o:p></o:p></p>
<p class="ox-c933502d43-msonormal"> <o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="ox-c933502d43-msonormal"><strong><span style="font-family:"Calibri",sans-serif">Von:</span></strong>
<a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a> <<a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a>>
<strong><span style="font-family:"Calibri",sans-serif">Im Auftrag von </span></strong>Gerd Schrick<br>
<strong><span style="font-family:"Calibri",sans-serif">Gesendet:</span></strong> Dienstag, 15. Mai 2018 03:27<br>
<strong><span style="font-family:"Calibri",sans-serif">An:</span></strong> The OpenCms mailing list <<a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a>><br>
<strong><span style="font-family:"Calibri",sans-serif">Betreff:</span></strong> Re: [opencms-dev] static export 404 on Template Resources<o:p></o:p></p>
</div>
</div>
<p class="ox-c933502d43-msonormal"> <o:p></o:p></p>
<p class="ox-c933502d43-msonormal" style="margin-bottom:12.0pt">Anyone out there to help with this?<o:p></o:p></p>
<div>
<p class="ox-c933502d43-msonormal">Am 6. Mai 2018 01:25:43 MESZ schrieb Gerd Schrick <<a href="mailto:mail@schrick-design.de">mail@schrick-design.de</a>>:<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p>Dear List,<o:p></o:p></p>
<p>I'm on a fresh local install of 10.5.3 in Tomcat (8.5.11) including the example site (Apollo Demo).<br>
All configs/settings are unchanged.<o:p></o:p></p>
<p>When I do a Static Export (Database Management -> Static export) there's no Error/Exception shown in the output but any resource below /sites shows ... 404 instead of ... o.k. and (as expected) none of them are exported.<o:p></o:p></p>
<p>Excerpt from the output:<br>
<span class="ox-c933502d43-note">::</span><br>
<span class="ox-c933502d43-note">( 441 / 441 ) Exporting</span> /system/workplace/commons/style/template.css ...
<span class="ox-c933502d43-ok">o.k.</span><br>
<span class="ox-c933502d43-head">... exporting Non-Template Resources is finished.</span><br>
<span class="ox-c933502d43-head">Exporting Template Resources ...</span><br>
::<br>
<span class="ox-c933502d43-note">( 6 / 563 ) Exporting</span> /system/workplace/commons/style/diff.css ...
<span class="ox-c933502d43-ok">o.k.</span><br>
<span class="ox-c933502d43-note">( 7 / 563 ) Exporting</span> /sites/default/tutorial/step-6-publish-your-changes/index.html ...
<span class="ox-c933502d43-ok">404 </span><br>
<span class="ox-c933502d43-note">( 8 / 563 ) Exporting</span> /sites/default/tutorial/step-6-publish-your-changes/ ...
<span class="ox-c933502d43-ok">404</span><br>
<span class="ox-c933502d43-ok">::</span><o:p></o:p></p>
<p>It somehow makes sense to me as I get a 404 in the browser when I request the reported URLs<br>
example: /sites/default/tutorial/step-6-publish-your-changes/index.html<br>
404 when: <a href="http://mymachine:8080/sites/default/tutorial/step-6-publish-your-changes/index.html">
http://mymachine:8080/sites/default/tutorial/step-6-publish-your-changes/index.html</a><br>
404 when: <a href="http://mymachine:8080/opencms/sites/default/tutorial/step-6-publish-your-changes/index.html">
http://mymachine:8080/opencms/sites/default/tutorial/step-6-publish-your-changes/index.html</a><br>
correct when: <a href="http://mymachine:8080/opencms/tutorial/step-6-publish-your-changes/index.html">
http://mymachine:8080/opencms/tutorial/step-6-publish-your-changes/index.html</a><o:p></o:p></p>
<p>in opencms_importexport.xml is<br>
<exporturl><a href="http://mymachine:8080$%7bCONTEXT_NAME%7d/handle404%3c/exporturl">http://mymachine:8080${CONTEXT_NAME}/handle404</exporturl</a>><br>
to omit "/handle404" (as suggested here: <a href="https://github.com/alkacon/opencms-core/issues/494)">
https://github.com/alkacon/opencms-core/issues/494)</a> did not change anything.<o:p></o:p></p>
<p>I already found similar/same issues reported for older versions but all w/o a working solution.<o:p></o:p></p>
<p>Thanks for your helpful hints!<br>
Gerd<o:p></o:p></p>
</blockquote>
</div>
</div>
</blockquote>
</div>
</blockquote>
<p class="MsoNormal"><br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt">_______________________________________________
<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/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>
<o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><br>
<o:p></o:p></p>
</div>
</div>
</blockquote></div></body></html>