webinterface for mgetty+sendfax+...

Frank D. Cringle (fdc@cliwe.ping.de)
25 May 1997 11:27:17 +0200


neko@greenie.muc.de (Simone Demmel) writes:
> [ wants a web interface to view faxes ]

Here is a quick and dirty solution for those blessed with suitable
free software (apache on the server-side, viewfax on the
client-side).

Add these statements to the server config (e.g. in srm.conf)

 Alias /fax/ /var/spool/fax/incoming/
 <Directory /var/spool/fax/incoming>
 DefaultType image/g3fax
 # Authorization directives go here too, if desired
 </Directory>

HUP the server and make sure it has read-access to
/var/spool/fax/incoming/*

Make your browser call viewfax to display mime-type image/g3fax. In
netscape I have this in Options->GeneralPreferences->Helpers:
 image/g3fax /usr/local/bin/viewfax -g+5+23 %s

Opening http://www.dom.ain/fax/ shows a directory listing, clicking on
a file brings it up in a viewfax window.

We don't need no steenking java!

-- 
Frank Cringle, fdc@cliwe.ping.de
voice: (+49 2304) 467101; fax: 943357
.