mod_cdbmod_cdb obtains the contents from a cdb file. | |
Download |
mod_cdb Ranking & Summary
Advertisement
mod_cdb Tags
mod_cdb Description
mod_cdb obtains the contents from a cdb file. mod_cdb obtains the contents from a cdb file.It is suitable for handling thousands of small files.BUILD:1. Get djb's cdb package from http://cr.yp.to/cdb.html2. Extract and build it.3. Edit ./Makefile to make it point the Apache installed directory and the cdb directory (I suppose cdb-0.75).4. $ make installUSE:Add this to the httpd.conf:LoadModule cdb_module modules/mod_cdb.so < Location /path1 > SetHandler cdb CDBSource /somewhere/data1.cdb text/html < /Location >When URI http://yourhost/path1/abc is accessed, the server tries to obtain the contents from the cdb file /somewhere/data1.cdb by the key "abc", with the predefined mimetype "text/html". Requirements: · cdb-0.75 · Apache
mod_cdb Related Software