<div class="gmail_quote"><div>Dear all,</div><div>our organisation want to have OpenCMS publish in dynamic and static. The idea is change webs from static to dynamic using org.opencms.staticexport.CmsAfterPublishStaticExportHandler as export handler. We switch from static to dynamic using the web folder export property</div>
<div><br></div><div>Our not solved question is how to change one web from one mode to another without changing its URL. As you know OCMS, in static export, insert the rfs-prefix</div><div><br></div><div>In this moment if you have a web in dynamic you will access trough <a href="http://mydomain.com/site1" target="_blank">http://mydomain.com/site1</a> but if we change to static we will access trough <a href="http://mydomain.com/opencms/export/site1" target="_blank">http://mydomain.com/opencms/export/site1</a> (in case you have <rfs-prefix>${CONTEXT_NAME}/export</rfs-prefix>)</div>
<div><br></div><div>We are thinking in some Apache rewrite rules, but maybe there is something with a more creative solution </div><div><br></div><div>Our system is composed by:</div><div><br>
</div><div>OCMS version 7.0.5</div><div>Oracle 11</div><div>Tomact 5.5</div><div><br></div><div>Thanks in advance and best regards</div><div><br></div><div>David Caparrós</div><div><br></div><div><br></div><div>NOTE we have tested <rfs-prefix>/</rfs-prefix> but actually a static web works as a dynamic</div>
</div><br>