Linux

目次

インストール,Install

CentOS 6

.htaccess による制御方法

作成

AuthUserFile /var/honya/honya/.htpasswd
AuthGroupFile /dev/null
AuthName "Please Input! UserName & Password(^^)"
AuthType Basic
require valid-user

.htaccess が有効にならない

htpasswd

  1. 最初の1人目
    htpasswd -c /var/honya/honya/.htpasswd (username)
  2. 2人目以降
    htpasswd /var/honya/honya/.htpasswd (username)

apache が作成するファイルの umask を変更する。

echo "umask 002" >> /etc/sysconfig/httpd
/etc/init.d/httpd restart

Ubuntu(debian)系、apache実行ユーザー

RewriteEngine? が有効にならない時

redirect(url の転送)

httpd.conf による転送

htmlでリダイレクト

チューニング

参考サイト

前提

mpm 関連設定

Timeout, KeepAlive?

logファイル関連。

Log解析

Link


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS