PostgreSQL OpenSource Database

5.2 Basic Authorization

5.1 Database Replication [  up  ] - [ TOC ] - [ A - Z ] 5.3 Debugging PostgreSQL

Sample in httpd.conf

        <Directory /var/www/html/homelinux/alshop/test>
                Auth_PG_host localhost
                Auth_PG_port 5432
                Auth_PG_database auctionline
                Auth_PG_pwd_table users
                Auth_PG_uid_field email
                Auth_PG_pwd_field password
                Auth_PG_encrypted off   # Because we need to send the PW by email
                AuthName Auctionline_Member_Area
                AuthType basic
                require valid-user
                # X ErrorDocument 401
/public-bin/nph-errordocument.dbc?realm=Auctionline_Member_Area
                ErrorDocument 401 /alshop/error401.cgi
        </Directory>




copyright by reto - created with mytexi
$Id: basic-authorization.html,v 1.36 2007/03/07 08:41:03 webcms Exp $