[pgsql-jp: 32612] Re: mod_auth_pgsql でキャンセルを押した時の動作

SAITO Masaru daisaito @ lares.dti.ne.jp
2004年 3月 29日 (月) 18:14:45 JST


齋藤@横浜です。

202004/03/29 12:38:03 ごろ
"Tanaka" <tanaka @ elcom.co.jp> さんは
"[pgsql-jp: 32604] mod_auth_pgsql でキャンセルを押した時の動作"の件について
以下のように書きました

> 
> 初めまして、田中と申します。
> 
> mod_auth_pgsql で認証をおこなっているのですが、
> キャンセルを押した時、
> 
> 「Authorization Required
> This server could not verify that you are authorized to access the document
> requested. Either you supplied the wrong credentials (e.g., bad password),
> or your browser doesn't understand how to supply the credentials required.
>  」
> 
> の画面ではなく、指定したページに飛ばしたいのですが何か方法はありますでしょう
> か?

apacheのErrorDocument 401 を利用すると希望の動作をすると思われます。
参考: http://httpd.apache.org/docs-2.0/ja/custom-error.html

# 本当は、この質問の内容はPostgreSQLとは全く関係ないんですが。。


---
SAITO Masaru <daisaito @ lares.dti.ne.jp>




pgsql-jp メーリングリストの案内