最小構成 まずは最小構成からはじめましょう。 Listen 80 User apache Group apache DocumentRoot "/var/www/html" これで、ブラウザから http://localhost/index.html にアクセスすると、HTMLが解釈されずタグがそのままブラウザに表示されます。レスポンスヘッダは下記のとおりで、Content-Type は text/plain になってます。他にも Keep-Alive とか ETag とか結構いろいろ設定されてるんですね。 Accept-Ranges:bytes Connection:Keep-Alive Content-Length:44 Content-Type:text/plain Date:Mon, 07 Feb 2011 08:10:40 GMT ETag:"1120194-2c-c43f370
![apache2.2 設定ファイルを一度真っ白にして最小構成から編集してみる - 何度やっても同じ](https://cdn-ak-scissors.b.st-hatena.com/image/square/bcf130fab3693c39eea13f2568050a3d0e8a937d/height=288;version=1;width=512/http%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fx%2Fxfan%2F20110207%2F20110207111912.png)