DB認証

.htaccessファイル pgsql 残念ながら動かなくなりました AuthName "Please Enter Your Password)" Authtype Basic require valid-user Auth_PG_host 127.0.0.1 Auth_PG_port 5432 Auth_PG_database webauth(DB名) Auth_PG_user DBuser名 Auth_PG_pwd userパスワード Auth_PG_pwd_table usr_pwd(table名) Auth_PG_uid_field name(idのフィールド名) Auth_PG_pwd_field pass(passwordのフィールド名) mysql AuthName "mod_auth_mysql(id=guest pw=password)" AuthType Basic require valid-user AuthMySQLHost localhost AuthMySQLDB ユーザファイルのDB名 AuthMySQLUser user名 AuthMySQLPassword password AuthMySQLUserTable ユーザファイルのtable名 AuthMySQLNameField idのフィールド名 AuthMySQLPasswordField passwordのフィールド名(パスワードはCRYPTで) AuthMySQLEnable On 


[ホームページに戻る]  [Linux(Fedora)に戻る]