2022 Developer Survey is open! Take survey.

Questions tagged [litespeed]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
27 views

why litespeed prevent reverse proxy working?

when my server running with litespeed the ProxyPass to external site (e.g. google.com) not working but on apache it works litespeed says that you must add a web server in externalApp in litespeed ...
user avatar
0 votes
0 answers
33 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 ...
user avatar
0 votes
0 answers
47 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/...
user avatar
1 vote
1 answer
30 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, ...
user avatar
  • 157
0 votes
1 answer
105 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 ...
user avatar
0 votes
1 answer
185 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. ...
user avatar
  • 133
0 votes
1 answer
42 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 ...
user avatar
0 votes
1 answer
202 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 ...
user avatar
  • 101
1 vote
1 answer
390 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 ...
user avatar
1 vote
1 answer
261 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 ...
user avatar
1 vote
0 answers
108 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. ...
user avatar
  • 111
0 votes
2 answers
47 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 /. ...
user avatar
  • 101
1 vote
1 answer
125 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/...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
  • 11
0 votes
1 answer
123 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 ...
user avatar
0 votes
1 answer
36 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 ...
user avatar
0 votes
1 answer
109 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, ...
user avatar
  • 255
0 votes
0 answers
33 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 ...
user avatar
0 votes
1 answer
245 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 ...
user avatar
0 votes
1 answer
374 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 ...
user avatar
  • 273
0 votes
1 answer
188 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 ...
user avatar
  • 273
0 votes
1 answer
64 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 ...
user avatar
1 vote
1 answer
686 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: ...
user avatar
  • 111
0 votes
2 answers
541 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 ...
user avatar
0 votes
0 answers
172 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 ...
user avatar
1 vote
1 answer
52 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/...
user avatar
  • 11
1 vote
1 answer
619 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 ...
user avatar
0 votes
1 answer
672 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 ...
user avatar
3 votes
1 answer
7k 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-...
user avatar
0 votes
2 answers
533 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 ...
user avatar
2 votes
1 answer
626 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 ...
user avatar
  • 123
0 votes
1 answer
389 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, ...
user avatar
0 votes
1 answer
591 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 ...
user avatar
  • 1
0 votes
1 answer
111 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 %{...
user avatar
  • 103
0 votes
2 answers
361 views

LiteSpeed ignore PHP header 404 status

After moving my website to a webhost which uses LiteSpeed it seems PHP header is ignored. I have tried these variations: $s = "HTTP/1.1 404 Not Found"; $s = "HTTP/1.0 404 Not Found"; $s = "Status:...
user avatar
  • 95
0 votes
0 answers
72 views

Appending HTML to pages when specific IPs request them?

I host three websites on the same physical server, and of course by the Host header I know which website the user requests. For the sake of the example these are the domains: blog.website1.example ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
0 votes
1 answer
159 views

Migrating from LiteSpeed to Apache special characters in image names 404

On my host running LiteSpeed, images with special characters in filenames like "é" work just fine. When i migrate the site to my local development stacks, be them WAMP clones or even a Vagrant VM on ...
user avatar
  • 113
0 votes
2 answers
987 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 ...
user avatar
  • 1
0 votes
1 answer
135 views

Why there are a lot of log with the ip address of the server in litespeed?

I have a server with Litespeed web server. When I check the access logs of a domain there are a lot of lines like the following: 188.165.x.x - - [04/Feb/2017:10:16:16 +0330] "GET /assets/source/...
user avatar
0 votes
2 answers
713 views

.htaccess php_value and php_flag being ignored in sub-directory

I have an .htaccess file in my public_html directory with the following rules: <IfModule litespeed> php_flag zlib.output_compression On php_value zlib.output_compression_level 2 php_value ...
user avatar
2 votes
2 answers
7k 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 ...
user avatar
  • 105
0 votes
2 answers
3k views

Your PHP installation appears to be missing the MySQL extension

Your PHP installation appears to be missing the MySQL extension which is required by WordPress. This is what I get when I try to install WP. The server is running. Centos 6.7 x64. Litespeed ...
user avatar
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 ...
user avatar
  • 799
0 votes
1 answer
369 views

Will HTTP/2 work with Apache acting as a reverse proxy to an OpenLightSpeed server?

Before wasting my time and doing something I figured I would ask the question first. I really want to try out HTTP/2 and since Apache does not have a module for it yet I figured I would use ...
user avatar
0 votes
0 answers
1k views

Open LiteSpeed permission problems

I recently moved to open litespeed from apache and i can no longer create files. When i do a file_put_contents i get permission errors. lsphp and litespeed both run under user nobody. Doing a chmod ...
user avatar
  • 131
9 votes
4 answers
3k views

How to fix Image Swapping Issue in iOS 8 with keep-alive + HTTP Pipe-lining?

Ever since iOS8, the sites I managed are experiencing an intermittent problem in which images are swapping locations with other images. This has been mentioned in a number of places, but with no ...
user avatar
  • 799
-3 votes
1 answer
1k views

High Memory server, apache not using All ram [closed]

I have 64G Memory, 12coreX3CPU , SATA HDD... But memory using %5 ?? How to increase this limit? htop http://i.stack.imgur.com/STqtm.png top -c http://i.stack.imgur.com/TpjAx.png [root@ns228430 ...
user avatar
  • 57
1 vote
1 answer
577 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 - ...
user avatar
  • 11
1 vote
1 answer
1k views

How can I deny access to a folder in OpenLiteSpeed similarly to the way Apache does it?

I'm trying to deny access to a folder for a website that is hosted with OpenLiteSpeed v1.4.2, but I'm have trouble. I take it that .htaccess isn't supported in OpenLiteSpeed so I am unable to just put ...
user avatar
  • 556