Questions tagged [litespeed]
The litespeed tag has no usage guidance.
77
questions
0
votes
1
answer
53
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 ...
0
votes
0
answers
66
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
129
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-...
1
vote
1
answer
797
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
110
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 ...
0
votes
1
answer
43
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
288
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
116
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
141
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
1k
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
1
answer
98
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
952
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
2
answers
2k
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 ...
1
vote
1
answer
857
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
297
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.
...
0
votes
2
answers
128
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 /.
...
1
vote
1
answer
445
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/...
1
vote
1
answer
7k
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
1
answer
268
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
46
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
299
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, ...
0
votes
0
answers
124
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
432
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
855
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
793
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 ...
0
votes
1
answer
109
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
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
2
answers
914
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
0
answers
462
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
304
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/...
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-...
0
votes
2
answers
936
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 ...
2
votes
1
answer
756
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
637
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
891
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
165
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 %{...
0
votes
2
answers
585
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:...
0
votes
0
answers
78
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
...
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
217
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 ...
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 ...
0
votes
1
answer
185
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/...
0
votes
2
answers
808
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 ...
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
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 ...
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 ...
0
votes
1
answer
430
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 ...