[opencms-dev] Static Export path problem

Frank Febbraro frankfebbraro at gmail.com
Fri Sep 17 17:48:23 CEST 2004


Using OpenCMS 6.0 Alpha 1 on Tomcat 4.1.29

I have updated staticexport in opencms-importexport.xml to change the
exportpath and also update the rfs-prefix fo rthe exported site.

I updated <exportpath> to be d:/website/export/.

Now when I static export it creates the folders:
d:/website/exportpics
d:/website/exportsites
d:/website/exportsystem

Instead of:
d:/website/export/pics
d:/website/export/sites
d:/website/export/system

Can someone help me figure out what is happening? I am doing this
because I need to export the site elsewhere to be hosted by Apache.

Thanks,
Frank

opencms-importexport.xml

<staticexport enabled="true">
	<mode>on-demand</mode>
	<exportpath>d:/website/export/</exportpath>
	<defaultpropertyvalue>false</defaultpropertyvalue>
	<defaultsuffixes>
		<suffix key=".jpg"/>
		<suffix key=".gif"/>
		<suffix key=".png"/>
		<suffix key=".doc"/>
		<suffix key=".xls"/>
		<suffix key=".ppt"/>
		<suffix key=".pdf"/>
		<suffix key=".txt"/>
		<suffix key=".css"/>
		<suffix key=".zip"/>
		<suffix key=".swf"/>
	</defaultsuffixes>
	<rendersettings>
		<rfs-prefix>/export</rfs-prefix>
		<vfs-prefix>${CONTEXT_NAME}${SERVLET_NAME}</vfs-prefix>
		<userelativelinks>false</userelativelinks>		
		<exporturl>http://127.0.0.1:8080${CONTEXT_NAME}/handle404</exporturl>
		<plainoptimization>true</plainoptimization>
		<testresource uri="/system/shared/page.dtd"/>
		<resourcestorender>
			<regex>/sites/.*</regex>
			<regex>/system/galleries/.*</regex>
			<regex>/system/modules/.*/resources/.*</regex>
		</resourcestorender>
	</rendersettings>
</staticexport>



More information about the opencms-dev mailing list