Installation guide

186 Chapter 14. Apache HTTP Server
Action dbmmanage command
(Apache 1.3)
Equivalent htdbm
command (Apache 2.0)
Add user to database (using
given password)
dbmmanage authdb add
username password
htdbm -b -TDB authdb
username password
Add user to database (prompts
for password)
dbmmanage authdb
adduser username
htdbm -TDB authdb
username
Remove user from database dbmmanage authdb delete
username
htdbm -x -TDB authdb
username
List users in database dbmmanage authdb view htdbm -l -TDB authdb
Verify a password dbmmanage authdb check
username
htdbm -v -TDB authdb
username
Table 14-1. Migrating from dbmmanage to htdbm
The -m and -s options work with both dbmmanage and htdbm, enabling the use of the MD5 or SHA1
algorithms for hashing passwords, respectively.
When creating a new database with htdbm, the -c option must be used.
For more on this topic, refer to the following documentation on the Apache Software Foundation’s
website:
http://httpd.apache.org/docs-2.0/mod/mod_auth_dbm.html
14.2.4.5. The mod_perl Module
The configuration for mod_perl has been moved from httpd.conf into the file
/etc/httpd/conf.d/perl.conf. For this file to be loaded, and hence for mod_perlto work, you
must have the statement Include conf.d/*.conf in your httpd.conf as described in Section
14.2.1.3.
Occurances of Apache:: in your httpd.conf must be replaced with ModPerl::. Additionally, the
manner in which handlers are registered has been changed.
This is a sample Apache HTTP Server 1.3 mod_perl configuration:
Directory /var/www/perl
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
/Directory
This is the equivalent mod_perl for Apache HTTP Server 2.0:
Directory /var/www/perl
SetHandler perl-script
PerlModule ModPerl::Registry
PerlHandler ModPerl::Registry::handler
Options +ExecCGI
/Directory
Most modules for mod_perl 1.x should work without modification with mod_perl 2.x. XS modules
will require recompilation and may possibly require minor Makefile modifications.