일단 문제는 MySQL 디비에 대한 접속 문제가 맞는 것 같습니다.
혹시 nobody 를 디비 사용자로서 등록 시켜 줘 보셨는지요.
그리고 나서 grant all on http_auth.* to nobody@localhost; 이런식으로 grant를 주시고 다시 해 보시기 바랍니다.
> 이런 error가 나고요..
> [Mon Jul 17 13:39:12 2000] [error] MySQL query failed: select passwd from mysql_auth where user
> name='jsw'
> [Mon Jul 17 13:39:12 2000] [error] MySQL failure reason: Access denied for user: '@localhost' t
> o database 'http_auth'
> 그리고 httpd.conf file의 내용은
> <Directory "/www/htdocs/shop">
> Options All
> AllowOverride AuthConfig
> Order Allow,deny
> Allow from all
> AuthName "mySQL mod_auth"
> AuthType basic
> Auth_MySQL_DB http_auth
> Auth_MySQL_Password_Table mysql_auth
> Auth_MySQL_Group_Table mysql_auth
> Auth_MySQL_Username_Field username
> Auth_MySQL_Password_Field passwd
> Auth_MySQL_Group_Field groups
> Auth_MySQL_Empty_Passwords Off
> Auth_MySQL_Encryption_Types MySQL
> Auth_MySQL_Encrypted_Passwords On
> Auth_MySQL_Scrambled_Passwords On
> Auth_MySQL On
> <LIMIT GET POST>
> require valid-user
> </LIMIT>
> </Directory>
> 입니다.
> 아무리 생각해도 apache에서 mysql에 접속권한의 문제인것 같은데 잘 모르겠네요..
|