1. I discovered that I can login to phpmyadmin, roundcube etc. using URL:
http://server_s_IP/phpmyadmin
http://server_s_IP/roundcube
2. Next, I started searching where I can find access logs of operations that I mentioned above. And it turned out that it's file: /var/log/httpd/homedir.log
First problem is that log doesn't contain IP and date.
Also I can't find logs for past days.
3. I try to modify this log to resemble a standard apache log, and I stuck on this configuration file:
/etc/httpd/conf/ips.conf
I want modify line: LogFormat "%O \"%r\"" homedir
but this file also states:
# Auto generated apache config file by DirectAdmin version 1.36.2
# Modifying this file is not recommended as any changes you make will be
# overwritten when you add/remove ip's through DirectAdmin.
So I searched in /usr/local/directadmin/data/templates for template file. I found files:
ips_virtual_host.conf (but id don't contain logformat option)
and httpd.conf (but it contains only: LogFormat "%b \"%r\"" homedir, so It's different from line that I looking for, which I mentioned above)
_______________
I thing it's kind of security issue, and I ask what I should do about that.
Temporary I redirect all traffic from server IP to one of domains using htaccess.
Thanks for any suggestions.
http://server_s_IP/phpmyadmin
http://server_s_IP/roundcube
2. Next, I started searching where I can find access logs of operations that I mentioned above. And it turned out that it's file: /var/log/httpd/homedir.log
First problem is that log doesn't contain IP and date.
Also I can't find logs for past days.
3. I try to modify this log to resemble a standard apache log, and I stuck on this configuration file:
/etc/httpd/conf/ips.conf
I want modify line: LogFormat "%O \"%r\"" homedir
but this file also states:
# Auto generated apache config file by DirectAdmin version 1.36.2
# Modifying this file is not recommended as any changes you make will be
# overwritten when you add/remove ip's through DirectAdmin.
So I searched in /usr/local/directadmin/data/templates for template file. I found files:
ips_virtual_host.conf (but id don't contain logformat option)
and httpd.conf (but it contains only: LogFormat "%b \"%r\"" homedir, so It's different from line that I looking for, which I mentioned above)
_______________
I thing it's kind of security issue, and I ask what I should do about that.
Temporary I redirect all traffic from server IP to one of domains using htaccess.
Thanks for any suggestions.