Search results

  1. N

    Authorization Header not passed to PHP in some instances.

    I did a quick test: #curl -H "Authorization:Apikey <key>" -o p.html http://domain.com/phpinfo.php then access http://domain.com/p.html $_SERVER['HTTP_AUTHORIZATION'] Apikey <key> it's there can you do similar simple tests
  2. N

    SetEnvIf Alternative

    RewriteCond %{HTTP_HOST} ^(.?)$ ReriteRule .* [E=site_host:default] RewriteCond %{HTTP_HOST} ^(.+)$ ReriteRule .* [E=site_host:%1] RewriteCond %{HTTP:X-Forwarded-Host} ^(.+)$ ReriteRule .* [E=site_host:%1]
  3. N

    Is this normal? x-litespeed-cache: miss

    please refer https://docs.litespeedtech.com/lscache/devguide/controls/#response-headers which explains all response headers relating to lscache
  4. N

    Is this normal? x-litespeed-cache: miss

    x-litespeed-cache: miss x-litespeed-cache: hit x-litespeed-cache-control: no-cache should be exclusive. you mean you've seen 2 of them for an URL for the same time ?
  5. N

    Document root mount --bind

    can you PM access to the centos 7 server, so I can understand what exactly the issue is
  6. N

    Document root mount --bind

    1st a question to you: have you installed both open litespeed and lsws on same machine ? mount --bind is OS level command, lsws is not able to break it.
  7. N

    LSPHP is killing sessions

    not sure if you switch to apache + cloudflare, will the issue exist or not
  8. N

    LSPHP is killing sessions

    can you submit a ticket ? the steps to reproduce the issue. it may relate to cloudlinux/cagefs magic
  9. N

    LSPHP is killing sessions

    please create a php info page under document root <?php system("id"); phpinfo(); ?> and paste the output here
  10. N

    Script Handler Definition not avail for php7.3?

    please refer https://docs.litespeedtech.com/cp/cpanel/php/
  11. N

    Concurrent connection limit for CURL?

    the issue has been submitted as a ticket and resolved, although no final conclusion yet. at least 2 issues are found related: 1st issue: https://www.php.net/manual/en/function.curl-multi-init.php when using this curl_multi_init() to establish 200 concurrent connections to a google server, some...
  12. N

    Help with .htaccess file

    if you access blog?essay=blog-entry-slug directly, will it return 404 or 200 ?
  13. N

    Help with .htaccess file

    please try removing [L], see if it'll help - https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:troubleshooting:rewrite_difference_on_l_flag_between_lsws_and_apache
  14. N

    LSAPI_CHILDREN or PHP_LSAPI_CHILDREN

    LSAPI_CHILDREN and PHP_LSAPI_CHILDREN are same, just alias usually, should set maxConns = LSAPI_CHILDREN, total allowed connection will be maxConns
  15. N

    How to force a link to download a file instead of opening it on the browser?

    this should work, not sure why it doesn't work. you can try same method in .htaccess RewriteRule \.epub$ - [T=application/octet-stream] to see if it'll work. please refer https://httpd.apache.org/docs/current/rewrite/flags.html#flag_t for above 'T' flag
  16. N

    About Apache Status and highing Load server

    litespeed don't support "Apache Server Status" instead, you can look(or capture screenshot) litespeed's real-time stats ( lsws web admin->Actions->Real-Time Stats ) when load is high
  17. N

    Problems Converting RedirectMatch rule to RewriteRule

    can you explain what "?!page/" mean ?
  18. N

    Issue with instant update and php.ini per user configuration

    just now I tried to update "display_errors" by multiphp ini editor in cpanel, looks it always works(confirmed by phpinfo page) without any additional step. if still need you restart php process, you can ask him to try "MultiPHP Manager", to apply for another php version, or even same php...
  19. N

    Issue with instant update and php.ini per user configuration

    then how did you change php.ini for a user ? not via command line ?
  20. N

    Issue with instant update and php.ini per user configuration

    please use this way: https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:php:detached_mode#for_a_user your way is through lsws web admin, which will restart all lsphp processes for all users and need login lsws web admin GUI. above way is just "touch...
Top