AuthPG

AuthPG is a PostgreSQL Authentication Module.
Download

AuthPG Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Min Sik Kim
  • Publisher web site:

AuthPG Tags


AuthPG Description

AuthPG is a PostgreSQL Authentication Module. AuthPG is a PostgreSQL Authentication Module.PostgreSQL Authentication Module (AuthPG) enables Apache to authenticate users with the information stored in PostgreSQL database. This module gets a username and password pair in the standard way or from a cookie, and you can choose your preferred method.Usage:There are two ways to use mod_auth_pg. The one is to make .htaccess file in the directory which requires user authentication, and the other is to edit httpd.conf..htaccessApache doesn't recognize .htaccess at default. You must edit httpd.conf to enable .htaccess. Open httpd.conf and you will find the line < Directory /any/path >. Between < Directory /any/path > and < /Directory > there is a line which starts with AllowOverride.The value of this item should contain AuthConfig or All. Edit and save it. Now restart Apache or give the signal with kill to reload httpd.conf. Open .htaccess in the directory requiring user authentication, and write whatever directives you need. AuthName my_authAuthType BasicAuthPGHost my.database.serverAuthPGDatabase my_dbAuthPGUserTable user_tablerequire valid-userIf you specify the name of host after AuthPGHost directive, Apache will try to connect to PostgreSQL using internet domain socket, which means you should run postmaster with -i option, and edit configuration file to allow this type of access. When omit AuthPGHost directive, postmaster and httpd should run on the same machine. Consult mod_auth_pg.html for the usage of each directive. Requirements: · PostgreSQL · Apache HTTP Server


AuthPG Related Software