Search results

  1. N

    301 Redirects not working

    OLS ignore .htaccess yes
  2. N

    CPANEL PHP-FPM Integration Questions

    litespeed don't use PHP-FPM please switch to apache, and see if the issue still there. if no issue on apache, but issue on litespeed, then the issue might be litespeed specific. if issue exists on apache as well, please fix it first, and can ask help from cPanel. usually when issue is fixed on...
  3. N

    php tmp files alrger than upload_max

    already replied in same post: you can set it to 100M, then you'll never see (for test purpose, you can set it to 8M, to see if any /tmp/phpXXXX will exceed 8M) when you upload in Chrome, will see ERR_CONNECTION_RESET and in web server's error_log, will see such entry 2019-01-28...
  4. N

    php tmp files alrger than upload_max

    I did upload tests on both apache and lsws. looks same behavior. it looks like upload_max is checked only after upload already completed. and I did tests on a CentOS 7, and can't find it ( by ls -al /tmp) during upload. although it indeed upload tmp_name is /tmp/phpXXXXX I did similar tests...
  5. N

    Anon ftp isn't working?

    it should have nothing to do with lsws or any other web server, it's totally controlled by vsftpd. the only related one is anon_root=/usr/local/lsws/html/ you can change to /tmp or any other directory to do the tests to ensure it's not relating to lsws or not.
  6. N

    Redirect all sites to version with HTTPS

    if you use WHM and easy apache 4, can create a file(e.g., https.conf) under /etc/apache2/conf.d/userdata/ best added one line at the beginning: RewriteEngine On in addition to above 2 lines.
  7. N

    Redirect all sites to version with HTTPS

    using rewrite rule in virtual host or .htaccess RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}/%{REQUEST_URI [R,L]
  8. N

    WordPressProtect, how to remove an IP

    yes. please refer https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:config:cloudflare-ips-or-subnets
  9. N

    ioncube loader

    ioncube loader is a php extension, no direct link to web server like apache or litespeed. you can contact cPanel how to do it exactly. here's a link FYI: https://documentation.cpanel.net/display/EA4/How+to+Locate+and+Install+a+PHP+Version+or+Extension
  10. N

    Conditional X-Frame-Options

    please try: RewriteRule ^/mypath/ - [E=SAME:1] Header set X-Frame-Options "deny" Header set X-Frame-Options "sameorigin" env=SAME
  11. N

    Litespeed webserver 5.3.5 version quic support

    however, just now to confirm if the issue exists, I upgraded a server from 5.3.4 to 5.3.5 build 1, "http/2+quic/43" still there.
  12. N

    Weird issue, High load. Need help!

    which processes have highest CPU usage ? not included in above "top" screenshot.
  13. N

    Suspicious process running under user nobody - Executable: /usr/local/lsws/bin/lshttpd.5.3.3

    please white list it. it's litespeed process which run as nobody
  14. N

    After Enabling Litespeed All account shows 403 Permission Error.

    lsws web admin->Server->General->PHP suEXEC : No ==> Yes
  15. N

    Using Reverse Proxy w/Rewrite AND Custom Header

    how about RequestHeader set X-Auth-Token "...." RewriteCond %{HTTP_USER_AGENT} magic_ua [NC] RewriteRule (.*) https://backend/$1 [P,L,E=Proxy-Host:example.com] backend is defined as External App->Web Server...
  16. N

    Update detected for installed EasyApache PHP timezoneDB extension(s). Update Now

    it's safe. basically it automate the steps mentioned in this wiki: https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cpanel:build-timezonedb-ea4 in WHM > LiteSpeed Web Server , just one click, and you get it done.
  17. N

    Enable mod_userdir Protection

    regarding /~applenic/gift-cards.html , rewrite rules in .htaccess RewriteEngine On RewriteRule ~applenic/(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] by test, not work at all. however, you can just disable userdir in cPanel ...
  18. N

    equivalent to mod_substitute

    it's a general web proxy written in php. if it's a wordpress website, then you can try plugin like https://wordpress.org/plugins/lucas-string-replace/ which is much easier to config and more powerful than mod_substitute
  19. N

    [solved] cPanel with nginx

    1st time to hear about Engintron this is clear: no need nginx any more. uninstall it. let litespeed read apache's httpd.conf directly.
  20. N

    equivalent to mod_substitute

    see if this one is ok for you: https://www.php-proxy.com/
Top