Questions tagged [litespeed]

LiteSpeed Web Server (LSWS) is a high-performance Apache drop-in replacement.

292 questions
1
vote
0 answers

How to remove query string while redirecting on a LiteSpeed server?

Trying to remove the query string of some URLs while redirecting them. The site is running on a LiteSpeed server. All .htaccess files and rules should work regularly on it. Server: LiteSpeed, php7.2 lsphp, other htaccess rules do work. QSD (query…
Peps
  • 184
  • 1
  • 14
1
vote
1 answer

Htaccess works with Apache but with litespeed doesnt work

Here is my htaccess code. It works with Apache but with Litespeed doesnt works fine. I want to all html and php files to index.php but in Litespeed, /example *works, there is no file which named example* /folder/example.php *works, there are folder…
halfvita
  • 13
  • 5
1
vote
2 answers

htaccess redirect for everything but files/directories

I am trying to create a rewrite rule that accomplishes two things: Redirect (www.)?domain.com to log.domain.com Let any other directory or file request on domain.com through without redirection This not an Apache server (it's LiteSpeed), but…
1
vote
9 answers

Which to use on low spec CPU?

I have a dedicated server where i'm only the user in it. Processor : AMD Sempron 3100+ Memory : 1GB DDR I I'm using PHP for website. Its mostly used for downloading stuff and uploading and so. I currently using apache, it eats too much…
Mr Bosh
1
vote
1 answer

PHP_SELF including hostname and protocol

The $_SERVER["PHP_SELF"] variable on my hosting has suddenly started returning the full protocal and host on SSL enabled accounts and I can't for the life of me work out why. I've googled high and low. I didn't change anything on the server. I…
Josh
  • 31
  • 6
1
vote
1 answer

Unexplained WordPress max RAM usage

I have a simple Wordpress (4.9.6) website on shared litespeed hosting + cloudlfare + wp fastest cache plugin and 1GB RAM, php 7.2 (I tried different php versions but no improvement found). I also have maybe 15 email accounts and lots of email in the…
1
vote
1 answer

How do I find out which process runs PHP? (Litespeed/Centos environment)

This may sound like a super naive question, but here's the scene: Have a got dedicated server running Centos 7 with multiphp and litespeed. Installed WHM/cPanel > then WordPress > then got a caching plugin running. Plugin throws error: WP Rocket…
Amod
  • 283
  • 8
  • 18
1
vote
1 answer

How should I configure/rewrite CakePHP's htaccess for openlitespeed based server?

Here are the htaccess codes that CakePHP uses:- I want to rewrite them/ convert them so that they run on my openlitespeed server. They work perfectly fine on a standard apache server. RewriteEngine on RewriteRule ^$…
1
vote
0 answers

Why Rewrite not work in LiteSpeed server?

Please help me, i am new in this stuff. I have a little issue with rewrite rule, i test my website with this rule in xammp server and it work very good, meaning that i want to have my URL like this…
1
vote
0 answers

Large upload issue. php.ini settings are ok, other server issues (cent os, litespeed)?

Am running into a weird issue and I am curious if it is a lower level server config issue we are running into. We are posting a form that has 1 or more images included. Normally just 1 image. We have 2 servers setup. One is a local vagrant box…
Nick DuBois
  • 207
  • 3
  • 12
1
vote
1 answer

LiteSpeed Settings - Shared Hosting

I put my site on a Shared Hosting which uses Litespeed. I know that it is possible to override the Connection Timeouts set on the Litespeed Server, locally in the .htaccess file. RewriteEngine On RewriteRule .* -…
Ilario Engler
  • 2,419
  • 2
  • 27
  • 40
1
vote
0 answers

MySQL process fill up with sleep with only 2 query per user?

I'm sure that there's somewhere goes wrong with my code .. have looking around but find no clue for this... hopefully there's someone able to give a hand here in stack.. My website basically designed under Opencart framework, and now it's only for…
Zeff Tang
  • 91
  • 9
1
vote
0 answers

an error occurred while processing this directive - Magento Multistore

I have set up a new site with Magento, for my second site I'm using a subdomain, but when everything seems to be working the new site in the subdomains shows this message [an error occurred while processing this directive] in the shopping cart, my…
1
vote
1 answer

Can't use custom 403

I'm using below code in .htaccess for showing custom 403 error page on my website. ErrorDocument 403 /403.php Though I'm using ErrorDocument 404 /404.php for showing 404 page, and that's working correctly, But custom 403 is not working. It shows me…
1
vote
0 answers

Web server corrupting JPG image

I'm having an issue where JPGs are seemingly being corrupted when served. Curiously, its not all JPG images on my site, only about 5% of them. Here's what a corrupted one looks like: The bottom half is cutoff. This is what jpeginfo on that file…
anthonygore
  • 4,722
  • 4
  • 31
  • 30