Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
litespeed_wiki:cache:common_installation:apache-config-single [2016/05/05 19:37] Michael Alegre |
litespeed_wiki:cache:common_installation:apache-config-single [2016/05/31 13:49] (current) Michael Alegre [Set Server level cache root] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Web Cache Web Server Configuration - Apache Config Single Site ====== | ====== Web Cache Web Server Configuration - Apache Config Single Site ====== | ||
- | ==== Cache Storage Settings ==== | + | ===== Cache Storage Settings ===== |
- | == Set Server level of cache root == | + | ==== Set Server level cache root ==== |
The Server level cache root is set by adding the following to your server level Apache config file: | The Server level cache root is set by adding the following to your server level Apache config file: | ||
<IfModule Litespeed> | <IfModule Litespeed> | ||
- | CacheRoot /home/lscache | + | CacheRoot /home/lscache/ |
</IfModule> | </IfModule> | ||
| | ||
- | **Note:** make sure ''/home/lscache'' exists and server readable/writeable. CacheRoot is an absolute path for server level setting. | + | **Note:** make sure ''/home/lscache/'' exists and server readable/writeable. CacheRoot is an absolute path for server level setting. |
- | ==== Cache Policy Settings ==== | + | ===== Cache Policy Settings ===== |
Add the following Apache style configuration directive in .htaccess to enable cache lookup. | Add the following Apache style configuration directive in .htaccess to enable cache lookup. | ||
Line 21: | Line 21: | ||
Perform a web server graceful restart. | Perform a web server graceful restart. | ||
- | ==== Advanced Cache Configuration ==== | + | ===== Advanced Cache Configuration ===== |
For Advanced Cache Configuration info, **[[litespeed_wiki:cache:common_installation:advanced|look here]]**. | For Advanced Cache Configuration info, **[[litespeed_wiki:cache:common_installation:advanced|look here]]**. |