[dev] [discuss] Viewing docs with images via wvHtml

Tom Evans tevans at tachometry.com
Tue Sep 13 13:35:57 PDT 2005


Jan Schneider wrote:

>Zitat von Tom Evans:
>
>  
>
>>I have put together a patch for the msword MIME viewer (attached) that
>>allows a system administrator to optionally configure Horde to serve up
>>these images. Two new configuration options (blank by default for BC)
>>have been added to the "Images" setup tab to define a directory and
>>corresponding URL/path for serving the images produced by wvHtml. 
>>    
>>
>
>As this solution requires a certain web server configuration anyway, 
>you could as well use the solution from 
>http://wiki.horde.org/GraphicswvHtml
>
>Jan.
>  
>
OK - I agree that the rewrite solution will work. However, it seems
there are a few drawbacks to that approach that the MIME driver patch
would resolve:

1) Platform portability - the mod_rewrite is convenient only for Apache
web servers (additional plugins/cost to support other platforms),
whereas the patch should work for all containers;

2) Ongoing maintenance - a new rewrite rule would need to be constructed
for each Horde application wanting to use the wvHtml engine (e.g. imp,
gollem, wicked, whups, etc.). By updating the underlying msword
component all these components gain the benefit of a single reusable
solution;

3) Accessibility - some virtual hosting environments put limits on the
access and/or use of Apache configuration directives, and mod_rewrite in
particular, but it's relatively easy for a web admin to setup (and
secure) a directory for this purpose;

4) Consistency - the Horde administration interface provides a
convenient and consistent platform for configuring the application
without needing to know too much about the underlying container;

5) Impact - this is a very small patch that rounds out an existing nice
feature without too much fuss.

In any case, I appreciate the opportunity to plead my case on this one,
but of course I'm willing to go along with the rest of the team. Have I
been able to persuade anyone to consider adopting my patch for the
msword MIME driver?

Tom



More information about the dev mailing list