Questions tagged [litespeed]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 ...
David's user avatar
  • 851
8 votes
4 answers
7k views

"Cannot perform a differential backup for database "myDb", because a current database backup does not exist."

I have what seems to be a pretty common problem when trying to take a differential backup. We have a SQL Server 2008 Standard (64bit) and we use Litespeed v 5.0.2.0 to take our backups. We take full ...
user44127's user avatar
  • 131
4 votes
3 answers
3k views

More than 3 seconds "Initial Connection" time (webpagetest.org)

I'm having a weird issue with a vBulletin forum, on a 2х Xeon E5645 w/ 16GB RAM CentOS 6.3 x86_64 web server with cPanel and LiteSpeed; It takes too long to start loading... When I tested it with ...
George Tasioulis's user avatar
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-...
Serdar Koçak's user avatar
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......
Helene's user avatar
  • 47
2 votes
4 answers
3k views

Mitigating an http flood? [duplicate]

I have a ddos protection proxy in place to deal with SYN floods and such. But http floods are still getting through. For some reason their ddos proxy is not blocking any of the flood. So there are ...
Will's user avatar
  • 257
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 ...
Andy B's user avatar
  • 105
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 ...
babbaweb's user avatar
2 votes
1 answer
2k views

Htaccess tunnel to local server on another port?

Is it possible to have 2 web servers running on the same box with different ports and then use htaccess to tunnel traffic from 1 server to another based on a rewritecond? Basically when a certain ...
Will's user avatar
  • 257
2 votes
1 answer
2k 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 ...
SameOldNick's user avatar
2 votes
1 answer
4k views

LiteSpeed enable Access-Control-Allow-Origin (no response header on CORS request)

Seriously, I can't find a single page discussing this for litespeed. Using this format in the htaccess "Header set Access-Control-Allow-Origin http://aSite.com" (and https) sends the setting in the ...
user avatar
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 ...
jberculo's user avatar
  • 123
2 votes
0 answers
1k views

litespeed issue with content-type

I am running magento with litespeed. The problem I am facing is that ajax call is being made of which header is set as x-json, but lightspeed is setting another header of text/html content type I've ...
sandeep.s85's user avatar
  • 2,129
1 vote
3 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 ...
FerranB's user avatar
  • 1,372
1 vote
1 answer
4k views

Denying access to website via htaccess based on http header

I've been trying for ages to get this to work and I can't put my finger on it. What I'm trying to do is block access to a site from a number of countries, based on the CF-IPCountry header added by ...
neekster's user avatar
  • 113
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 ...
anskibenko's user avatar
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 ...
Tom's user avatar
  • 133
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 ...
Urs's user avatar
  • 115
1 vote
1 answer
858 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 ...
martintrapp's user avatar
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 ...
LH AL's user avatar
  • 11
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: ...
Pedram's user avatar
  • 111
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 ...
ServerChecker's user avatar
1 vote
1 answer
352 views

Wildcard SSL certificates, EV

I run a Magento e-commerce store with multiple subdomains for an affiliate program, plus a main store. Example, foo.example.com and bar.example.com are affiliates, www.example.com is my main store. ...
nachito's user avatar
  • 245
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 ...
lhbib hbart's user avatar
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, ...
Yohanim's user avatar
  • 157
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. ...
Sam Leurs's user avatar
  • 111
1 vote
1 answer
446 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/...
Sajal Dutta's user avatar
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/...
Buffy's user avatar
  • 11
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 ...
user431951's user avatar
1 vote
1 answer
779 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 - ...
Dan's user avatar
  • 11
1 vote
1 answer
1k views

Enable FastCGI on Litespeed

How would I enable my Litespeed server to process .fcgi files using a FastCGI module? I tried setting the handler to fcgid-script already but that doesn't work. Syntax: AddHandler fcgid-script ....
Jeroen's user avatar
  • 111
1 vote
3 answers
892 views

Why does litespeed show PHP source, instead of interpreting?

I have this issue on my server. It happens sometimes when I refresh my webpages. It seems litespeed wont pass file.php to php compiler and instead of rendering HTML and interpreting PHP, I will see my ...
Aram Alipoor's user avatar
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 ...
user avatar
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 ...
Computer User's user avatar
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, ...
Evgeniy's user avatar
  • 255
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 %{...
Urs's user avatar
  • 115
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/...
user398738's user avatar
0 votes
2 answers
480 views

server load, litespeed, scsi, nameserver fail: all messed up

First of all: I have very basic knowledge about linux servers. Here is our dedicated server details: Intel(R) Xeon(R) CPU X3450 @ 2.67GHz Total processor: 8 OS: Centos 32bit release 5.8 (Final) ...
Rawkon's user avatar
  • 11
0 votes
2 answers
1k views

Increasing apc.shm_size causes PHP Fatal error: Out of memory

I am trying to setup APC for my magento store running on a dedicated server with 12GB RAM running litespeed. I am using he suggested settings from the Rackspace-Magento Whitepage extension=apc.so ...
ben's user avatar
  • 189
0 votes
1 answer
307 views

Problems with migration from litespeed to nginx

now we have lsws ent. working on Red Hat 5.5. I am trying to change it with nginx. problem is that there are different versions of php on system installed. how to force nginx to use the one which is ...
mobilite's user avatar
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 /. ...
AnupRaj's user avatar
  • 101
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 ...
bolino's user avatar
  • 275
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 ...
bolino's user avatar
  • 275
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 ...
ServerChecker's user avatar
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 ...
1pratham's user avatar
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 ...
Nikita 웃's user avatar
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 ...
Himanshu's user avatar
0 votes
1 answer
738 views

SSL certificate error

New to SSL. I had a certificate signed and I am trying to get the cert I generated loaded into LiteSpeed. However I have one issue. 2012-11-01 20:30:33.121 NOTICE [PID: 28139]: start cgid: 28140, /...
Tiffany Walker's user avatar
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 ...
Noob YT's user avatar
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://...
ali rahmani's user avatar