Apache Could not reliably determine the server's fully qual

回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Apache Could not reliably determine the server's fully qual

文章 yehlu »

"Could not reliably determine the server's fully qualified domain name"

在 /etc/apache2/apache2.conf
加入
ServerName xxx
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

internal dummy connection

文章 yehlu »

127.0.0.1 - - [05/Jan/2009:14:31:22 +0800] "GET / HTTP/1.0" 403 295 "-" "Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6 (internal dummy connection)"


/etc/hosts
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

127.0.0.1 - - [03/Jul/2009:15:09:37 +0800] "OPTIONS * HTTP/1

文章 yehlu »

http://disp.twbbs.org/text.php?bi=3&ti=909

在 Apache 的 access.log 裡出現大量的 internal dummy connection
127.0.0.1 - - [27/Jan/2009:23:55:25 +0800] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.4 with Suhosin-Patch (internal dummy connection)"

這個問題不會影響apache的運作,如果覺得礙眼可以在 /etc/apache2/sites-available/default 中,將
CustomLog /var/log/apache2/access.log combined
改為:
SetEnvIf Remote_Addr "127.0.0.1" dontlog
CustomLog /var/log/apache2/access.log combined env=!dontlog

就不會再有127.0.0.1的記錄了

http://zhucc.blogspot.tw/2015/03/apache ... ction.html

代碼: 選擇全部

SetEnvIf Remote_Addr "::1" dontlog
CustomLog logs/access_log combined env=!dontlog
回覆文章

回到「Linux」