Thanks for the reply.
I would prefer to have the cache outside/above the document root, but is the
.htaccess able to point to files outside of this?
RewriteCond %{DOCUMENT_ROOT}/cached/index.html -f
eg:
RewriteCond %{REQUEST_METHOD} GET
RewriteCond %{DOCUMENT_ROOT}/../data/cache/index.html -f
RewriteRule ^/*$ /../data/cache/index.html [L]
# Hit files, symlinks and directories directly, if they exist.
RewriteCond %{REQUEST_METHOD} GET
RewriteCond %{DOCUMENT_ROOT}/../data/cache/%{REQUEST_URI}\.html -f
RewriteRule .* /../data/cache/%{REQUEST_URI}\.html [L]
generates a 400 (Bad Request) server error.
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/CacheManager-resource-for-static-page-caching-protect-cache-tp3519952p3524176.html
Sent from the Zend Framework mailing list archive at Nabble.com.
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]