Website down because htaccess has been modified by Litespeed?

#1
website down since tonight..

I found than .htaccess has been modified tonight...

I open it and i see that there is ONLY this code:

Code:
### LITESPEED_CACHE_START - Do not remove this line
<IfModule LiteSpeed>
CacheLookup on
## Uncomment the following directives if you has a separate mobile view
##RewriteEngine On
##RewriteCond %{HTTP_USER_AGENT} Mobile|Android|Silk/|Kindle|BlackBerry|Opera\ Mini|Opera\ Mobi [NC] RewriteRule .* - [E=Cache-Control:vary=ismobile]
</IfModule>
### LITESPEED_CACHE_END
Is it possible that Litespeed extension has changed the normal joomla .htaccess with this code?
 
Last edited:

AndreyPopov

Well-Known Member
#2
yes, these code added by LSCache module.
but main part commented and not used.

if you enable LSCache and choose enable Separate Mobile View than only you must uncomment two lines.


P.S. I use Opencart, but have same strange problem with LSCache, but not sure that problem in only LSCache.

15.05.2020 my hoster change PHP from 7.2.30 to 7.2.31 and at 00:00 16.05.2020 all my SEO links became "404 error"
clear all caches not solve.
disable and enable caches again - solve. site work whole day.
but ........
at 00:00 17.05.2020 all my SEO links again became "404 error"
clear all caches not solve.
disable and enable caches again - not solve. (
only switch to Apache and than again switch to LiteSpeed solve problem.
 
Top