Forums / Install & configuration / Static Cache without siteaccess in URL

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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]