Sophie

Sophie

distrib > * > 2010.0 > * > by-pkgid > 4f19e15c5035791a7df10b788a76e936 > files > 8

apache-mod_chm-0.3.1-11mdv2010.0.i586.rpm

mod_chm is an apache2 module that gives you possibility to explore files 
in CHM format. mod_chm uses chmlib by Jed Wing (http://66.93.236.84/~jedwin/projects/chmlib/) 
to access CHM files. mod_chm is distributed under GPL license.

To install:
./configure --with-apxs2=/path/to/dir/with/apxs2
make
make install

Add the following lines to apache2 configuration file:

LoadModule chm_module         lib/apache2/modules/mod_chm.so
AddType text/chm .chm

Restart apache.
After that you can read CHM file content in your browser by supplying
links to CHM files on web server, like http://you.server/sample.chm or
http://you.server/sample.chm/ .