bratiask/cleopas

Silvestripe Widgets Library

Installs: 224

Dependents: 0

Suggesters: 0

Security: 0

Type:silverstripe-module

4.3.4 2020-08-19 16:01 UTC

README

DelayedJobs: "silverstripe/queuedjobs": "^2.8",

.htaccess

RewriteCond %{REQUEST_METHOD} ^GET|HEAD$
RewriteCond %{QUERY_STRING} ^$
RewriteCond %{REQUEST_URI} /(.*[^/])/?$
RewriteCond %{DOCUMENT_ROOT}/html-cache/live/%1.html -f
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* /html-cache/live/%1.html [END]

RewriteCond %{REQUEST_METHOD} ^GET|HEAD$
RewriteCond %{QUERY_STRING} ^$
RewriteCond %{REQUEST_URI} ^/?$
RewriteCond %{DOCUMENT_ROOT}/html-cache/live/home.html -f
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/?$ /html-cache/live/home.html [END]

RewriteCond %{REQUEST_URI} !^/images/it-.*$
RewriteCond %{REQUEST_URI} ^/images(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* %1 [QSA,L]

RewriteCond %{REQUEST_URI} ^/images(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* image.php?url=%1 [QSA,L]