You'd better use plain text messages in newsgroups.
And you should use English.
Here is the document
http://www.postgresql.org/docs/8.1/interactive/client-authentication.html.
You can try with the lines in "Example 20-1. Example pg_hba.conf entries".
(Your pg_hba.conf is not correct.)
Steps:
1. Fix your pg_hba.conf according to the document mentioned above.
2. Use psql to test if you can connect to the database server.
If not, goto step 1, else goto step 3.
3. Use your application to run tests.
> ""qinyan"" <12315_qin(at)163(dot)com>
> wrote
......
With regards,
William ZHANG