mod_ruid2
Re: mod_ruid2
Thanks for the info. If there is something I can do please let me know.
Re: mod_ruid2
+1BruceLee wrote:Thanks for the info. If there is something I can do please let me know.
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
Re: mod_ruid2
Get in there, throw commands and changes at it til it works.
Re: mod_ruid2
There are crude ways to get this working by changing modsecurity to write its logs at 777 -
echo "umask 0" >> /etc/sysconfig/httpd
echo "SecAuditLogDirMode 0777" > /etc/httpd/conf.d/01_mod_security_changes.conf
service httpd configtest && service httpd stop && service httpd start
Them simple changes will make it work (tomorrow) ie so that the new date folder is created as 777
You can also alter the log directory that each vhost uses to log to say /var/www/vhosts/DOMAIN/statistic/logs/audit/ but then you loose functionality from the asl interface
echo "umask 0" >> /etc/sysconfig/httpd
echo "SecAuditLogDirMode 0777" > /etc/httpd/conf.d/01_mod_security_changes.conf
service httpd configtest && service httpd stop && service httpd start
Them simple changes will make it work (tomorrow) ie so that the new date folder is created as 777
You can also alter the log directory that each vhost uses to log to say /var/www/vhosts/DOMAIN/statistic/logs/audit/ but then you loose functionality from the asl interface