1. R

    SERVER_ADDR env var is broken

    At least in RewriteCond directives in a .htaccess context, but probably elsewhere as well, this value contains the Listener Address setting. However, under Apache, it contains the actual IP address to which the connection was made, which seems like a clear incompatibility. All the code I've seen...
  2. V

    301 redirection with URL exclusion problem

    Hi. I've been trying to redirect all URLs from an old domain to a new one, except for two specific pages (/contact-form and /about). Here is the code block I have added at the top of .htaccess file just before #Beging Wordpress: RewriteEngine On RewriteCond %{HTTP_HOST}...
  3. tobiasegli

    LiteSpeed virtualserver.conf with Virtualmin

    Hello everyone I installed and configured a LiteSpeed Webserver on top of a Ubuntu 20.04 Virtualmin install. After adding a script handler for php and CacheRoot for the virtualhosts moast things started to work as intended. Now I'm having two specific issues regarding a CGI/Perl script and...
  4. L

    Alternative for RewriteMap prg?

    I need to implement access rule based on a specific DNS query (using DNS RBL) in Litespeed. I'd have done it with Apache using RewriteMap prg and small python script to do DNS lookup and return 1 or 0. How can I do that with Litespeed, as it looks like RewriteMap prg is not supported by...
  5. A

    Litespeed and Apache Running.

    Hi, this morning i found that litespeed and apache working at same time in my server. I'm looking for what caused this. Can you help me with that. Thanks in advance.
  6. P

    LSWL in combination with Apache and NGINX

    Hi, I have Apache and NGINX installed on my server. I have LSWL Licence too. Will it be helpful for me? Server details: CPU: 2v; RAM: 2GB Website: Woocommerce Regards Prat
  7. R

    Disable litespeed autostart

    Hi, I need to switch to apache to do some investigation. but the server stops the apache and switches to litespeed automatically. How can I disable litespeed autostart?
  8. H

    litespeed+mod_security error_log hostname issue

    Hi dear friends i have a problem when i switch to litespeed here is apache webserver + mod_security error log (which help me grep target domain in error_log to find the issue in simple way) [:error][client 87.107.xxx.xxx] ModSecurity: Access denied with code 403 (phase 2). Pattern match...
  9. T

    PHP header() being ignored after switching to LiteSpeed webhost

    After moving my websites to a webhost (shared) 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 = $_SERVER["SERVER_PROTOCOL"] . ' 404 Not Found'; followed by...
  10. S

    LSAPI Support for Perl

    Hello, I hope you are well. I was wondering if there are any plans to create LSAPI support for Perl. I know of many companies currently using Apache/mod_perl, and would love to move away from it for better performance. Thank you. -SG
  11. V

    [solved] htaccess environment variable assignment fails in LSWS but works in Apache

    I've been trying to configure CORS headers on my hosting company's LiteSpeed Web Server via .htaccess, but I've run into what seems like a bug with LiteSpeed's handling of environment variables. The hosting company upgraded my instance to the latest LSWS 5.2.7 to see if that would help, but the...
  12. S

    Migrate Apache2 htaccess to Litespeed

    Hallo, im so newbie in Litespeed, usually i use nginx and apache, so i have problem when my web hosting migrate to litespeed, here bellow is my .htaccess on apache2: RewriteEngine on RewriteCond $1 !^(index\.php|home\.txt) RewriteRule ^admin/ index.php/admin/index/admin/ RewriteRule ^admin...
  13. C

    Issues after switching back to Apache

    Hi, couldn't think of a better thread group to post this in...not that I'm inferring Litespeed is the culprit. Been using Litespeed since early-mid 2017 I believe and have done well. BUT, been testing things by switching to Apache and I end up not being able to get back into my WP Admin and my...
  14. wpf

    Expires By Type For Fonts Not Working

    Hi, I want to configure the default cache of some content types directly from the server, including js, all images and all types of fonts. I try configuration like apache from Expires Settings (Litespeed Admin) but cache not working: image/*=A604800, application/vnd.ms-fontobject=A2592000...
  15. K

    Disable Server Signature via HTACCESS?

    Currently all output contains this HTTP response header: Server: LiteSpeed For users in a shared environment who don't have access to the server config file, Apache has a cool directive called ServerSignature off to disable the output of the Server header in all output requests to improve...