[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache auth pgsql




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 <tom@tacocat.net> 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 webmaster@localhost

     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 debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org




--
- Shashishekhar S
Reply to: