Page 1 of 1

DirectAdmin virtual domain error logs not included.

Posted: 14 Oct 2015, 01:15
by crspyjohn
Any tips on how to get this working? I tried the code below and it still doesn't work. When I restart LFD, it doesn't list all of the files. I also tried setting htaccess to a single domain and then failing the htaccess multiple times and nothing is happening. Any ideas?

Code: Select all

HTACCESS_LOG = "/var/log/httpd/domainds/*.error.log"

Code: Select all

[Tue Oct 13 17:01:51.730834 2015] [auth_basic:error] [pid 26702] [client :57990] AH01618: user asd not found: /clients/reports/
[Tue Oct 13 17:01:53.545177 2015] [auth_basic:error] [pid 26702] [client :57990] AH01618: user asda not found: /clients/reports/
[Tue Oct 13 17:01:55.338783 2015] [auth_basic:error] [pid 26702] [client :57990] AH01618: user asda not found: /clients/reports/ 

This is a snippet, it failed over 50 times

Re: DirectAdmin virtual domain error logs not included.

Posted: 14 Oct 2015, 15:59
by ForumAdmin
There is no IP address in the log lines you have posted.

Re: DirectAdmin virtual domain error logs not included.

Posted: 14 Oct 2015, 16:46
by crspyjohn
[Wed Oct 14 08:08:53.284609 2015] [auth_basic:error] [pid 25902] [client IPADDRESSHERE:55321] AH01617: user testname: authentication failure for "/clients/admin/": Password Mismatch

Sorry, I removed the IP address in the initial post . Do I need a need a custom regex rule to parse the DirectAdmin virtual domain error logs?