[opencms-dev] Problem: when publishing the file first gets delated then recreated
Lorenzo
troubador at gmail.com
Mon Sep 21 14:07:27 CEST 2009
Ciao Andrea!
Thanx for the info. I changed the sync options from the publishing server to
the online servers, now it syncs only adding the files that are changed
without removing those that does not exist anymore.
Thanx again.
Lo'
2009/9/21 Andrea Puddu <docpuddu at tiscali.it>
> Hi Lorenzo,
> first of all you should check what kind of ExportHandler is in use in
> your OpenCms installation. (see
> [...]/alkacon-documentation/documentation_staticexport/config/...)
>
> According to the behaviour you've described I guess it is
>
> |CmsAfterPublishStaticExportHandler|
>
> If you use OpenCms with |CmsOnDemandStaticExportHandler| it recreates
> the deleted page on the fly when a new http request from a browser
> occurs. (so no 404 errors...)
>
> So in the "AfterPublishStaticExport" scenario when you publish a
> subsequent export on the file system takes place. The problem of the 404
> is when you have several resources to be published and OpenCms as first
> action deletes them and then recreated (during the export phase) the new
> ones. In this range of time, until recreation you have 404s.
>
> A possible resolution is to introduce an additional stage of export,
> let's call it 'live' so that it will be in sync with export.
> According to this the webserver, serves pages from 'live' folder which
> is in sync with the export folder where OpenCms writes during the export
> phase.
>
> The technique to keep synced the export and live folder is crucial.
>
> HTH.
>
> Ciao,
> Andrea
>
> ---------------------------
> Andrea Puddu
> docpuddu at tiscali dot it
> http://www.linkedin.com/in/andreapuddu
> -------------------------------------------
>
>
>
>
>
> Lorenzo Sala ha scritto:
> > Hello everyone.
> > I have this problem. I have all my pages published online. When I make a
> > change to a page offline and then publish it, the CMS actually deletes
> the
> > page from the server and then recreates it. Is there a way to configure
> the
> > CMS so that a file always remains online so the people don't get 404
> > messages when I make un update?
> >
> > Thanx!
> >
> > Lo'
> >
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20090921/223323f8/attachment.htm>
More information about the opencms-dev
mailing list