Loading...
 
Skip to main content

Architecture / Installation


CHM and Tiki

posts: 14

I'd like to integrate browsing and downloading of .CHM (MS compiled HTML help) files with tiki. I have the browsing and downloading part solved by using the excellent arCHMage (http://archmage.sf.net). However, if I place the .CHM files in the tiki file gallery, apache has (of course) no idea that it should invoke archmage as the handler.

Has anyone else had a similiar problem and made it work? Does anyone know a better way to integrate .CHM files with tiki?

posts: 2881 United Kingdom

Hi,

You would more than likely need to mod your httpd.conf or a .htaccess to tell apache about those CHM files.

Damian

posts: 14

> Damian:
> You would more than likely need to mod your httpd.conf or a .htaccess to tell apache about those CHM files.

Yes you do. I've done it and it works well for .CHM files that just reside on the webserver outside of tiki. However, if you place the files in the tiki file gallery you can download them, but can never browse into them. apache doesn't realise that it should invoke the .CHM handler because the files are stored to disk with a filename of '3837374354' or similiar by tiki.

I think the only proper solution to this is for me to have a go at writing a feature for tiki that allows you download and browse into .CHMs.


posts: 14

> Damian:
> You would more than likely need to mod your httpd.conf or a .htaccess to tell apache about those CHM files.

Yes you do. I've done it and it works well for .CHM files that just reside on the webserver outside of tiki. However, if you place the files in the tiki file gallery you can download them, but can never browse into them. apache doesn't realise that it should invoke the .CHM handler because the files are stored to disk with a filename of '3837374354' or similiar by tiki.

I think the only proper solution to this is for me to have a go at writing a feature for tiki that allows you download and browse into .CHMs.