ドキュメントセンター よくある質問 文書資料
はじめに - ドキュメントセンターについて 使用条件 ご意見・ご感想は公開会議室へ 著作権表示
ホーム ドキュメントセンター 新着文書 よくある質問 FAQ 問答集 ビジネス 事業計画 概況 デベロッパー 技術資料 仕様書 ガイドライン 想定された使い方 ヘルプ 利用方法や一般的な操作方法 その他の文書

はじめに
ドキュメントセンターを初めてご利用する方や運営方針についての基本的な姿勢をご覧になりたい方へ。

ドキュメントセンター 新着情報
GetCurrentImage failedと出て、画像の保存ができないのですが? (FAQ) 2007.08.23
clamavをclamav-0.90以降に更新すると、clamdが起動しなくなりましたが? (FAQ) 2007.07.31
make.confにX11BASEを設定するように言われましたが? (FAQ) 2007.07.30
serial型の次に挿入すべき値を変更するにはどうしますか? (FAQ) 2007.06.01
次のSERIAL型で用いられる値を得るにはどうしますか? (FAQ) 2007.05.31
WindowsXPを入れた端末にPINGが通りませんが? (FAQ) 2007.05.21
vmware3上でWindowsXPを導入すると途中で待たされ、失敗しますが? (FAQ) 2007.05.19
vmware3のインストールがうまくいきませんが? (FAQ) 2007.05.18
gnome上で解像度の変更ができないのですが? (FAQ) 2007.05.17
gnome上で解像度の変更をするにはどうしますか? (FAQ) 2007.05.17

よくある質問
ご利用の皆様から多く寄せられる質問にお答えしています。
ディーエーオフィス
サーバ
アプリケーション

語解説
ディーエーオフィスなどが利用する用語に関する解説を行います。

ディーエーオフィスホームページ
メッセージセンター
ディーエーオフィスサポートターミナル
トピックスセンター
リレーショナルナレッジベース
Apache アクセスログファイル
 Apacheアクセスログファイルは、フォーマットが指定可能です。バーチャルホストなどの設定を行っている向きには、以下のような設定をおすすめします。LogFormatの定義は、combine、common、referer、agentがデフォルトで設定してあり、CustomLogで標準のaccess_logを出力しています。デフォルトはcommonですが、ここはLogFormatで指定したもの以外に、直接LogFormatを指定することもできます。

HostnameLookups Off
ErrorLog /usr/local/apache/logs/error_log
LogLevel warn
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combine
LogFormat "%h %l %u %t "%r" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
LogFormat "%{%Y%m%d%H%M}t %h %V%U" original_name
#CustomLog /usr/local/apache/logs/access_log common # 元に設定してあったものをコメントアウト
CustomLog /usr/local/apache/logs/access_log original_name

---

以下を設定中

HostnameLookups On
ErrorLog /usr/local/apache/logs/error_log
LogLevel warn
LogFormat "%{%Y%m%d%H%M}t %V%U¥n %h¥n %{Referer}i¥n¥n" daoffice
SetEnvIf Request_URI .gif image-request
SetEnvIf Request_URI .jpg image-request
SetEnvIf Request_URI .png image-request
CustomLog /usr/local/apache/logs/access_log daoffice env=!image-request
ServerSignature On

---

%{%Y%m%d%H%M}t - "200401011200"の形式で時間を出力
%t - 時間
%h - リクエストしたリモートホスト
%V - リクエストの送信先となったサーバまたは仮想ホストの名前
%U - リクエストされたURLパス

その他については、文末の参照先を参考。

---

以下未整理。

HostnameLookups Off
ErrorLog /usr/local/apache/logs/error_log
LogLevel warn
#LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
#LogFormat "%h %l %u %t "%r" %>s %b" common
#LogFormat "%{Referer}i -> %U" referer
#LogFormat "%{User-agent}i" agent

#LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i""
LogFormat "%h %{%Y%m%d%H%M}t "%v%U" %b "%{Referer}i""
#LogFormat "%h %l %u %t "%r" %>s %b" common
#LogFormat "%{Referer}i -> %U" referer
#LogFormat "%{User-agent}i" agent

# add by asedaisuke at 2002-04-02

SetEnvIf Request_URI .gif image-request
SetEnvIf Request_URI .jpg image-request
SetEnvIf Request_URI .png image-request
#CustomLog logs/access_log env=!image-request

CustomLog /usr/local/apache/logs/access_log "%h %{%Y%m%d%H%M}t "%v%U" %b "%{R
#CustomLog /usr/local/apache/logs/access_log common

# If you would like to have agent and referer logfiles, uncomment the
# following directives.

#CustomLog /usr/local/apache/logs/referer_log referer
#CustomLog /usr/local/apache/logs/agent_log agent

# If you prefer a single logfile with access, agent, and referer information
# (Combined Logfile Format) you can use the following directive.

[ 関連文書 ]
  • ログファイル用の%書式指定子 (2005.02.08)


  • 文書番号 00481
    日付 2004.03.08
    参照数 3906

    ドキュメントセンター
      はじめに 新着ドキュメント 使用条件 著作権 お問い合せ
    Copyright 2003 daoffice design and management company. all rights reserved.