Hello all,
We're evaluating lightspeed and installed it on our cpanel server.
We've successfully install Litespeed and the cache is work for every pages except for root/main folder at www.xxx.com/, Checked on IP based website and it is working fine, only happen when we go to www.xxx.com/, It is listing files and folder instead of displaying website, below is our .htaccess and cache config.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule (.*) - [E=Cache-Control:max-age=60]
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Storage Path /dev/shm/lsdiskcache
Enable Cache No
Max Object Size 128000
Cache Expire Time (seconds) 120
Cache Stale Age (seconds) Not Set
Cache Request with Query String Yes
Cache Request with Cookie Yes
Cache Response with Cookie Yes
Ignore Request Cache-Control Yes
Ignore Response Cache-Control Yes
Enable Private Cache No
Private Cache Expire Time (seconds) 120
Do-Not-Cache URL
/wp-admin/
Do-Not-Cache Domains
Not Set
Wondering if anyone can help, Thanks in advance!
We're evaluating lightspeed and installed it on our cpanel server.
We've successfully install Litespeed and the cache is work for every pages except for root/main folder at www.xxx.com/, Checked on IP based website and it is working fine, only happen when we go to www.xxx.com/, It is listing files and folder instead of displaying website, below is our .htaccess and cache config.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule (.*) - [E=Cache-Control:max-age=60]
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Storage Path /dev/shm/lsdiskcache
Enable Cache No
Max Object Size 128000
Cache Expire Time (seconds) 120
Cache Stale Age (seconds) Not Set
Cache Request with Query String Yes
Cache Request with Cookie Yes
Cache Response with Cookie Yes
Ignore Request Cache-Control Yes
Ignore Response Cache-Control Yes
Enable Private Cache No
Private Cache Expire Time (seconds) 120
Do-Not-Cache URL
/wp-admin/
Do-Not-Cache Domains
Not Set
Wondering if anyone can help, Thanks in advance!
Attachments
-
112.3 KB Views: 6