Support for security such as Firewalls and securing linux
- Posts: 2
- Joined: 2019/05/14 22:28:00
Hi, I have a problem:
An ip logger made in php with fopen,fwrite etc... does’t write file ips.log
The php file ad the log file are in the same directory.
The ips.log file has 777 permissions
- Posts: 2994
- Joined: 2014/09/20 11:22:14
Where's it writing to? Have you considered selinux?
- Forum Moderator
- Posts: 28585
- Joined: 2009/09/24 10:40:56
- Location: Brighton, UK
Selinux requires you to log to /var/log/httpd (or set up your own selinux rules to allow it elsewhere).