Questions tagged [litespeed]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
825 views

Open litespeed and additional engines in subfolders

Last night I spent more time than I should have trying to get a new VDS up and running with Percona and Open Litespeed. The site I want to run ok there is structured as follows Webroot index.php ...
0 votes
0 answers
71 views

WP rest api and litespeed incompatibility

I have tried everything i could think of and searched on the on Internet for the last few days i'm spending ~10 hours per day trying to diagnose this. the issue: in WP Site Health i get: The REST ...
2 votes
1 answer
94 views

litespeed detected as not running

i have installed open lite speed web server on my own virtual server. lite speed is enabled and have installed the plugin for direct admin. but when i open the plugin page, it says that lite speed is ...
0 votes
1 answer
90 views

Very low resource usage on Openlitespeed (LOMP) on Ubuntu 22.04

I have been testing a custom PHP script on LOMP (Ubuntu 22.04) running on VirtualBox (2GB/2Core). First, I tried Apache and upon benchmarking the script, it could complete 10K requests in ~36s - ab ...
1 vote
1 answer
8k views

How do you redirect URLs with a query string with htaccess?

I want to redirect pages like : example.com/fr/opportunites/?sector_cat=bourses-detudes&ajax_filter=true To example.com/fr/bourses-detudes/ the second page is a post type page created with ...
0 votes
0 answers
110 views

why almalinux is hanging over night with auditlog

hey there is a hosting server overnight my server hanged up and must to restart it in morning to get it back online and saw this error in my console (you can see the picture) please help me https://...
0 votes
0 answers
180 views

Serve mixed case files case-insensitive on Linux Apache without mod_speling?

On my media subdomain (nice separation of concerns, also for rulesets) I have files which are in Mixed-Case-intentionally (for maximum semantics, also for downloads) which I want to serve case-...
2 votes
2 answers
3k views

OpenLitespeed vs. Apache difference for WordPress?

What is the biggest difference and concerns about OpenLitespeed (not premium Litespeed) and Apache? About speed, security and management issues, what should newbies understand? This is not about web ...
0 votes
1 answer
2k views

How can I exclude the admin area from the litespeed cache when running Magento?

