LiteSpeed Web Server (LSWS) is a high-performance Apache drop-in replacement.
Questions tagged [litespeed]
292 questions
1
vote
1 answer
Litespeed Enterprise not obeying .htaccess require rules
I have the following folder structure
domain.com (/public_html/)
sub.domain.com (/public_html/sub/)
sub.domain.com/dir1/ (/public_html/sub/dir1/)
sub.domain.com/dir1/dir2/ (/public_html/sub/dir1/dir2/)
if I put the following in my .htaccess file at…

Henry Aspden
- 1,863
- 3
- 23
- 45
1
vote
1 answer
Redirection on Litespeed server not working as expected
Litespeed obeys .htaccess rules but I cannot seem to get it to work for what should be a basic problem for which I cannot find a solution online. I want to redirect from this with everything in the…

Lethalmiko
- 11
- 4
1
vote
0 answers
Running Quart on Cloudlinux's Passenger
I would like to use Quart on my LiteSpeed server which supports "Python Selector".
I was able to deploy Flask but when I tried to do the same with Quart, it failed. I'm sure it is because Flask runs on WSGI while Quart on ASGI. I tried using things…

NORXND
- 103
- 1
- 8
1
vote
1 answer
Strange RewriteRule causes errors
I use PrestaShop on Litespeed server, here is a part of .htaccess of admin panel:
# Keep legacy entry points
RewriteRule ^(ajax|ajax_products_list|ajax-tab|backup|cron_currency_rates)\.php - [P]
RewriteRule…

Nima Masalegooha
- 79
- 1
- 11
1
vote
1 answer
htaccess - hide file extension and keep only value of a variable
original url - example.com/art.php?a=lorem
want to be visible as - example.com/art/lorem
litespeed server - htaccess is enabled
RewriteEngine ON
RewriteRule ^art/(.*)$ /art.php?a=$1 [L]
doesn't work
url is still - example.com/art.php?a=lorem
pls…

qadenza
- 9,025
- 18
- 73
- 126
1
vote
1 answer
htaccess - how to get only domain name and one variable inside url
my remote server is LiteSpeed - not Appache
not sure is it the same regarding htaccess code
original url - example.com/index.php?c=kb
.htaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule…

qadenza
- 9,025
- 18
- 73
- 126
1
vote
2 answers
htaccess migration issue from Apache to LiteSpeed
I recently did an URL spring cleanup in the backend and I'm currently struggling with one of the .htaccess redirects.
What I'm trying to redirect is:
https://www.example.com/directory/?type=supplier&category=celebrant&sort=latest
which should go…

Marc
- 13
- 5
1
vote
1 answer
Mobile detection via PHP in Wordpress with Litespeed Web Server
We're using wordpress on a publishing website and I have a situation where I need to use server-side mobile detection in order to deliver some ad scripts. Javascript is not a solution since the scripts from the ad server are pretty complex.
The…

Alex Bohariuc
- 41
- 2
1
vote
1 answer
Are there any web servers supporting RFC8879 TLS Certificate Compression?
I am trying to verify an implementation of RFC8879. Are there any webservers or TLS libraries which have implemented this RFC? I have done some research and my results indicate that the popular webservers/tls libraries have not implemented this RFC…

sharks
- 113
- 1
- 7
1
vote
0 answers
Allow URL's in subdirectory of Wordpress
I have an installation of WordPress in public_html, also I have a folder there containing a crm system.
The problem is that everything works fine but I get an 404 error when trying to load the crm system, specifically the JS and CSS files wont load.…

whitenoise40
- 11
- 1
1
vote
0 answers
not allowing files to display properly on custom 401 error page
Not sure how to properly title this problem (my apologies). Recently my web hoster has upgraded from Apache to Litespeed. In doing so this has rendered my custom, “401 error page/unauthorized login” to not load properly.
Here is current .htaccess…

Brandon Humphrey
- 35
- 6
1
vote
0 answers
503 Litespeed Python error: The server is temporarily busy, try again later
I am using shared linux hosting and I am trying to setup a Python app using the Python selector. Firstly, when you setup the app, the website should be saying:
It works! and the python version.
However I am getting a 503 error saying The server is…

yavorbel
- 4,061
- 2
- 6
- 7
1
vote
1 answer
Htaccess Re-Write Modula Gallery Image Filename to LiteSpeed Cached Image
I'm using the Modula Pro image gallery plugin for WordPress and all of the thumbnail images that load have either of these URL…

Roy Handy
- 11
- 2
1
vote
0 answers
Caching caused DOMContentLoaded event not fired
Playing with LiteSpeed Cache (LSC) plugin for WordPress and found it caused one plugin (Revolution Slider) not working.
Error: Uncaught ReferenceError: setREVStartSize is not defined
The slider plugin's function