Search results

  1. Cold-Egg

    Website is not obeying rewrite .htaccess data

    Try to replace RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] with RewriteCond %{HTTPS} off [OR] RewriteCond...
  2. Cold-Egg

    Website is not obeying rewrite .htaccess data

    So the site URL you want to use is litti.biz, not www.litti.biz. But the following rules mean, if the URL does not start from www, then redirect to www. ``` RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] ```
  3. Cold-Egg

    openlitespeed is functioning normally message

    @saiful iqmal Maybe you can send the issue to support@litespeedtech.com with this forum post link appended, we may help you directly from there and post the result here.
  4. Cold-Egg

    Installing openlitespeed on ubuntu 22.04

    Thanks to @danidoble and @scott0x , I have the wiki updated. :)
  5. Cold-Egg

    Error log not showing in webAdmin OLS

    I tried the same accesslog settings, and my site has logged correctly. Can you join litespeed community on Slack(https://litespeedtech.com/slack) and message me (@eric) from there, I can help you more quickly.
  6. Cold-Egg

    SSL on hostname

    I think you can just add these rules under the "modsecurity_rules `" , but I am not sure if those work with LiteSpeed or not, you need to test it.
  7. Cold-Egg

    Almalinux 8.6 failed to update ImageMagick-libs

    Our build master just finished packages for Ubuntu 22, will try to check/fix the imagick package on CentOS soon.
  8. Cold-Egg

    Installing openlitespeed on ubuntu 22.04

    By using the following method, it should cover the Ubuntu 22, may I know where you get enable_lst_debian_repo.sh? wget -O - https://repo.litespeed.sh | sudo bash More, https://docs.litespeedtech.com/lsws/extapp/php/getting_started/
  9. Cold-Egg

    How to Use fastapi with OLS

    It seems that you can include WSGI into Flask, Django, but I don't see any method to run fastapi on a WSGI server. https://fastapi.tiangolo.com/advanced/wsgi/ Maybe you need to rely on Gunicron, Uvicorn or xxicron, then set OpenLiteSpeed as a reverse proxy. More...
  10. Cold-Egg

    SSL on hostname

    Follow https://docs.openlitespeed.org/configuration to set up listener, virtual host, and SSL. Then you can go to web admin > SSL page to specify the SSL key & cert path.
  11. Cold-Egg

    Can't install lsphp80-pecl-imagick: nothing provides libMagickCore

    Just so you know that we have aware of this Imagick package error, and it's on our to do list.
  12. Cold-Egg

    Installing openlitespeed on ubuntu 22.04

    LiteSpeed repo including OpenLiteSpeed and PHP extensions now support on Ubuntu 22.04 Let us know if you see any issues.
  13. Cold-Egg

    Installing openlitespeed on ubuntu 22.04

    HI Just so you know our build master is still working on it. PHP with that version under 7.4 is end-of-life, so I guess 7.2 may not be considered.
  14. Cold-Egg

    LS reCaptcha Is Not Working

    Please submit the issue to support@litespeedtech.com with this forum post link appended, we can help to check from there.
  15. Cold-Egg

    Websocket Proxy for Home Assistant

    Maybe you can send the question to support@litespeedtech.com with this forum post appended, we can help you directly from there.
  16. Cold-Egg

    Error log not showing in webAdmin OLS

    Looks alright, what if you remove the error.log and restart lsws, it should auto-generate with proper permission.
  17. Cold-Egg

    Tracking real visitors IP address in access log

    What I mean is that OLS works, and backend app is able to get visitor's IP by HTTP_X_FORWARDED_FOR/REMOTE_ADDR
  18. Cold-Egg

    Tracking real visitors IP address in access log

    So, I set up a OLS proxy with Django, and setup django logging and ip function in views.py. Then the console log shows client IP correctly with/without the "Use Client IP" feature. views.py def get_client_ip(request): x_forwarded_for = request.META.get('HTTP_X_FORWARDED_FOR') if...
  19. Cold-Egg

    Websocket Proxy for Home Assistant

    Maybe you can create another virtual host and follow https://openlitespeed.org/kb/setting-up-websocket-proxies-on-openlitespeed/ to set up a web socket proxy.
  20. Cold-Egg

    Traccar Revers Proxy VirtualHost Config. i am new, need help

    First, please follow https://docs.openlitespeed.org/docs/advanced/proxy to set up the proxy, by setting up web server external app and proxying with rewrite(name-based virtual hosting) it should solve your 500 issue. To custom headers, follow...
Top