Categories: everyday life

About “HostnameLookups off” of Apache.

In spite of setting “HostnameLookups off”, my httpd records hostnames in “access.log”. I always wonder about it.

On Feb. 8, I had the following log.
localhost – – [07/Feb/2010:13:32:31 +0900] “GET ~ HTTP/1.1” 200 50288
“~” “Opera/9.80 (Windows NT 5.1; U; en) Presto/2.2.15 Version/10.10”

I didn’t remember my access as a localhost during this time zone. I think it’s maybe the misidentification of an IP address.
But because of described above, I couldn’t know its IP address. So, this time, I buckle down to examine its reason.

At last, I found out it. Though it might be a well-known fact, Apache makes “HostnameLookups on” of a sentence like “Deny from xxx.xxx.xxx.xxx #XX xxxx.com”. Until now, I assumed mistakenly that the “#” and following words were recognized as a comment.

o6asan

Recent Posts

Very easy, sweet potato yōkan recipe.

The recipe for sweet potato yōkan that I often made this fall. Ingredients Sweet potato…

1 year ago

On my home network, I’ve built an FTP server that I left for long time.

After a long time, when I checked broken links and fixed them, I got an…

3 years ago

Moving “o6asan’s BBS”.-#2

I made a box, so I prepare the contents. Theme and Plugins. The theme is…

3 years ago

Moving “o6asan’s BBS”.

Hehe, it's been almost a year since my last post. I received a notification email…

3 years ago

I completed my WordPress to Sub-domain.

About a week ago, I finally started to renew my sites, which I had been…

4 years ago

Happy New Year!

   Happy New Year! It is the beginning of a new year.    This is a year…

6 years ago

This website uses cookies.