Search results

  1. L

    Wordpress Wordfence .user.ini / auto_append_file

    Hi, The header set won't work , you need to use OLS context to generate those header but I don't see this htaccess content has any ini append ?
  2. L

    Wordpress Wordfence .user.ini / auto_append_file

    if you are using enterprise , then discard that link , and check this https://www.wordfence.com/help/advanced/system-requirements/litespeed/
  3. L

    Why max_input_vars is not updated in phpinfo

    i'm sorry ? have you fixed the issue ?
  4. L

    Why max_input_vars is not updated in phpinfo

    did you try kill lsphp process ?
  5. L

    Backup Module For OpenLiteSpeed

    a simple bash script should do it for you https://broexperts.com/automatically-backup-your-website-every-night-using-bash-script/ https://mac-blog.org.ua/bash-backup-restore-script/
  6. L

    Installing Two Websites

    Yes, each individual vhost can have its own SSL setting.
  7. L

    Wordpress Wordfence .user.ini / auto_append_file

    have you checked this ? https://openlitespeed.org/kb/enable-wordfence-on-openlitespeed/ after you made change, run pkill lsphp to kill php process and check phpinfo and wordfence
  8. L

    Unable to load images

    Hi, Could you please send a temp ssh and wp-admin access for us to check ? you can send it to support@litespeedtech.com
  9. L

    Help rewrite .htaccess under Openlitespeed

    cyberpanel should be able to read the rewritecond and rewriterule without edit. what issue you see ?
  10. L

    Unable to load images

    this is like WP issue , not Cyberpanel or OLS have you tried this ? https://wordpress.org/support/topic/unable-to-upload-images-67/page/2/ the second page , suggested to add add_filter( 'big_image_size_threshold', '__return_false' ); please give it a try and see how it goes
  11. L

    PHP Upload not working on SSL page

    Hi, May I know what is your OLS version ? /usr/local/lsws/bin/lshttpd -v should tell you the version. I just tested with OLS + PHP 73 on Wordpress and uploaded a plugin zip without problem , over HTTPS.
  12. L

    503 and a really slow server

    try max conn set to a lower number , like 10 or 20 set PHP_LSAPI_CHILDREN=120 to same number as max conn set instance to 1 you are allowing over 120 PHP processes at same time , that could overload the server when that many PHP running. You need to check the log for 503 yes, when cache...
  13. L

    Configure PHP by Directory or File Error Using Rewrite Method

    if you are using rule like this RewriteRule ^test/.*$ - [H=application/x-httpd-lsphp70] it will match all the request to run as lsphp , even its png , jpg , or css , js ...etc , that .* matches everything. you will need a rewrite cond to check if it's PHP before redirect, or set...
  14. L

    What is the complete difference beetwen OpenLiteSpeed & LiteSpeed Enterprise? OLS vs LSWS

    Hi, by that means anything you did to .htaccess, will requires OLS restart to take effect. restarting it is simple as systemctl restart lsws or service lsws restart auto-load is something different , in older OLS , you will need to set in OLS to tell it to read htaccess file , with...
  15. L

    proxy to a backend web server (reverse proxy)

    https://forum.openlitespeed.org/threads/tracking-real-visitors-ip-address-in-access-log.4058/page-2#post-7813 in that rule set RewriteCond %{HTTPS} !=on RewriteRule (.*) https://DOMAINNAME/$1[R=301,L] #for https RewriteCond %{REQUEST_URI} !admin RewriteRule .* [E=Cache-Control: public...
  16. L

    proxy to a backend web server (reverse proxy)

    what do you mean ? if you want to set OLS for HTTPS , then just set it as normal OLS sites , SSL setting in listener or vhost setting and then set reverse proxy to Apache's HTTP port , but be aware, some sites , like wordpress, will also have its own HTTPS redirection if you set site URL to...
  17. L

    Tracking real visitors IP address in access log

    RewriteCond %{HTTPS} !=on RewriteRule (.*) https://DOMAINNAME/$1[R=301,L] #for https RewriteCond %{REQUEST_URI} !admin RewriteRule .* [E=Cache-Control: public, max-age=120] #if URL does not contain admin , then cache it for 120 seconds RewriteRule ^.(*)$ http://apachehttps/$1 [P,L] # if not...
  18. L

    Tracking real visitors IP address in access log

    Hi, OK , just tested you will have to it in one of the following 2 ways 1. use PHP header function , e.g. header('x-litespeed-cache: public, max-age=120'); to tell OLS to cache it. 2. use rewrite rule in OLS rewrite tab so your rule will be like HTTPS redirection rule LiteSpeed...
  19. L

    Tracking real visitors IP address in access log

    Ohhhhh, sorry I was mistaken. Rewrite rule in Apache htaccess may not work, it will require HTTP header to tell OLS what to cache. I only tested with WordPress on Apache + OLS, which the LSCWP plugin will send the HTTP header OLS needed. But didn't test other Let me do some test and...
Top