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

How to enable Hyper-V and run Windows 7 on Amazon’s cheap laptop.

The laptop mentioned previous article successfully became 24H2. The touchpad was risen because the battery…

1 week ago

Upgrade Amazon’s cheap laptop to Windows 11 PRO 24H2.

I had a cheap laptop from Amazon and had used it to watch streaming programs…

3 weeks ago

Very easy, sweet potato yōkan recipe.

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

2 years 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…

4 years ago

Moving “o6asan’s BBS”.-#2

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

4 years ago

Moving “o6asan’s BBS”.

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

4 years ago

This website uses cookies.