Skip to main content

Questions tagged [litespeed]

LiteSpeed Web Server (LSWS) is a high-performance Apache drop-in replacement. Note that server configuration questions are usually a better fit on https://serverfault.com or other administration-oriented sites of the stackexchange network.

litespeed
-1 votes
0 answers
14 views

How to enable and disable php extensions in docker when using LiteSpeed

I am using LiteSpeed in docker: FROM litespeedtech/litespeed:6.2.2-lsphp83 The command docker-php-ext-enable is not available in the Dockerfile. Changing the php.ini extensions does not work either. ...
Harry's user avatar
  • 397
1 vote
0 answers
26 views

Command getppid() takes 1 second each execution

I am trying to solve the high CPU issue, when tracing one of lsphp process, I see the command getppid() take more than 1 second each execution. See trace log below: strace: Process 21945 attached ...
Phuc Pham's user avatar
  • 368
0 votes
0 answers
25 views

PDF uploaded within a folder downloads when viewed on phone browser - I want to change that to View

Noticed that when I click on a direct link to a PDF (mysite.com/resource/flyer.pdf) on my phone it downloads and then gives an option to view (Would you like to open the downloaded file?) instead of ...
Vinith Almeida's user avatar
-1 votes
1 answer
81 views

How to protect .env file [closed]

I've hosted a node js app on cpanel as example.com but the problem is in my node directory having .env file and if I try to visit example.com/.env this file get downloaded. So how to secure .env file? ...
sabirans04's user avatar
0 votes
1 answer
107 views

apache behind cloudflare proxy not serving the mp4 file with status code 206

The mp4 video file is hosted on Capnel's apache server behind the cloudflare proxy. the file is loading on non-apple devices browser but not loading on apple's safari and other browser. The reason of ...
Laxman Singh's user avatar
0 votes
0 answers
46 views

how to add SSL to a port in ALMALINUX 8 using openlitespeed?

we have ALMALINUX 8.9: [root@google]# more /etc/redhat-release AlmaLinux release 8.9 (Midnight Oncilla) [root@google]# running with LiteSpeed 1.7.19 [root@google]# /usr/local/lsws/bin/lshttpd -v ...
VyR's user avatar
  • 211
1 vote
0 answers
48 views

Litespeed cache purge for specific pages

I've implemented a custom functionality in WordPress to automatically set alert banners (custom_alert post type) to 'draft' status upon expiration, using a custom field alert_expiration_date. When an ...
user17092013's user avatar
0 votes
0 answers
49 views

Pointing multiple domains to same server: LiteSpeed Web Server Enterprise

I'm wondering if someone can help me with this. I have tracking software running on a domain called app.tracking-domain.com. This is hosted on a self-managed LiteSpeed Web Server Enterprise; no ...
Akila Liyanage's user avatar
0 votes
0 answers
31 views

How to fix esi:remove tag og litespeed not displaying broken in frontend of my eshop

I am very new to litespeed. I have installed the addon in cs-cart platform, following the instructions here: https://github.com/litespeedtech/lscache-cscart After installing and activating the addon, ...
Kiriakos Grhgoriadhs's user avatar
1 vote
1 answer
62 views

Redirect to canonical domain

I'm trying to set up a rule so requests coming from alternative domains are redirected to canonical domain, keeping request path and query string intact. I need to use .htaccess because it's a shared ...
Álvaro González's user avatar
0 votes
1 answer
101 views

Litespeed Cache Headers

We have just migrated from Apache to Litespeed and we are seeing a huge speed improvement of our websites already but we want to migrate to also having Litespeed cache. The problem is I've edited our ...
ax2music's user avatar
0 votes
0 answers
92 views

Block all IPs on website except cloudflare

I'm using LiteSpeed Webserver on cPanel. I want to block all IPs except Cloudflare IP ranges. This is my code (in my .htaccess file), however, it always results in a 403 forbidden error even when i'm ...
lite's user avatar
  • 1
0 votes
0 answers
46 views

How to Redirect Subdirectory to Parent Directory .htaccess

For quite a while, I've been observing the 404 error log file, and I found that from nowhere, the visitors landed in subdirectories containing numbers that don't exist. And there are more than 50% ...
Juniper Scott's user avatar
0 votes
0 answers
52 views

.htaccess Auth for Staging site on a subdomain

i am doing a WordPress staging site on a subdomain with a LiteSpeed server before put online. I apologize but i have some questions. Can i use the Auth of .htaccess to Hide the staging site? Are the ...
ImHex's user avatar
  • 1
0 votes
1 answer
174 views

React app does not work with LiteSpeed Server

Package.json: cat package.json { "name": "react", "version": "0.0.0", "private": true, "main": "index.js", "...
Gabi's user avatar
  • 37

15 30 50 per page
1
2 3 4 5
21