This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Install & configuration » Static Cache without siteaccess in URL
expandshrink

Static Cache without siteaccess in URL

Static Cache without siteaccess in URL

Thursday 28 April 2011 11: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]

No reply yet!

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from