I have litespeed on my server and am trying to use the cache system. I have followed the wiki instructions. And have this in my Magento .htaccess RewriteRule (.*\.php)?$ - [L,E=Cache-Control:max-...
0 votes
2 answers
2k views

Restrict Location Match by IP via .htaccess

I have a url path defined in rewrite rules ('/admin') which I would like to restrict access to only 1 ip address. I'd image the best way would to use .htaccess rather than coding it in. I've tried ...
1 vote
1 answer
970 views

Condition depending on domain in .htaccess: SetEnvIf and IfDefine?

I would like to add a rule in .htaccess that "Does something" (actually enable a httpauth user restriction) depending on the domain name. I thought I had it and did: <IfModule ...
1 vote
0 answers
150 views

Openlitespeed through openresty load balancer giving 404 from measure tools and from proxy

i have an openresty load balancer between two web servers now (for testing purposes) one is nginx and the other one is openlitespeed. the nginx one is working as it should and everything is okay. the ...
1 vote
1 answer
2k views

Apache .htaccess works fine, 404 with Litespeed

I'm using litespeed on shared hosting (unfortunately), and I'm trying to use .htaccess to rewrite http to https NON www - and change domain.com/index to domain.com/my-string for SEO purposes. This is ...
0 votes
1 answer
58 views

How To Force User Agents To Use Later Available Version of HTTP?

A OpenLiteSpeed Web Server is running on AlmaLinux 8. HTTP/1.1, HTTP/2 and HTTP/3 QUIC are enabled. 80/tcp, 443/tcp and 443/udp ports are open publicly and permanently. The server is sending the below ...
0 votes
0 answers
314 views

OpenLiteSpeed server on EC2 times out on small ecommerce site

Hope you are doing well - I'm running a Wordpress site with Woocommerce on a OpenLiteSpeed web server that under heavy PHP usage starts showing Timed-out 504 errors. I'm hosting everything in AWS and ...
0 votes
0 answers
139 views

Unable to install Godaddy SSL on openlitespeed webserver

I'm trying to install Godaddy Ssl to openLitespeed server but it's not working. I added .key .crt files to /usr/local/lsws/conf/cert/ then added the path to ssl listener as: $SERVER_ROOT/conf/cert/...
1 vote
1 answer
156 views

OpenLiteSpeed on RHEL8.5

I'm using EC2 with RHEL8.5 (Red Hat Enterprise Linux release 8.5 (Ootpa)). I wanted to install OpenLiteSpeed on that instance. my Question, Does OpenLiteSpeed support with RHEL8? If I don't wrong, ...
0 votes
1 answer
2k views

My laravel .env file is downloadable via ip access! How to solve this on litespeed server?

hello I am creating a new laravel project with Openlitespeed server and I saw a glaring security issue. I've added the following rule to the .htaccess of the site root and it works fine by stopping ...
0 votes
1 answer
1k views

In LiteSpeed, where is $VH_ROOT defined?

After installing LiteSpeed, the first task when experimenting is often setting up a vhost. When we look around dashboard at various settings we come across some variables. One of which is $VH_ROOT. ...
0 votes
2 answers
1k views

Openlitespeed view nodejs stdout/console.log logs

I am trying to setup a nodejs server with openlitespeed as proxy server on digital ocean using the one click litespeed nodejs image from their marketplace. Everything is working fine. I just want to ...
0 votes
1 answer
103 views

Folder created in terminal does not give access to control panel user [closed]

I have made a script which creates a folder (website) in the public path of a website that belongs to a website control panel (CyberPanel): mkdir /home/example.com/website/ But this command does not ...
0 votes
1 answer
1k views

Litespeed - NextJS app in DigitalOcean Droplet - Restart Custom Server

Am using the DigitalOcean OpenLiteSpeed NodeJS image from marketplace for setting up the Droplet, for running my NextJS app. I have setup everything and when tested, the home page was displaying ...
2 votes
3 answers
4k views

Does OpenLiteSpeed support Apache .htaccess rewrites?

I have been getting some conflicting information - official OpenLiteSpeed pages say both that: OpenLiteSpeed supports Apache rewrites, and OpenLiteSpeed does not support .htaccess A bit confused......
0 votes
2 answers
1k views

Litespeed vs Apache for WooCommerce performance?

I currently run a wp/woocommerce site that's been optimized as far as I can take it for an Apache server: MySQL memory optimized WP Rocket MaxCDN VPS: 2 cores 2 gigs of ram SSL The site offers ...
1 vote
2 answers
8k views

WordPress servers comparison: Apache vs Litespeed [closed]

Today I've seen on the wordpress requirements that they recommend Apache or litespeed web server. It's the first time I've heard about litespeed and I've been hearing Apache for years. What are the ...
1 vote
1 answer
929 views

Cannot install lsphp74-imagick: unmet dependencies

I have an Ubuntu 20.04 LTS instance running on Amazon Lightsail and I have trouble installing lsphp74-imagick. $ sudo apt install lsphp74-imagick Response: The following packages have unmet ...
1 vote
0 answers
313 views

ssl-certificate for subdomain pointing to different server (litespeed/wordpress)

I have a domain name (www.my_domain.com), and this is attached to a load balancer in GCP. I have a google managed SSL-certificate for the frontend service of this load balancer. This works perfectly. ...
1 vote
1 answer
537 views

Enable CORS in a specific folder with dot in directory name

I am trying to enable CORS in a specific file (stellar.toml) located at mydomain.com/.well-known/stellar.toml I added the below catch all and allow for testing in my .htaccess file on my litespeed/...
0 votes
2 answers
142 views

After changing user:group the site shows 503 error and even the ipa.ddr.ess:7080 won't let me in; it says "Invalid credentials."

I accidently used this command in the root directory and now the ipa.ddr.ess:7080 won't let me in; it says "Invalid credentials." the command that I used was chown -R www-data:www-data /. ...
0 votes
1 answer
300 views

Litespeed + Certbot - Invalid cert, expired

I keep getting an issue where my site reports the site as having an invalid SSL. ERR_CERT_DATE_INVALID (in chrome) It is simply fixed by restarting LSWS. I therefore checked my cron for certbot and it ...
0 votes
1 answer
47 views

How to configure Load Balancing Servers

I want to configure load balancing servers on Cloudflare. They have a feature where I can add a couple of servers to improve uptime and service availability. Now, I'm still a novice in this server ...
0 votes
1 answer
387 views

How to use LiteSpeed server with Apache?

On my search i've got only info about replacement of Apache with LiteSpeed. My question is rather: how to use them together? I think about a similar setup, where Apache is used together with Nginx, ...
2 votes
2 answers
8k views

What rule can I use in ModSecurity to log POST payload for a specific site?

I need to inspect POST payload for a specific website (the server is rather busy and I wouldn't turn on POST logging for the entire server). The server is LiteSpeed 5.0.7. SecRequestBodyAccess is set ...
0 votes
0 answers
153 views

Strange download speed

I have a problem with download/upload speed. If I try to download a file from my server I have really low speed like 1 mb/s, on this server I have 1 gbit uplink. If I do a speedtest-cli the network ...
0 votes
1 answer
456 views

Factors of slow TTFB comparing between two VPS providers

I set up two VPS with the same (databases and hosting control panel). VPS company 1: based in california | 1 gbs | 2 core intel(R) Xeon(R) | 2 gb Ram | using Cloudflare VPS company 2: based in ...
0 votes
1 answer
940 views

Migrate vhosts from Apache to OpenLiteSpeed

I was under the impression from reading the LiteSpeed web server doc, that LiteSpeed was using the same syntax for vhosts config than Apache ones, thus the migration was easy. However, after ...
0 votes
1 answer
924 views

404 on LiteSpeed vhost

I just installed OpenLiteSpeed 1.6.17 on my dedicated server running Debian 10, with the goal to replace my Apache 2.4.38 in the future. I have access to OpenLiteSpeed WebUI, didn't changed the ...
1 vote
2 answers
979 views

Installation OpenLiteSpeed Web Server on Amazon Linux (RHEL)

I'm just trying to install OLS on my Amazon Linux 2 instance, but i received errors at first and all last steps. Here is the explaination about: When i added recommended by guide repository, i ...
0 votes
1 answer
120 views

OpenLiteSpeed slow after IP change

I tested this multiple times, I created an image of perfectly working OpenLiteSpeed server on EC2, and when I deploy it, it doesn't connect or it connects but extremely slow (it takes around 1 min for ...
1 vote
2 answers
3k views

List directory contents on website hosted by LiteSpeed

I have a website (say www.example.com) being hosted on a LiteSpeed webserver. I've created a directory at www.example.com/media but I'm unable to list the contents and get a 404 error. How can I fix ...
1 vote
1 answer
1k views

CyberPanel LiteSpeed htaccess not working

I'm using CyberPanelthat it work with litespeed, I want to use .htaccess but it seems not reading any command in htaccess. for example I set: Deny from all But it not affacted. here is vHost conf: ...
1 vote
1 answer
344 views

Serve website from different directory based on URL string parameter

I would like to learn if I can serve the website from 2 different versions according to URL string parameters. Example: I have two installs on my server: example.com/website-1/ and example.com/...
0 votes
0 answers
598 views

HTTPS redirect is not working

I just migrate my WordPress website to google cloud using openlitespeed server. After setting up SSL my website is not redirecting to HTTPS although I set https redirect on my .httaccess. Also when a ...
1 vote
1 answer
1k views

How To Use Wget Command To Check Server Cache Settings

I'm having trouble with a server side cache with an OpenLiteSpeed server. I've tried the following .htaccess trick to try and turn this cache off. Can you tell me a wget command I can use to test my ...
0 votes
1 answer
1k views

OpenLiteSpeed file_put_contents Permission Denied Error

New to OpenLiteSpeed, I received a permission denied warning error when trying to write a file in the website subdirectory using file_put_contents() API from PHP. I thought perhaps I needed to adjust ...
3 votes
1 answer
8k views

Litespeed vs Nginx high-traffic server performance? [closed]

Most top-level (high-traffic) websites use Nginx web servers. This community has many members who are experts about systems and servers, so I want to ask for feedback on which server can handle top-...
2 votes
1 answer
785 views

Too many open files error on webserver with wordpress site on litespeed server

I am running a wordpress site on a litespeed webserver, caching enabled using the litespeed plugin, with cloudflare as a CDN. Every few days or so, the logs start filling with the below error. Not ...
0 votes
1 answer
677 views

openlitespeed mongodb extension installation for lsphp

I'm trying to use mongodb with lsphp. Currently I've manually compiled mongodb.so following this and I can see mongodb.so at /usr/local/lsws/lsphp7/lib/php/extensions/no-debug-non-zts-20160303 . Now, ...
0 votes
1 answer
941 views

Openlitespeed as a WebSocket Proxy

I am building web applications related to the socket. And my application runs well without https, if it has https, it will not connect. And as guidance on nginx must configure additional proxy. But ...
0 votes
1 answer
183 views

Litespeed cache – also for resources?

I'm trying out litespeed cache. Sounds promising. I added this to my .htaccess: ######### Begin - Litespeed cache <IfModule LiteSpeed> CacheDisable public / RewriteEngine On RewriteCond %{...