■
- 写経というか自分流に
# yum install httpd # mv /etc/httpd/conf.d/welcome.conf{,.o} # mv /var/www/error/noindex.html{,.o} # chkconfig httpd on # vi /etc/httpd/conf/httpd.conf ServerName xxxx
-
Apache チュートリアル: .htaccess ファイル - Apache HTTP サーバ
-
- AllowOverride をall指定にすると.htaccessファイルを使用できるが、外部からのアップロードなどで悪用される危険があるので使わない(デフォルト None のまま)