Notes on Apache Setup/Config

Apache MySQL Authentication

Check out the python management script here

Sql for DB Table

CREATE TABLE `mysql_auth` (
  `username` char(25) NOT NULL,
  `passwd` char(255) DEFAULT NULL,
  `groups` char(25) DEFAULT NULL,
  PRIMARY KEY  (`username`)
) ENGINE=MyISAM

Config options

httpd.conf

    Auth_MySQL_Info localhost apache MelJun!#
    Auth_MySQL_General_DB apache

in the .htaccess or in the Location/Directory

    AuthName "Server Status"
    AuthType Basic
    require valid-user
    #OR
    #require user bill fred jane
 
    Auth_MySQL_Encryption_Types PHP_MD5
 
linux/application.notes/apache.txt · Last modified: 14:41 14/07/2007 (external edit)