Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [litespeed]

The tag has no usage guidance.

0
votes
1answer
31 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
1answer
26 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
1answer
21 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
2answers
94 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
0answers
50 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 ...
0
votes
0answers
17 views

php.ini based on hosting resources for max performance? [duplicate]

I have moved my website to new host with bigger resources assigned to my account. This is still shared hosting, litespeed server. The resources I have on server are bellow. My questions is - how ...
1
vote
0answers
725 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
1answer
80 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
1answer
516 views

Lightspeed vs Apache for WP/WooCommerce?

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
1answer
74 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
2answers
450 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
2answers
4k 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
2answers
2k 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
2answers
1k 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
1answer
253 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 ...
0
votes
0answers
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 ...
9
votes
4answers
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 ...
-3
votes
1answer
825 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 ...
1
vote
1answer
373 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 - ...
1
vote
1answer
502 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 ...
-1
votes
1answer
1k views

How to enable SPDY in LiteSpeed?

I have the latest LiteSpeed Enterprise running on my server. It was not installed with SPDY enabled. How do I enable SPDY? The server got lots of IPs and SSL certificates. I've seen that it might ...
0
votes
1answer
3k 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 ...
1
vote
1answer
729 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 ....
2
votes
1answer
2k views

Does OpenLiteSpeed support Apache 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
1answer
1k 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
2answers
373 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) ...
2
votes
1answer
2k 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 ...
0
votes
1answer
571 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, /...
4
votes
3answers
2k 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 ...
2
votes
0answers
721 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 ...
0
votes
2answers
267 views

Rewrite rule www.example.com to example.com/www without changing url in browser

I want to make a rewrite that under the url www.example.com will be site example2.com/www but I want it not to change the url in browser to example2.com/www/. So after entering in browser http://www....
1
vote
3answers
474 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 ...
1
vote
1answer
340 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. ...
0
votes
2answers
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 ...
-1
votes
4answers
1k views

Why isn't httpd working?

I have just uninstalled Litespeed with the code below, but am getting an error when I try to start Apache through httpd. What can I do? Here's the commands I used: root@s15430558 [~]# /usr/local/...
0
votes
1answer
301 views

Why is there old PHP with LiteSpeed Web Server?

I have Litespeed Web Server Enterprise v4.0.1 installed and configured. I decided to check phpinfo() and it turned out that I have php 4.4.9 I checked in LWS Admin panel and there are three script ...
2
votes
4answers
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 ...
2
votes
1answer
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 ...
0
votes
1answer
144 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 ...
7
votes
4answers
6k 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 ...
0
votes
3answers
4k views

Web 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 ...