Questions tagged [litespeed]

78 questions
1
vote
1 answer

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 - wordpressfolder - forum When you go to…
Dan
  • 11
  • 2
1
vote
1 answer

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 CloudFlare. I figured htaccess was a suitable way to…
neekster
  • 113
  • 1
  • 5
1
vote
1 answer

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 .fcgi Options +ExecCGI Just to avoid confusion, I am…
Jeroen
  • 111
  • 5
1
vote
3 answers

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 PHP source code. It won't happen always, only 2…
Aram Alipoor
  • 111
  • 6
1
vote
1 answer

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. They all share the same code and database and the…
nachito
  • 245
  • 1
  • 4
  • 11
1
vote
2 answers

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 this?
Tom
  • 133
  • 8
1
vote
1 answer

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: SetEnvIf Host "staging\.(.*)\.ch"…
1
vote
0 answers

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 openlitespeed has a weird problem that i can't…
1
vote
1 answer

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, centos and RHEL is on same umbrella, Red Hat. So why…
Yohanim
  • 157
  • 1
  • 3
  • 10
1
vote
1 answer

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 dependencies: lsphp74-imagick : Depends:…
martintrapp
  • 177
  • 1
  • 1
  • 5
1
vote
0 answers

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. I now want to deploy a litespeed/wordpress…
Sam Leurs
  • 111
  • 2
1
vote
1 answer

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/wordpress site: Access-Control-Allow-Origin: * If I…
Sajal Dutta
  • 613
  • 5
  • 18
1
vote
1 answer

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 WordPress Is there any possibility to do that with…
LH AL
  • 11
  • 1
  • 3
1
vote
1 answer

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: rewrite { enable 1 …
Pedram
  • 111
  • 4
1
vote
2 answers

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 receive error: failure: repodata/repomd.xml from…