-1

looking at httpd's access log and I see requests but they all start at "/".

I have a few ServerAliases set up. Is there any way to see what domain (subdomain) the requests are coming in to?

1 Answer 1

2

Apache doesn't log the hostname by default, though you can change your Apache log format to log it. I prefer to log it in the otherwise useless second field, for example:

LogFormat "%h %{Host}i %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" combined
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .