Re: Mod_auth_pgsql On Jun 6, 6:42 pm, nobul...@gmail.com (Nobul...@Gmail.Com) wrote:
> On Jun 6, 2:19 pm, almatir...@gmail.com (Alma) wrote:
>
> [ a question ]
>
> I suggest anyone considering trying to help take a look first at the
> OP's posting history.
>
> http://groups.google.com/groups/profile?enc_user=YxbXgBQAAAD5iljsKET1...

Hi All ,

I could set the mod_auth_pgsql for my site.

1.emerge mod_auth_pgsql
2.edit /etc/conf.d/apache2 to include " -D AUTH_PGSQL" in APACHE2_OPTS
3. edit .conf  file and modify the file
as foloows


SetHandler perl-script
PerlHandler HTML::Mason::ApacheHandler
Authname " Authentication"
Authtype basic
Auth_PG_user test
Auth_PG_database testdb
Auth_PG_pwd_table users
Auth_PG_uid_field username
Auth_PG_pwd_field passwd
Auth_pg_encrypted off
require valid-user


It worked for me hope it will also for u.





-- 
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/


