24 February 2007
Apache Digest 認証
Apache の Digest 認証をやってみた
.htaccess を Basic認証 を Digest認証用に書換える
AuthType Basic → Digest
AuthPasswordFile → AuthDigestFile
Digest 認証用 パスワードファイルを作る
Basic認証用とはコマンドが違う
htdigest [-c] パスワードファイル レルム ユーザー名
レルム には AuthName を指定する
-c は 最初に新規作成するとき
Apache の設定を変更
LoadModule の指定に auth_digest_module があることを確認する
HTTP クライアントを作ってみよう(6) - Digest 認証編 -
Apacheでユーザー認証を行うには(Digest認証編)
.htaccess を Basic認証 を Digest認証用に書換える
AuthType Basic → Digest
AuthPasswordFile → AuthDigestFile
Digest 認証用 パスワードファイルを作る
Basic認証用とはコマンドが違う
htdigest [-c] パスワードファイル レルム ユーザー名
レルム には AuthName を指定する
-c は 最初に新規作成するとき
Apache の設定を変更
LoadModule の指定に auth_digest_module があることを確認する
HTTP クライアントを作ってみよう(6) - Digest 認証編 -
Apacheでユーザー認証を行うには(Digest認証編)
22 February 2007
PHPのフォームからファイルをダウンロードする方法
18 February 2007
Ajax+JavaScriptコマンドブック
最近のWebアプリケーション Ajax の勉強のため購入
15 February 2007
Nucleus メンテナンス
コメントツリー表示 表示件数を増やした
カテゴリー Database,Mailを追加
Postgresqlを削除
カテゴリー Database,Mailを追加
Postgresqlを削除
10 February 2007
ports で PHP を導入
#cd /usr/ports/lang/php5
#make install clean
Options for php5-5.2.1
_OPTIONS_READ=php5-5.2.1
WITH_CLI=true
WITH_CGI=true
WITH_APACHE=true
WITHOUT_DEBUG=true
WITH_SUHOSIN=true
WITH_MULTIBYTE=true
WITH_IPV6=true
WITH_MAILHEAD=true
WITHOUT_REDIRECT=true
WITHOUT_DISCARD=true
WITH_FASTCGI=true
WITH_PATHINFO=true
ports インストール後の調整作業
1. php.ini ファイルを設定する
#cd /usr/local/etc
#cp php.ini-dist php.ini
PHP の実行時設定を変更するには、.ini ファイルを編集します。
2. httpd.conf を編集し、PHP の共有モジュールをロードするよう設定します。
ports がやってくれている
3. Apache が特定の拡張子のファイルを PHP としてパースするよう(httpd.conf を編集して)設定します。
<IfModule php5_module>
AddType application/x-httpd-php .php .phtml
</IfModule>
PHPマニュアルページ参照
PHP: Apache 2.0 (Unixシステム用) - Manual
#make install clean
Options for php5-5.2.1
_OPTIONS_READ=php5-5.2.1
WITH_CLI=true
WITH_CGI=true
WITH_APACHE=true
WITHOUT_DEBUG=true
WITH_SUHOSIN=true
WITH_MULTIBYTE=true
WITH_IPV6=true
WITH_MAILHEAD=true
WITHOUT_REDIRECT=true
WITHOUT_DISCARD=true
WITH_FASTCGI=true
WITH_PATHINFO=true
ports インストール後の調整作業
1. php.ini ファイルを設定する
#cd /usr/local/etc
#cp php.ini-dist php.ini
PHP の実行時設定を変更するには、.ini ファイルを編集します。
2. httpd.conf を編集し、PHP の共有モジュールをロードするよう設定します。
ports がやってくれている
3. Apache が特定の拡張子のファイルを PHP としてパースするよう(httpd.conf を編集して)設定します。
<IfModule php5_module>
AddType application/x-httpd-php .php .phtml
</IfModule>
PHPマニュアルページ参照
PHP: Apache 2.0 (Unixシステム用) - Manual
08 February 2007
フレッツスクエアへの接続方法
FreeBSDで,ADSL接続テストを使用としてサーバーを探していて見つけた,フレッツスクエアに接続して,FreeBSDのpppのテストを行った
FreeBSDでPPPoE複数セッション接続
ついでにNVIIIでの接続方法へのリンクも書いておく
ADSLモデム-NVIII
FreeBSDでPPPoE複数セッション接続
ついでにNVIIIでの接続方法へのリンクも書いておく
ADSLモデム-NVIII
04 February 2007
他のBlogツール
他のブログツールを探していて見つけたのでメモしておく
ITmedia エンタープライズ:主要Blog、CMSツール機能比較(2004年7月版)
いろいろなCMS 機能比較調査 :進むモジュール開発
Blogサービスについての機能比較もあり
ITmedia エンタープライズ:主要Blogサービス機能比較(2004年7月版)
ITmedia エンタープライズ:主要Blog、CMSツール機能比較(2004年7月版)
いろいろなCMS 機能比較調査 :進むモジュール開発
Blogサービスについての機能比較もあり
ITmedia エンタープライズ:主要Blogサービス機能比較(2004年7月版)
28 January 2007
コメントツリー表示を追加
26 January 2007
CSSの変更


左右のボックスを作成した場合,フッタ部分で回り込みが解除されていなかったので,.iteminfoにclear : both; を追加した
12 January 2007
探していた WinCVS1.2「表示位置の変更」コンボボックスの項目削除方法 があった
[cvs-jp-info 590] Re: Q: WinCVS1.2「表示位置の変更」コンボボックスの項目削除方法
http://www.wincvs.org/newfaq.htm#clean_combos
It's nice that WinCvs remembers all the entries I ever made into a combobox, but how can I purge the by-now obsolete items ?
In recent releases (1.3.x) you could simply press the [DEL] key, when on the item you want to delete. Removing the items from earlier versions requires some registry hacking as described in the following post from Bo Berglund regarding the combobox used for browse locations:
It is a bit tricky since you have to do it in the registry, but if you are willing to do it here is a stepthrough:
0) Close WinCvs if it is running!
1) Open RegEdit and go to HKEY_CURRENT_USER\Software\WinCvs\wincvs\CVS settings
2) open item P_BrowserLocs. It is a set of null terminated strings with the list of locations.
3) In the hex window mark the string you want to delete starting with the drive letter and ending with the NULL char.
4) Hit the delete button.
5) Edit the first byte in the item by decrementing by one (for each string deleted)
6) Click the OK button
7) Start WinCvs again and check that the offending location is gone.
Be careful when editing the registry!
http://www.wincvs.org/newfaq.htm#clean_combos
It's nice that WinCvs remembers all the entries I ever made into a combobox, but how can I purge the by-now obsolete items ?
In recent releases (1.3.x) you could simply press the [DEL] key, when on the item you want to delete. Removing the items from earlier versions requires some registry hacking as described in the following post from Bo Berglund regarding the combobox used for browse locations:
It is a bit tricky since you have to do it in the registry, but if you are willing to do it here is a stepthrough:
0) Close WinCvs if it is running!
1) Open RegEdit and go to HKEY_CURRENT_USER\Software\WinCvs\wincvs\CVS settings
2) open item P_BrowserLocs. It is a set of null terminated strings with the list of locations.
3) In the hex window mark the string you want to delete starting with the drive letter and ending with the NULL char.
4) Hit the delete button.
5) Edit the first byte in the item by decrementing by one (for each string deleted)
6) Click the OK button
7) Start WinCvs again and check that the offending location is gone.
Be careful when editing the registry!













Since 2006-06-06
