mod_auth_sqlite 0.12 review

Download
by rbytes.net on

mod_auth_sqlite module provides Apache user authentication using SQLite

License: The Apache License
File size: 4K
Developer: Tomohiro IKEBE
0 stars award from rbytes.net

mod_auth_sqlite module provides Apache user authentication using SQLite. SQLite is a SQL Database Engine In a C Library.

Requirements:
Apache

Installation:

1) Install SQLite.
See http://www.hwaci.com/sw/sqlite/ for details.

2) Make mod_auth_sqlite as a DSO module.
modify your Makefile.
INC, LIB and apxs path.

% make
# make install

CREATE TABLES

The Default Tables are below.

CREATE TABLE htpasswd (
user CHAR(16) NOT NULL PRIMARY KEY,
passwd CHAR(16) NOT NULL
);

CREATE TABLE htgroup (
groupname CHAR(16) NOT NULL,
user CHAR(16) NOT NULL
);

CREATE UNIQUE INDEX htgroup_uniq_idx ON htgroup(groupname, user);

CONFIG EXAMPLE

< Directory /path/to/secrete_area >
AuthName SQLiteAuth
AuthType basic
AuthSQLiteUserDB /path/to/your_database

# ...

require valid-user
< /Directory >

You also use these directives. in your .htaccess

mod_auth_sqlite 0.12 keywords