Questions tagged [litespeed]

77 questions
0
votes
2 answers

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 know how can I access console.log logs of nodejs?…
1pratham
  • 1
  • 1
0
votes
1 answer

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, next step in the link is to enable the extension…
0
votes
1 answer

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 I do not know on openlitespeed configured in any…
gait
  • 101
  • 3
0
votes
1 answer

Litespeed cache – also for resources?

I'm trying out litespeed cache. Sounds promising. I added this to my .htaccess: ######### Begin - Litespeed cache CacheDisable public / RewriteEngine On RewriteCond %{REQUEST_METHOD} ^HEAD|GET$ RewriteCond %{HTTP_HOST}…
Urs
  • 115
  • 3
0
votes
2 answers

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: 404 Not Found"; $s =…
Tom
  • 95
  • 6
0
votes
0 answers

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 shop.com users.website2.example There are around…
0
votes
1 answer

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 Ubuntu, all running Apache, I get a 404. What…
Hlsg
  • 113
  • 5
0
votes
2 answers

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 about 50 different services while it updates & cycles…
nickyb
  • 1
  • 3
0
votes
1 answer

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/images/vector-images14/thumbs/327_90_auto.jpg HTTP/1.1"…
0
votes
2 answers

.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: php_flag zlib.output_compression On php_value zlib.output_compression_level 2 php_value session.gc_maxlifetime 200000 php_flag display_startup_errors…
Nikita 웃
  • 101
  • 5
0
votes
3 answers

WordPress servers comparison: Apache vs Litespeed

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 differences? What are the advantages of litespeed…
FerranB
  • 1,362
  • 2
  • 18
  • 28
0
votes
2 answers

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 Standard Edition. MariaDB. I learned that php-mysql…
Himanshu
  • 1
  • 1
  • 1
0
votes
2 answers

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 this but it didn't work. It blocked all urls, not…
David
  • 829
  • 3
  • 13
  • 30
0
votes
1 answer

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 OpenLiteSpeed. My question is, if I use Apache as a…
0
votes
0 answers

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 and changing permissions from 750 to 770 solves…