Search results

  1. D

    compatibilty and cosmetics

    I fixed most of the scripts by using an existing functions.sh to avoid creating a new file and you will see it in the next release. Thanks. David
  2. D

    How to make a 301 redirect in OLS

    OK. If you solve it, please paste your rules here. If not, we can work together to solve it. My sample is for you want to redirect to different URL.
  3. D

    How to make a 301 redirect in OLS

    So you want the 404 error page of different context in the same vhost will be redirected to different files? You may do this way context /url1 { rewrite { enable 1 RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /home.html [L] } }...
  4. D

    How to make a 301 redirect in OLS

    What are the /url1with404 and /url2with404 mean? Is this your real rules? If yes, they won't work.
  5. D

    How to make a 301 redirect in OLS

    Actually the rewritefile is like `include`, it will expand the following file and put the content in that place. If you do not have /usr/local/lsws/TyV/html/.htaccess or it is empty, you can remove this line in the section. And you replacement is good.
  6. D

    How to make a 301 redirect in OLS

    For context level, I tested and it also woks. The config is as context / { rewrite { enable 1 RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /i.html [L] } }
  7. D

    How to make a 301 redirect in OLS

    Hi iRafaelG, Can you do this way, update the vhost rewrite and add some rules to the rules box. Such as in the conf file you will see below block rewrite { enable 1 logLevel 9 RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond...
  8. D

    compatibilty and cosmetics

    Thank you so much unicycle. I will check and fix one by one. David
  9. D

    Invalid rewrite directive

    The "invalid rewrite directive" is because openlitespeed does not support these rewrite directive. But "Error establishing a database connection" maybe other reason. Such as lsphp does not have the mysql support, then you may need to build it youself. How did you install openlitespeed...
  10. D

    Redirect 301 Issues

    I will test that rule later. Glad you found a solution. Thank you. David
  11. D

    First time load slower than ngix

    First time loading is always slow than later because at that time it is served from backend directly but not from the cache. If you think 3 seconds is too long, we may have a look at the first serving log. Please set the Errorlog level to 'DEBUG' / 'HIGH', restart openlitespeed web server and...
  12. D

    Redirect 301 Issues

    First, please try out new release 1.4.42 which fixed some bugs, the page is https://github.com/litespeedtech/openlitespeed/releases/tag/v1.4.42 You may just replace the binaries to make it simple. If you still have such issue, please Try to change the DEBUG log level to HIGH in the SERVER config...
  13. D

    Does OpenLiteSpeed have memory limits (RAM) like LiteSpeed?

    I do not think CyberPanel will do it.
  14. D

    Does OpenLiteSpeed have memory limits (RAM) like LiteSpeed?

    We do not have such limit in OpenLiteSpeed. Thanks. David
  15. D

    [ANY]IPV6 listener Can't work correctly.

    In the webAdmin SERVER page, set the errorlog to DEBUG HIGH.
  16. D

    Inexplicable 404 error for OLS

    Set the error log level to DEBUG HIGH, and you will see more debug logs. It may tell us what happened.
  17. D

    How to set ipv6 for WebServer

    It seems to be a bug. We will check and fix it soon if it is. Thanks for your feedback.
  18. D

    SSL error - Your connection is not secure

    So you should have already set the right certificate and key for your site?
  19. D

    Gzip URL

    Good. When you are facing any problem, just let us known. Thanks.
  20. D

    Gzip URL

    OK. It could be. So far, I did not see any issue on your site.
Top