Search results

  1. frog9394

    DirectSlave/GO 3 - public beta

    Just replace the binary (directslave) from the latest download in /usr/local/directslave/bin. I think there is no other update from 3.4.2 to 3.4.3 other than the binary.:)
  2. frog9394

    Apache log not showing real client IP instead of cloudflare IP

    Because you need to prevent some bad bots or hacker to directly access your server by forging the HOST: or initialize some attacks etc. Make sure all traffic "washed" by cloudflare before going to your server. ;)
  3. frog9394

    Apache log not showing real client IP instead of cloudflare IP

    So, I think it can only done at firewall level. I can't because It has multiple websites on this server and some are directly connected from client's IP. So I needed in application level (apache). Anyway, Thanks for your help. I am researching on the directive RemoteIPProxyProtocol On to see if...
  4. frog9394

    Apache log not showing real client IP instead of cloudflare IP

    Show client real IP in apache log has solved. But it leads to another problem. I have .htaccess in my website and only allow cloudflare IP to access our website only. Content as below. Require ip 173.245.48.0/20 Require ip 103.21.244.0/22 Require ip 103.22.200.0/22 Require ip 103.31.4.0/22...
  5. frog9394

    Apache log not showing real client IP instead of cloudflare IP

    Thanks a lot for your help! It's working now. I think it was default existed in apache config but it's not. Have a nice day.
  6. frog9394

    Apache log not showing real client IP instead of cloudflare IP

    Hi Zhenyapan, I update our server monthly. I am using apache 2.4.53 right now. Latest version of Apache: 2.4.54 Installed version of Apache: 2.4.53 Apache 2.4.53 to 2.4.54 update is available. Also. I just download the file httpd-cloudflare.conf from files.directadmin.com and place it...
  7. frog9394

    Apache log not showing real client IP instead of cloudflare IP

    Dear All, I have find this guide. https://docs.directadmin.com/webservices/apache/general.html#mod-remoteip. But I can't find the file /etc/httpd/conf/extra/httpd-cloudflare.conf. I have 3 directadmin boxes and they all don't have this file. Is there anything I need to do in the...
  8. frog9394

    DirectSlave/GO 3 - public beta

    Dear Roman, Thanks for your help. I find the problem in my system. DS 3.4.2 have no problems. When I fallback to DS 3.4.1. I found "Server *:2224 start error! open /usr/local/directslave/ssl/privkey.pem: permission denied" in /usr/local/directslave/log/error.log. I fix the problem by...
  9. frog9394

    DirectSlave/GO 3 - public beta

    Dear Roman, Thanks a lot! I just upgrade from 3.4.1 to 3.4.2. The procedure as below. systemctl stop directslave copy directslave-3.4.2/etc/systemd/directslave.service to /etc/systemd/system/directslave.sevice copy directslave-3.4.2 /bin/directslave-linux-amd64...
  10. frog9394

    read content ouside /home/user folder

    Thanks for your reply. We are using Cloudlinux cagefs, so we cannot mount it directly to the user's image folder told by Cloudlinux support. The /mnt/nfs is a vitural directory using https://docs.cloudlinux.com/cloudlinux_os_components/#per-user-virtual-mount-points method helped by Cloudlinux...
  11. frog9394

    read content ouside /home/user folder

    Yes. I can read the file from ssh without problem. $ cat image/test.txt 12345
  12. frog9394

    read content ouside /home/user folder

    Thanks for your reply. The symlink already owned by user:user. $ ls -l image lrwxrwxrwx 1 user user 15 Apr 21 02:19 image -> /mnt/nfs/image/
  13. frog9394

    read content ouside /home/user folder

    Dear All, I have an nfs volume mounted to /mnt/nfs. A symbolic link /home/user/public_html/image -> /mnt/nfs/image has created. But I can't get https://www.domain.com/image/test.jpg to work (Forbidden) because apache seems restricted. It can only read content inside /home/user. How can I...
  14. frog9394

    DirectSlave/GO 3 - public beta

    Thanks a lot for your great affort!!! We appreciate that so much!
  15. frog9394

    DirectSlave/GO 3 - public beta

    Dear Roman, Directslave service failed if I added "User=named" in the directslave.service. [root@ds /]# systemctl status directslave ● directslave.service - DirectSlave Loaded: loaded (/etc/systemd/system/directslave.service; enabled; vendor preset: disabled) Active: failed (Result...
  16. frog9394

    DirectSlave/GO 3 - public beta

    [root@ds /]# vi /etc/systemd/system/directslave.service My directslave.service file content as below [Unit] Description=DirectSlave After=network.target [Service] Type=simple ExecStart=/usr/local/directslave/bin/directslave --run Restart=always [Install] WantedBy=multi-user.target I've added...
  17. frog9394

    DirectSlave/GO 3 - public beta

    Dear Roman, Yes. It will generate the pid file when run it directly. But the service seems not runnng when I run "/usr/local/directslave/bin/directslave --status". The problem is systemd? [root@ds /]# /usr/local/directslave/bin/directslave --run DEBUG: Running as root (0), dropping...
  18. frog9394

    DirectSlave/GO 3 - public beta

    Dear Roman, Thanks for your prompt reply. I just test and user "named" can write to that directory. Please find the test procedure shown as below. [root@ds directslave]# grep uid etc/directslave.conf uid 25 [root@ds directslave]# grep named /etc/passwd...
  19. frog9394

    DirectSlave/GO 3 - public beta

    Dear All, I get the bellow error in the DS error.log when shutdown directslave. 2021/04/01 00:00:12 SHUTDOWN: SIGTERM received, exiting... 2021/04/01 00:00:12 Cant' delete pidfile: remove /usr/local/directslave/run/directslave.pid: no such file or directory I have found no...
  20. frog9394

    Exim 4.94 - Eximconf 4.5.24 - CentOS7 - Exim problem after some minutes

    My CentOS have the same issue. Anyone can tell me how to revert back to old versions? Thanks!
Back
Top