[opencms-dev] Export 404

Marc Davenport mdavenport at endeca.com
Mon Nov 22 22:07:04 CET 2004


I'm still trying to figure out static export in version 6.

Right now when I do a Static export I get this error message.

Starting static export ...
Export Non-Template Resources...
(1 / 1) Exporting /system/shared/page.dtd ... o.k.
... Export Non-Template Resources completed.
Export Template Resources...
(1 / 2) Exporting /Page2.html ... 404
(2 / 2) Exporting /index.html ... 404
... Export Template Resources completed.
Statistics: duration: 00:00:01
... the static export is finished 


I'm sure this is because I'm confusing the paths\vfs\rfs prefixes from the
config xml files.

Below I have the static export part of the opencms-importexport.xml file

<staticexport enabled="true">
		<mode>after-publish</mode>
		<exportpath>/home/mdavenpo/site/</exportpath>
		<defaultpropertyvalue>true</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>${CONTEXT_NAME}/export</rfs-prefix>
	
<vfs-prefix>${CONTEXT_NAME}${SERVLET_NAME}</vfs-prefix>
			<userelativelinks>false</userelativelinks>

	
<exporturl>http://127.0.0.1:8080${CONTEXT_NAME}/</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>


Does someone see a glaring mistake?


Thanks, 
Marc Davenport

This email message and any attachments are confidential to Endeca. If you
are not the intended recipient, please notify Endeca immediately -- by
replying to this message or by sending an email to: legal at endeca.com -- and
destroy all copies of this message and any attachments. Thank you.



More information about the opencms-dev mailing list