Hi,

Here's a link that you can use:
http://www.giuseppetanzilli.it/mod_auth_pgsql2/

Needless to say, you need to have
libapache2-mod-auth-pgsql - Module for Apache2 which provides pgsql
authentication
installed

shashi

On 5/27/07, Tom Allison <[EMAIL PROTECTED]> wrote:

I would like to set up my auth mechanism for apache through postgresql.

I picked up the .deb for it.  But I'm not sure about the .htpassword
idea.


I currently use a flat file for authentication.
I loaded it under the default virtual host as follows (I'm not sure
that this is the best place to put it, but it works and yes I want
the entire site to be protected.


<VirtualHost *>
     ServerAdmin [EMAIL PROTECTED]

     DocumentRoot /var/www/
     <Directory />
         Options FollowSymLinks
         AllowOverride None
         AuthType Basic
         AuthName "Just Email"
         AuthUserFile /etc/apache2/justemail_passwd
         Require valid-user



Is this enabling of postgres authentication just a matter of
replacing these Auth related directives herein with the relevant
directives for PSQL?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]




--
- Shashishekhar S

Reply via email to