Faisal Holding
Type anywhere to
search
You are here
Home
»
Administration
»
Configuration
»
System
»
Boost
Boost
Primary tabs
.htaccess
(active tab)
Boost Settings
Cache Expiration
Crawler
Debug
File System
Related Modules
Secondary tabs
.htaccess Generation
.htaccess Settings
(active tab)
Boost Apache .htaccess settings generation
Explanation of .htaccess variables
Be sure to save the configuration and then go to the
htaccess rules generation page
and copy the rules.
Apache 2.4 users should uncomment the two marked sections, each line beginning with #
Server's URL or Name
%{HTTP_HOST}
%{SERVER_NAME}
www.faisalholding.com
appserver-109418df-nginx-afbfee23877c47f0a5fb5168e1bf8fe2
Best to leave these as %{}, only try the last option(s) if boost is still not working.
Document Root
%{DOCUMENT_ROOT}
/code
%{ENV:PATH_TRANSLATED} = /code
%{ENV:DOCROOT} = /code/
%{ENV:DRUSH_OPTIONS_ROOT} = /code/
%{ENV:PATH} = /php:/code/vendor/bin:/opt/pantheon/drush:/opt/pantheon/composer:/opt/pantheon/wpcli:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Value of
%{DOCUMENT_ROOT}
is recommended for this server.
ETag Settings
Set FileETag 'MTime Size' - Useful in server clusters (Highly Recommended)
Set FileETag 'All' - Default if enabled
Set FileETag 'None' - Do not send an etag
Do Nothing
Uses
FileETag Directive
to set
ETags
for the files cached by Boost.
More info on this subject
Boost Tags
Set Boost header
Do not set Boost header
In order to identify that the page is being served from the cache, Boost can send out a header that will identify any files served from the boost cache.
Bypass the boost cache for ssl requests.
Ticking this is recommended if you use the securepages module.
Add "AddDefaultCharset X" to the htaccess rules
Depending on your i18n settings you might want this disabled or enabled. X is set below
Add "AddDefaultCharset utf-8" to the htaccess rules
Depending on your i18n settings you might want this disabled or enabled.
/code/cache/normal/%{HTTP_HOST}/.htaccess
Options
Set "Options +FollowSymLinks"
Set "Options +SymLinksIfOwnerMatch"
The .htaccess file in the cache folder requires "Options +FollowSymLinks" or "Options +SymLinksIfOwnerMatch" for mod_rewrite. Some hosting companies only permit the SymLinksIfOwnerMatch option. If you get a http 500 error code try setting SymLinksIfOwnerMatch.
Leave this field blank