Search results

  1. P

    Configure unknown filetypes to give 404?

    I noticed one Linux text editor left behind altered copies of the edited file and this idiocy made those .php files viewable online as text. Luckily the few files affected were no critical for site security. This behaviour is very dangerous (php source code revealed). How do I set a "catchall"...
  2. P

    QUIC shm data

    Thanks. Is there some kind of a shm stale/garbage collection going on there (per connection)? Can that folder contents be deleted if it grows too big for my taste, or will it cause broken pages or worse? rm -f /dev/shm/lsws/.quicshm*
  3. P

    QUIC shm data

    Are there some round estimation figures about QUIC data amounts that will be needed to run a relatively busy website? I have a 16GB /dev/shm/ and I do not want it to swap. Is there a way to monitor lsws QUIC /dev/shm/ usage?
  4. P

    Rewrite help

    Thanks. That works but not totally: https://www.domain.com still stays at https://www.domain.com Gives "200 OK". i.e www. is not removed (I need to have it removed). BTW: http://www.redirect-checker.org/index.php seems to be a good page to show the redirect headers. Any ideas? Cat I chain...
  5. P

    Rewrite help

    I have now a www -> non-www redirect running: RewriteCond %{HTTP_HOST} ^www\.mydomain\.com$ [NC] RewriteRule ^(.*)$ http://mydomain.com/$1 [R=301,L] this has worked well. -------- Now I have SSL on, and need to 301 redirect all http requests to matching https content. Also, ://www.mydomain.com...
  6. P

    Server-sent events connection sharing?

    A question: (Keepalive is on.) if I initiate server-sent events (SSE text/event-stream) for 2000 logged clients (every x secs data update per client), does lsws tie 2000 http connections for those (when waiting for data), or can it share existing ones? I could of course do the server side...
  7. P

    display_errors = Off and still errors printed in CLI

    Those produce no result, but it brought out something useful. I have in the system php binaries /opt/lsws/lsphp7/bin/lsphp /opt/lsws/lsphp7/bin/php /opt/lsws/fcgi-bin/lsphp /opt/lsws/fcgi-bin/lsphp-7.2.3 /opt/lsws/fcgi-bin/lsphp7 /opt/lsws/fcgi-bin/lsphp4 /opt/lsws/fcgi-bin/lsphp5 and I found...
  8. P

    display_errors = Off and still errors printed in CLI

    Yes I know. No matter what you have there, errors are printed (lsws updated to latest release). /opt/lsws/fcgi-bin/lsphp7 -c /opt/lsws/lsphp7/lib/php_x.ini ./phpinfo.php Parse error: syntax error, unexpected 'hpinfo' (T_STRING) in /root/phpinfo.php on line 3 php_x.ini contains error_reporting...
  9. P

    Logs stored, but server log viewer can not show them

    Thanks shell command worked. Now the logs show fine.
  10. P

    Logs stored, but server log viewer can not show them

    I have 5.2.5 Active (Build 1), so will the force reinstall command making it build 2? BTW: This has been confusing for years now, why can't you simply release new versions as 5.2.5.1 5.2.5.2 and so on? Still nothing shown in admin panel logs: [xxxx@xxxx logs]# pwd /opt/lsws/logs [xxxx@xxxx...
  11. P

    display_errors = Off and still errors printed in CLI

    I have set display_errors = Off and error logging to file. That ini (/opt/lsws/lsphp7/lib/php.ini) is loaded and used. Problem: I have cron scripts (php) running and was surprised to see the notice error printed (which prevented php generated mails going out): Notice: Undefined variable...
  12. P

    [Solved] Inactivity Timeout, everything tried

    Phew I solved this. Reason was F-Secure Freedome. It seems to cut connection after 30 sec. Freedome off: problem solved. :)
  13. P

    Logs stored, but server log viewer can not show them

    LiteSpeed Web Server Enterprise 5.2.5 Server logs are stored correctly in /opt/lsws/logs -rw-r--r-- 1 nobody nobody 3.6K Mar 5 13:14 error.log.2018_03_05 -rw-r--r-- 1 nobody nobody 5.6K Mar 5 14:20 error.log.2018_03_05.01 etc. In LS admin CP, server log viewer can tell "Log Size: 5.96...
  14. P

    [Solved] Inactivity Timeout, everything tried

    I have good knowledge on LS, and what has worked before does not seen to work now. Php scripts stop at 30 seconds with message " Inactivity Timeout Description: Too much time has passed without sending any data for document. " LiteSpeed Web Server Enterprise 5.2.5 (trial) CentOS 7 latest PHP 7...
  15. P

    Upgrade to 5.1.13 from quite an old version?

    All seems to work fine, but there is this in the log: NOTICE #_AdminVHost:lsapi] [STDERR] PHP Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /opt/lsws/admin/html.5.1.13/service/serviceMgr.php on line 23
  16. P

    Upgrade to 5.1.13 from quite an old version?

    Thanks, Can I revert to the old version (5.x -> 4.x) at all after getting to 5.x, in case there are problems ?
  17. P

    Upgrade to 5.1.13 from quite an old version?

    Re: https://www.litespeedtech.com/support/forum/threads/lsws-5-1-13-released.14663/#post-96407 What are the "focused DDoS attacks detected just a few hours ago" ? I have run a server with an older PHP version and older Litespeed (very stable), so now if I update it to 5.1.13 should all go fine...
  18. P

    [Resolved] Litespeed and GHOST (glibc gethostbyname buffer overflow)?

    http://www.openwall.com/lists/oss-security/2015/01/27/9 http://seclists.org/oss-sec/2015/q1/283 Is Litespeed vulnerable?
  19. P

    [Resolved] Replacing a licence

    I just deleted lsphp55 handler. Why it is there in a clean installation?
  20. P

    [Resolved] Replacing a licence

    Thanks, seems to be working ok :) Something odd with the clean installation of Enterprise, though (new RHEL 7 server) . I told installer .php is the only suffix I want, and yet there is .php5 and .php55 which gives errors in log 2014-10-05 14:04:55.587 ERROR [config:server:epsr:lsphp55]...
Top