2

I am trying to debug an issue with Apache 2.4 on Debian 8 (jessie). I notice lines like the following in my /var/log/apache2/error.log:

[Sun May 15 11:53:10.526964 2016] [authz_core:error] [pid 14805] [client 32.135.203.150:43595] AH01630: client denied by server configuration: /var/www/html/admin/ 

Question: in [client] block, what does the part :43595 means? I would guess it's a port number, but I am not sure since it doesn't appear in Apache documentation and it's not described in /usr/share/doc/apache2/README.Debian.gz either. I also tried to find if the log format isn't customized somewhere, but grep -rnw '/etc/apache2/' -e 'ErrorLogFormat' returns nothing.

2
  • 2
    That's standard notation for IPv4:Port it is not limited to Apache httpd. Also it's a colon not a semi-colon. Commented May 15, 2016 at 12:17
  • Sorry about mixing the two! I know it's standard, but it doesnt appear in documentation for some reason and isn't described in file that tells differences between vanilla and Debian versions of Apache. I thought it may have other meaning. Commented May 15, 2016 at 12:23

1 Answer 1

3

Yes, that is the standard notation for port numbers when describing TCP / UDP connection endpoints.

2
  • Then why it doesn't appear in documentation example? Do you know if it's configured separately? Commented May 15, 2016 at 11:40
  • 1
    The Apache in Debian could be a customized version that includes the port number by default in the logs. This is just an educated guess though. Commented May 15, 2016 at 11:43

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.