Search results

  1. lsfoo

    Add custom headers for domain

    Hi @ckissi In the virtual host -> context settings, you can add extra headers to the configuration. Hope this helps, Kevin
  2. lsfoo

    The easiest upgrade process

    Hi @Jamie-VV If root works, it should stay as root. You may want to check the error logs to make sure that the certificate was loaded correctly. As for the file permissions, it doesn't matter too much because the conf directory should have strict permissions, so the files underneath should be...
  3. lsfoo

    The easiest upgrade process

    Glad to hear that everything worked out. I will get back to you on the permissions question. Cheers, Kevin
  4. lsfoo

    The easiest upgrade process

    Hi @Jamie-VV As always, please make a back up of your current installation before doing anything. If you go through the compilation procedure (including make install), it should behave like an upgrade if you use the same configuration options during configure. The configuration format is...
  5. lsfoo

    HttpVHost::addUrlStaticFileMatch

    Ok, if 1.4.25 is currently working for you, it may be easier to just leave it at that version for now. Hopefully 1.4.27 will come out soon enough and we can see if the change fixes the issue for you.
  6. lsfoo

    HttpVHost::addUrlStaticFileMatch

    I would like to know what you type into the browser exactly and what file it correlates with. For example, I came across the issue when typing www.example.com/, but it eventually leads to www.example.com/index.html Regarding the stops working issue, did you experience a high CPU usage or...
  7. lsfoo

    Red marks next to virtual host items and listeners

    Hi @ckissi Did you notice any log messages that may related to this? Thanks, Kevin
  8. lsfoo

    HttpVHost::addUrlStaticFileMatch

    Hi @Fearless This message means that we tried to store information in our static url matching cache, but it failed. I made a change that fixes this, but need to make sure that your situation matches. What url did you visit and what does it become? For me, the issue arose when visiting...
  9. lsfoo

    OpenLiteSpeed Version 1.4.26 is now released! Now supports BoringSSL and TLS 1.3!

    All debian repos should be up and running now, let us know if you run into any issues!
  10. lsfoo

    OpenLiteSpeed Version 1.4.26 is now released! Now supports BoringSSL and TLS 1.3!

    Hi Everyone, We're happy to announce the release of OpenLiteSpeed 1.4.26. With 1.4.26, OLS now supports using BoringSSL and TLS 1.3, so for anyone looking to push the envelope with web technologies, try these out and let us know what you think! Also involved in this release are several bug...
  11. lsfoo

    Moving from nginx, have some questions

    Hi @tjk Apologies for the late reply, it seems your message got caught in the spam filter. Do you have an example of the 'deny from all' rules you are referring to? If you mean that an entire subdirectory is deny from all, you can create a context and deny access from all IPs. As for your...
  12. lsfoo

    How to create new virtual host from command line?

    That should create a new member vhost, yes. You can try creating one via web admin first to see what happens to the file so you know exactly what to add.
  13. lsfoo

    How to create new virtual host from command line?

    Do you mean adding a member to a vhost template? You will have to parse for your vhost template setting in the server configurations and add a new member entry. vhTemplate PHP_SuEXEC { templateFile $SERVER_ROOT/conf/templates/phpsuexec.conf listeners Default...
  14. lsfoo

    How to create new virtual host from command line?

    Hi @ckissi There is no cli for creating a virtual host per se, but if you have an example vhost you can work with, you can create a script for it. The minimum requirements are: 1. vhost configuration file under /usr/local/lsws/conf/vhosts/NAME 2. vhost directory 3. server config - only a...
  15. lsfoo

    Is this normal? (~450 processes)

    Which article are you referring to? I don't think we recommend anything higher than 1 instance, 35 children.
  16. lsfoo

    Is this normal? (~450 processes)

    So PHP_LSAPI_CHILDREN is the number of children processes the main lsphp process can spawn. instances control how many main processes are spawned. (so obviously 150 is a lot :D) As for lscgid vs lshttpd, that's controlled by the autostart parameter. Since you have autostart 1, the processes...
  17. lsfoo

    Is this normal? (~450 processes)

    Please try: PHP_LSAPI_CHILDREN=150 ... instances 1 Those are the two settings that contribute to the total.
  18. lsfoo

    Is this normal? (~450 processes)

    Could you check the parent process IDs? Are they mostly spawned from a litespeed process or from a lsphp process?
  19. lsfoo

    How to set up Cookieless domain?

    What kind of set up are you looking to do? I guess I am a little confused about what extra configuration needs to be done, if everything is served as a static file.
  20. lsfoo

    GeoIP / geoblock in OLS ?

    Hi Enthess, OLS can load GeoIP databases. It should also work with rewrite rules and PHP for location based blocking. Does this answer your question? Cheers, Kevin
Top