Search results

  1. N

    Litespeed ProcessGroup Mode fo PHP and Cloudlinux PHP Selector

    it looks both docs a bit outdated :) just leave it blank, use its default setting default mean "Yes (Detached Mode)" initially there 2 options only: "Yes" or "No", later added 2: "Yes (Daemon Mode)" ans "Yes (Detached Mode)" regarding "Yes (Detached Mode)": Q: "Run On Startup" : Yes or No ...
  2. N

    Clarifications on purged cache clean-up

    I think the disk clean up algorithm can improve further and further, endlessly. maybe it gets changed suddenly when our dev has seen a big reason to do it. can you explain the reason why it's so necessary to clean up those cached files by "purge all" or "purge tag" events ? I think current...
  3. N

    Clarifications on purged cache clean-up

    while cache is created one by one, purge may purge all or purge by tag, which may need delete for example 100 cached files. deleting a file need some system calls, deleting 100 files is too expensive for a web server all visitors may feel the web server hang for a few seconds, although it's...
  4. N

    403 showing wherever an iframe is located

    how about remove "<Files "*"></Files>", just leave "Satisfy Any" or change it to "allow from all" ?
  5. N

    403 showing wherever an iframe is located

    how about change "off" to "on" ?
  6. N

    Clarifications on purged cache clean-up

    yes - "they do get deleted, but they still have to wait for their original TTL before getting deleted" when: when lsws process is idle, it'll actually delete the expired cache files on the disk. it's like a cron job; there may be many expired cache files, it may take long time to complete the...
  7. N

    403 Forbidden Using Puffin browser

    probably mod_security rule caused 403 Forbidden try disable it and see
  8. N

    Access Control on IP base (Solved)

    but my tests shows it just works 100% either 1st IP or 2nd IP is ok to access, but rest IPs are blocked
  9. N

    Access Control on IP base (Solved)

    can you post your sample rules here, I can test them on our server
  10. N

    Access Control on IP base (Solved)

    you can follow http://www.htaccess-guide.com/deny-visitors-by-ip-address/
  11. N

    esi:inline tags don't work

    I created following test.php <esi:inline name="something"> My data </esi:inline> <?php echo $_SERVER['X-LSCACHE']; ?> <hr> <esi:include src="something"> <hr> <esi:include src="something"> and in .htaccess RewriteRule test.php - [E=esi_on:1] then from browser, access /test.php, looks working...
  12. N

    a number of mistakes and 503 error , litespeed restart

    please follow https://docs.litespeedtech.com/extapp/php/troubleshooting/503/
  13. N

    PHP suEXEC not working

    the issue has been resolved. just made minimal change: /usr/local/lsws/HIMAX/html/wordpress>ls -ald drwxr-x---. 6 nobody nobody 4096 Apr 23 16:43 . /usr/local/lsws/HIMAX/html/wordpress>chown webuser . ; date Fri Apr 24 20:02:26 CST 2020 /usr/local/lsws/HIMAX/html/wordpress>ls -ald drwxr-x---...
  14. N

    PHP suEXEC not working

    can you PM the lsws web admin( :7080) access. it's easier to see GUI directly.
  15. N

    Redirect non-www to www and https using Redirect permanent

    if you redirect to other domain, Redirect permanent / https://www.other.com/ it'll work well. however, if you redirect to same domain, it'll cause infinite redirect loop as you've experienced. since it just redirect to itself. to user Redirect correctly, you have to set source URI different...
  16. N

    cURL Installed but Not Detected in PHP info

    yes, looks like I can confirm the issue. when access phpinfo page. in stderr.log PHP Warning: PHP Startup: Unable to load dynamic library 'curl.so' (tried: /usr/local/lsws/lsphp74/lib64/php/modules/curl.so (/usr/local/lsws/lsphp74/lib64/php/modules/curl.so: undefined symbol: curl_mime_type)...
  17. N

    object cache support for shared hosting?

    please refer https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:lsmcd:start "Separation of individual users' data on shared hosting environment"
  18. N

    including php file from another account - suEXEC

    if you really want require('/test321/test.php'); to work, just create a symbol link cd /var/www/vhosts/domain1.com/httpdocs ln -s /var/www/vhosts/domain2.com/test321 tes321
  19. N

    cURL Installed but Not Detected in PHP info

    can you PM (private message) your server's ssh access, so I can check what's happened on php 7.4 p.s. you no need "yum install php74-curl", it's for apache
  20. N

    including php file from another account - suEXEC

    just read through your posts again. Alias is for apache/litespeed , not for php, can't be used in php script require/include: it's used in this way: domain1.com/test321/phpinfo.php where phpinfo.php is under /var/www/vhosts/domain2.com/test321/
Top