AW: [opencms-dev] OpenCms 6.0.0, "Start Static Export" is not working properly
Kai Schliemann
k.schliemann at comundus.com
Tue Sep 13 15:40:02 CEST 2005
Hi Riku,
this could have several reasons.
If you are using the static export handler be sure to do the correct
configuration in opencms-importexport.xml and web.xml.
Here is a snippet of my files:
opencms-importexport.xml:
##############
<staticexport enabled="true">
<staticexporthandler>org.opencms.staticexport.CmsOnDemandStaticExportHandler
</staticexporthandler>
<exportpath>web</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}/web</rfs-prefix>
<vfs-prefix>${CONTEXT_NAME}${SERVLET_NAME}</vfs-prefix>
<userelativelinks>false</userelativelinks>
<exporturl>http://www.domain.com${CONTEXT_NAME}/handle404</exporturl>
<plainoptimization>true</plainoptimization>
##############
web.xml:
##############
<error-page>
<error-code>404</error-code>
<location>/opencms/handle404</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/opencms/system/handler/handle500.html</location>
</error-page>
##############
HTH
Regards
i.A. Kai Schliemann
IT-Consultant
____________________________________________
comundus IT-Beratung GmbH
Schüttelgrabenring 3, 71332 Waiblingen
Tel: +49 (0) 71 51-5 00 28-0 Fax: -99
www.comundus.com www.comundus-e-quality.com
____________________________________________
-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org]Im Auftrag von Riku Nieminen
Gesendet: Dienstag, 13. September 2005 15:14
An: opencms-dev at opencms.org
Betreff: [opencms-dev] OpenCms 6.0.0, Start Static Export is not
working properly
OpenCms 6.0.0
Administration Additional Tools Start Static Export
is not working properly.
Exporting non-template resources is OK, but exporting template resources
fails.
Here is small clip from static Export details:
Exporting Template Resources ...
( 1 / 375 ) Exporting /templateone/resources/style_accessible.css ... 500
( 2 / 375 ) Exporting /templateone/resources/menu_click.js ... 500
( 3 / 375 ) Exporting /templateone/resources/menu_over.js ... 500
( 4 / 375 ) Exporting /templateone/resources/style.css ... 500
( 5 / 375 ) Exporting /resources/documentation/list.jsp.html ... 500
( 6 / 375 ) Exporting
/sites/default/xmlcontentdemo/widgetdemo/widgetdemo_0001.html ... 500
and so on
All files are marked with ..500 when those should be ..OK.
Why is this happening? I did not found anything according to this error from
log files.
--Riku Nieminen
...................................................................
Luukku Plus paketilla pääset eroon tila- ja turvallisuusongelmista.
Hanki Luukku Plus ja helpotat elämääsi. http://www.mtv3.fi/luukku
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list