Search results

  1. P

    htaccess with appserver (node)

    I did enable autoload but it didn't work. I'm super busy this week, but I'll try to do some more testing with debug enabled and then I'll share my config here so you can check ;)
  2. P

    htaccess with appserver (node)

    Hi, Is it possible to read .htaccess rules when using node? I tried here, but it didn't work. Setting the same rules on a rewrite{} block on vhost.conf it worked as expected... Maybe I'm doing something wrong? Can someone please test too? :)
  3. P

    How to update symlink location without restarting?

    That's super weird... I just got a new server to test, installed OLS 1.5.9 at first, then I tried 1.6.4 binary as well, and still the symlink doesn't update. Default Example vhost used, nothing modified: root@li965-219:/usr/local/lsws/Example# ls -la total 28 drwxr-xr-x 7 root root 4096 Nov 27...
  4. P

    How to update symlink location without restarting?

    Hm... I will do some more tests here. But just to know, what version are you using? And can you show me your symlink conf on OLS? I think they are on httpd.conf
  5. P

    How to update symlink location without restarting?

    Hi, How can I force OLS to follow symlink location even when the location changes without restarting the service? This is the app structure: document root: /srv/app/www/current current is a symlink to /srv/app/www/releases/XXXXXX Everytime the client do a deploy, XXXX value changes...
  6. P

    lshttpd.service: Refusing to accept PID outside (...)

    Oops, sorry, I already "fixed" it. It seems OLS changed from init.d to systemd from 1.5.8 to 1.5.9. So the /etc/init.d/lsws file was removed, but the service wasn't stopped. When I tried to restart LSWS using systemctl, it complained about the PIDFile. I tried to remove the PIDFile, but it...
  7. P

    lshttpd.service: Refusing to accept PID outside (...)

    After upgrading OLS to 1.5.9 on ubuntu 18.04 LTS, we can no longer start/restart the service: lshttpd.service: Refusing to accept PID outside of service control group, acquired through unsafe symlink chain Searching for this error on Google, I found the following on Red Hat site: Resolution...
  8. P

    Wrong hour (daylight savings) when using LSPHP

    Oh, just found out about the extension timezonedb Too bad there is no package for it already compiled :( Anyway, I guess that's it. I will compile and install in every server. Thanks :)
  9. P

    Wrong hour (daylight savings) when using LSPHP

    Hi I'm not sure this is the right place to talk about this... In our current server configuration, we have several versions of PHP available to clients: PHP 5.6 to PHP 7.3 - Both packages from Ubuntu and from LSPHP. Normally, since last week, we would be in daylight savings time in Brazil...
  10. P

    How to log NODE stderr to own file

    Hi! Thanks for the update Bob! =D I'll update all our servers to 1.5.8 in the next days and let you know if there is any problem
  11. P

    [AutoRestarter] child process with pid=3264 received signal=11, a core file is created

    Hi, Any update on this? Is this related to the new bugfix about failed cache entry?
  12. P

    lsrecaptcha behind reverse proxy

    Just to update the topic for anyone else: This has been fixed and the fix will be available in the next version, 1.5.8 these guys are super fast to do bugfix, insane :)
  13. P

    How to log NODE stderr to own file

    Hi rperper. That's great news! Thank you very much! :D Well, I guess it's time to start writing my next article about configuring node logs on OLS to help the community :P Thanks again!
  14. P

    How to log NODE stderr to own file

    Hey guys! I'm using OLS to run node on thousands of applications and servers, but they are all logging errors to the default stderr file: /usr/local/lsws/logs/stderr.log I need a way to log each application to a different file, similar to what we did using PHP here...
  15. P

    Reached max children process - Log into vhost error log instead of stderr

    Hey David, how are you? I'm hoping you can help me out again in a similar problem. I'm trying to log NODE stderr to a different file too. I tried to do this: context / { type appserver env...
  16. P

    lsrecaptcha behind reverse proxy

    Oh right Email sent Thanks Pong! :D
  17. P

    [AutoRestarter] child process with pid=3264 received signal=11, a core file is created

    Server: LiteSpeed/1.5.7 Open module versions: modpagespeed 2.2-1.11.33.4 cache 1.61 modinspector 1.1 uploadprogress LSIAPI_VERSION_STRING mod_security 1.1 OS: Linux Release: 4.18.16-x86_64-linode118 Version: #1 SMP PREEMPT Mon Oct 29 15:38:25 UTC...
  18. P

    lsrecaptcha behind reverse proxy

    Sure, where can I open a ticket to OLS?
  19. P

    [AutoRestarter] child process with pid=3264 received signal=11, a core file is created

    Hey One of my server is constantly crashing and restarting OpenLiteSpeed. In the last night, it sent 4500 emails to me about the crash 2019-10-24 09:55:37.173539 [NOTICE] Child: 3264] Core dump is enabled. 2019-10-24 09:55:37.260419 [NOTICE] [Child: 3264] Setup swapping space... 2019-10-24...
  20. P

    lsrecaptcha behind reverse proxy

    Hey guys! :D I'm doing some tests with lsrecaptcha so we can protect wordpress admin page from bots, and when I was testing with only OLS, everything worked great. However, the moment I put nginx in front of OLS as reverse proxy, the captcha is never triggered. It seems the request is always...
Top