186
Chapter 14. Apache HTTP Server
Action
dbmmanage command
Equivalent htdbm
(Apache 1.3)
command (Apache 2.0)
Add user to database (using
dbmmanage authdb add
htdbm  b  TDB authdb
given password)
username password
username password
Add user to database (prompts
dbmmanage authdb
htdbm  TDB authdb
for password)
adduser username
username
Remove user from database
dbmmanage authdb delete
htdbm  x  TDB authdb
username
username
List users in database
dbmmanage authdb view
htdbm  l  TDB authdb
Verify a password
dbmmanage authdb check
htdbm  v  TDB authdb
username
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_perl
to 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.






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

tomcat hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Inexpensive Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Jsp Hosting Cheap Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved