Questions tagged [litespeed]

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

292 questions
0
votes
2 answers

litespeed - Fatal error: Call to undefined function curl_init()

I running litespeed 5.1.11 on my Centos 6.8 VPS (PHP 5.6.29). I use cUrl in my php code. When I run my code with browsing as a web page every thing work fine, but when I run with command it gave me error: Fatal error: Call to undefined function…
Saeid Tahmuresi
  • 836
  • 2
  • 12
  • 16
0
votes
1 answer

php URL rewrite works on apache, not 100% on a litespeed server

I'm having a few problems getting a PHP script to work on a new server - I've gone from apache to a Litespeed server, and I can't get the little CMS to work on it. In a nutshell the .htaccess contains: ServerName www.domain.co.uk ServerAlias…
0
votes
1 answer

Litespeed caches wsdl files of my webservices

I installed Litespeed on my server,and I wrote some webservices on my website but my webservices are cached and if I change my webservices or remove them do not change anything and I see first webservices. Also I disabled wsdl cache on my server and…
0
votes
1 answer

LiteSpeed Web Server and "error: Cannot find OpenSSL's libraries"

I installed LiteSpeed web server in Ubuntu server. I'm trying to compile php7.0.10 using lsws admin panel via browser. I installed libssl-dev, libssl-ocaml, libssl-ocaml-dev, libsslcommon2, libsslcommon2-dev, cl-plus-ssl, but it is still not…
0
votes
1 answer

Varnish : How to Fix WordPress Website Not Updating?

I installed Memcache and Varnish cache and litespeed on my server,some pages on my wordpress website not updating after create new posts and I have to press Ctrl+F5 to show new posts,how can I fix this problem? and this problem is about litespeed or…
0
votes
1 answer

Litespeed error : Table name must be specified in the format owner_name.table_name

I'm trying to recover a table from Litespeed bakcup. The table is of schema SOURCE. Litespeed object recovery wizard fails with the error:: Table name must be specified in the format owner_name.table_name. I tried with the store procedure directly…
RMu
  • 817
  • 2
  • 17
  • 41
0
votes
1 answer

How to add X-Robots-Tag "noindex" for multiple subdirectoris (from .htaccess / shared host)

I have a list of folders (named as numbers) located in domain.com/user/uploaded/ directory (for example: ../435/, ../580/ etc.). I'm trying to use Header set X-Robots-Tag "noindex" from .htaccess for these folders, for…
Tomasz
  • 1,288
  • 18
  • 36
0
votes
1 answer

Failed to load module [redis], error: /usr/local/lsws//modules/redis.so: undefined symbol: zend_objects_destroy_object

I am trying to use open LiteSpeed to host my php application + Redis. I compiled Redis to its respective redis.so but it fails to load the extension. Here is the list of steps that i tried to compile this extension 1) wget…
user3307291
  • 708
  • 1
  • 8
  • 11
0
votes
0 answers

PHP response time takes as log as process dies when writing to DB

We are using litespeed+cpanel. Everything is lightening fast but something strange started to happening today: Let me explain it with a example: On a wordpress website (as an example it happens with any php script) when a new post is made or a new…
mili
  • 11
  • 3
0
votes
1 answer

Block all user-agents by htaccess except one

I have a htaccess rewrite rule code which works on Apache but not on litespeed. SetEnvIfNoCase User-Agent .*autoit.* search_robot Order Deny,Allow Deny from All Allow from env=search_robot I want to block all useragents…
0
votes
2 answers

htaccess rule redirect non www to www - litespeed server

I have a question about using htaccess in my litespeed server. I tried to redirect http://domain.com to http://www.domain.com using this rule: Options +FollowSymLinks RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{HTTP_HOST}…
user347729
0
votes
1 answer

Getting 404 error instead of automatically loading index.php on add-on domain

Server gives a 404 error instead of serving up an index.php or index.html file on the www.domainname.com call. If I type in www.domainname.com/index.php it works fine, but not otherwise. This domain is an add-on domain to my existing cpanel…
Doug
  • 5,116
  • 10
  • 33
  • 42
0
votes
1 answer

Litespeed connections for javascript files are not being kept alive, but are for jpeg and css files

Using Litespeed I have found that connections for javascript files are not being kept alive, but they are for jpeg and css files. Using Firebug. Looking at the connection request headers for javascript files shows keep-alive Looking at the…
user1558796
  • 293
  • 4
  • 19
0
votes
1 answer

htaccess sub domain pointing to a folder but dont want to redirect

I have setup a domain with DNS etc... and wanting to point it to use the /blog folder but when you go to blog.domain.com it just redirects to domains.com/blog - i would like to retain the blog.domain.com url if possible code im have…
James Brandon
  • 1,350
  • 3
  • 16
  • 43
0
votes
1 answer

PHP Form POST redirects to 403 error page by LiteSpeed Web Server

The Web Server is LiteSpeed (looked up the phpinfo()). A form is to be submitted with a textarea element. When simple text is entered in the textarea, the form is submitted as expected. But for some words, the 403 page is displayed (403 page by…
Kunal Dethe
  • 1,254
  • 1
  • 18
  • 38