<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://tm.root-n.com/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel>
        <title>Tipsというかメモ server:apache:httpd.conf</title>
        <description></description>
        <link>https://tm.root-n.com/</link>
        <lastBuildDate>Tue, 18 Nov 2025 17:01:19 +0900</lastBuildDate>
        <generator>FeedCreator 1.7.2-ppt DokuWiki</generator>
        <image>
            <url>https://tm.root-n.com/lib/images/favicon.ico</url>
            <title>Tipsというかメモ</title>
            <link>https://tm.root-n.com/</link>
        </image>
        <item>
            <title>apache :: apache2 の設定まわり</title>
            <link>https://tm.root-n.com/server:apache:httpd.conf:apache2.conf</link>
            <description>apache2.conf


% less /etc/apache2/apache2.conf
 :
PidFile /var/run/apache2.pid &lt;= ./envvars APACHE_PID_FILE の値
 :
User hoge &lt;= ./envvars APACHE_RUN_USER の値
 :
Group fuga &lt;= ./envvars APACHE_RUN_GROUP の値
 :





security


% less /etc/apache2/conf.d/security
 :
ServerTokens Prod
 :
ServerSignature Off
 :
TraceEnable Off
 :</description>
        <category>server:apache:httpd.conf</category>
            <pubDate>Thu, 17 Dec 2009 11:26:20 +0900</pubDate>
        </item>
        <item>
            <title>apache :: 必ずやる httpd.conf の設定</title>
            <link>https://tm.root-n.com/server:apache:httpd.conf:httpd.conf</link>
            <description>Apache インストール後に `必ず' やる httpd.conf の設定


▼ 拡張子「php」の設定
(追加)    AddType application/x-httpd-php .php

▼ Indexさせない
(修正前)  Options Indexes Includes FollowSymLinks MultiViews
(修正後)  Options -Indexes Includes FollowSymLinks MultiViews

▼ ServerSignature見せない
(修正前)  ServerSignature On
(修正後)  ServerSignature Off

▼ .htaccessを有効にする
(修正前)  AllowOverride None
(修正後)  AllowOverride All

▼ access_logのローテート (※必要であれば、古いログを cron で定期削除)
(修正前)  CustomLog /var/log/apache/access.log combined
(修正後)  CustomLog &quot;| /usr…</description>
        <category>server:apache:httpd.conf</category>
            <pubDate>Sun, 16 Mar 2008 22:48:25 +0900</pubDate>
        </item>
    </channel>
</rss>
