アクセスログはどうしたらとれますか
アクセスログは www/logs/ 以下のデレクトリに記録されるようになっています。 このデレクトリが空な場合は www/conf/httpd.confでログ採集がコメントアウトされていますのでwww/conf/httpd.confの次の部分を下のように変更して各デレクティブを有効にしてください。
# ErrorLog: The location of the error log file. If this does not start
# with /, ServerRoot is prepended to it.
ErrorLog logs/error_log
#ErrorLog /dev/null
# TransferLog: The location of the transfer log file. If this does not
# start with /, ServerRoot is prepended to it.
TransferLog logs/access_log
#TransferLog /dev/null
# AgentLog: The location of the agent log file. If this does not start
# with /, ServerRoot is prepended to it.
AgentLog logs/agent_log
#AgentLog /dev/null
# RefererLog: The location of the referer log file. If this does not
# start with /, ServerRoot is prepended to it.
RefererLog logs/referer_log
#RefererLog /dev/null
一般的には TransferLogのみを有効にすることで充分と考えられますが、エラーの記録を取りたい場合は ErrorLogを有効にすると良いでしょう。
ログを採集するようにすると定期的にログを削除しないといずれディスク容量がリミットに達しますので充分監視するようにしてください。
なお、FTPでこのファイルを転送する場合は必ずアスキーモード(テキストモード)で転送してください。 編集する前に、いつでも元に戻せるようにバックアップを取っておくことをお勧めします。
|