hdknr’s posterous

 
Filed under

apache

 

Apache Log Analyzer 2 Feed - Index - Simone Carletti's Codestuffs

Apache Log Analyzer 2 Feed

ApacheLogAnalyzer2Feed is a really powerful open source PHP 5 class to parse and analyze Apache Web Server log files. Results are converted into a feed to let users subscribe them with a feed reader.

You can define custom filters based on logs data — for instance User-Agent, IP, requested page... — and combine them to select just a limited resultset.
The class can easily be extended with additional filters and custom feed handlers.

Quick Start

Would you like to be informed each time GoogleBot visits your website?

ApacheLogAnalyzer2Feed is the solution! ApacheLogAnalyzer2Feed will analyze server logs for you returning results in a custom feed.
Simply using the following code fragment you'll be able to track Googlebot directly from your feed reader.

Filed under  //   analyzer   apache   log   PHP  

Comments [0]

apache:ディレクトリ一覧をあえて有効にする

開発環境でめんどくさいので。

deblen:/home/sites/proj.hdknr.deb/conf/httpd.conf.d# more djdocs.conf
Alias /djdocs /home/hdknr/django/docs

<Location /djdocs >
Options Indexes
</Location>

Filed under  //   apache   authentication  

Comments [0]

www.mkjinet.com/linux/admin/

apache2の再起動時に apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName という警告が出る。

(対処方法)
# vi /etc/apache2/apache2.conf
ServerName 127.0.1.1
# /etc/init.d/apache2 restart

Filed under  //   apache   Trouble  

Comments [0]

ベーシック認証を設定する(AuthType) - アクセス制限 - Apache入門

また認証が通った全ユーザーに対してアクセスを許可する場合は次のように記述します。

Require valid-user

Filed under  //   apache  

Comments [0]

@IT:Apacheでユーザー認証を行うには(Basic認証編)

 なお、初めて.htpasswdファイルを作成するときは-cオプションが必要となる。

# htpasswd -c /etc/httpd/.htpasswd secret
New password:
Re-type new password:
Adding password for user secret

 そして、Apacheの設定ファイル(/etc/httpd/conf/httpd.conf)に以下の設定を追加する。

<Directory "/var/www/html/member">
    AuthType Basic
    AuthName "Secret Zone"
    AuthUserFile /etc/httpd/.htpasswd
    Require user secret
</Directory>

Filed under  //   apache   basic_auth  

Comments [0]