Generate static cache

Author Message

yves scotto

Friday 29 January 2010 7:24:54 am

Hi all

I try to generate static html pages with the makestaticcache.php -f command

I change 2 configuraion files :

settings/override/site.ini.append.php : I add

[ContentSettings]

StaticCache=enabled

I create a staticcache.ini.append.php in the same directory

<?php /* #?ini charset="utf-8"?
[CacheSettings]HostName=localhost:8082StaticStorageDir=../staticMaxCacheDepth=5
# A list of url's to cache. You can use the * wildcard to include a whole# subtree.CachedURLArray[]=/CachedURLArray[]=/news*CachedURLArray[]=/weblog*CachedURLArray[]=/*
# A list of site accesses to generate static content forCachedSiteAccesses[]=ez_webinCachedSiteAccesses[]=fre
*/?>
<?php /* #?ini charset="utf-8"?
[CacheSettings]

HostName=localhost:8082

StaticStorageDir=../static

MaxCacheDepth=5
# A list of url's to cache. You can use the * wildcard to include a whole# subtree.

CachedURLArray[]=/

CachedURLArray[]=/news*

CachedURLArray[]=/weblog*

CachedURLArray[]=/*
# A list of site accesses to generate static content for

CachedSiteAccesses[]=ez_webin

CachedSiteAccesses[]=fre
*/?>

But when I launch the makestaticcache command nothing is created

no static directory ! nothing nada :-((

Where is the mistake ?

Thanks for all

Regards

Yves

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.