お昼ご飯に生らぁめん(醤油)を作ってみた。
調理は,鍋を二つ用意して,両方で湯を沸かす。
そして,片方で麺を湯がくがもう片方ではオニオンスープの準備をする。
なぜかというと私はonionが好きでラーメンに湯がいたタマネギを入れるのが好きだということと,湯がいただけでそのお湯を捨てるのがもったいないということからである。
ServerSignature Off
ServerTokens ProductOnly上記を記述するとtelnetでApacheにアクセスしてみると以下のように出力されるようになる。
$ telnet tomo.sslan.com 80 Connected to tomo.sslan.com. HEAD / HTTP/1.0 HTTP/1.1 200 OK Date: Sat, 15 Feb 2003 13:52:12 GMT Server: Apache Last-Modified: Fri, 14 Feb 2003 15:46:31 GMT ETag: "0-2ff-3e4d0f57" Accept-Ranges: bytes Content-Length: 767 Connection: close Content-Type: text/html Connection closed by foreign host.Server: の部分のApacheのバージョンおよびOSが表示されなくなる。
SetEnvIf Request_URI "default\.ida" warnlog SetEnvIf Request_URI "cmd\.exe" warnlog SetEnvIf Request_URI "root\.exe" warnlog SetEnvIf Request_URI "Admin\.dll" warnlog SetEnvIf Request_URI "NULL\.printer" warnlog SetEnvIf Request_URI "/iissamples/" warnlog SetEnvIf Request_URI "/msads/" warnlog SetEnvIf Request_URI "/scripts/" warnlog SetEnvIf Request_URI "/_vti_bin/" warnlog SetEnvIf Request_URI "/_vti_pvt/" warnlog SetEnvIf Request_URI "/cfdocs/" warnlog SetEnvIf Request_URI "/null.id?" warnlog SetEnvIf Request_URI "/_vti_bin/" warnlog CustomLog /var/log/httpd/nimda_cordred.log combined env=warnlog上記の設定で, /var/log/httpd/nimda_cordred.log に個別にアタックログを取ることが出来る。 また, access.log に上記の部分のログを残したくない場合は,以下のようにすると良い。
CustomLog /var/log/log/httpd/access.log combined env=!warnlog
IndexOptions +NameWidth=*設定サンプルでは以下のようになる。
<IfModule mod_autoindex.c> IndexOptions FancyIndexing IndexOptions +NameWidth=* -- 略 -- </IfModule>また,.htaccessに加えても使用できる。
20030215b.txt36587byte Feb 15 15:48