Static Cache without siteaccess in URL

Author Message

Sven Sven

Thursday 28 April 2011 2:54:10 am

Ive got a question. I dont know how i have to change this static cache rewrites for a url without the siteaccess in the url. The site is cached in the static/siteacc folder.

RewriteCond /www/html/ez-publish/static/siteacc/index.html -f
RewriteRule ^/$ /static/siteacc/index.html [L]
RewriteCond /www/html/ez-publish/static/siteacc/index.html -f
RewriteRule ^$ /static/siteacc/index.html [L]
RewriteCond %{REQUEST_METHOD} !^POST$
RewriteCond /www/html/ez-publish/static$1/index.html -f
RewriteRule ^(.*)$ /static$1/index.html [L]

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