Re: OWAS and MIME-Types

From: Marc Fleischeuers <Marc.Fleischeuers_at_kub.no-spam.nl>
Date: 26 Aug 1998 10:10:01 +0200
Message-ID: <ur9y4noyu.fsf_at_kub.nl>


Werner Rammer <w.rammer_at_lgsoft.at> writes:

[..]
> Two questions:
> Is it possible to somehow "mask" the "Filename" (the browser gets the
> procedures name and it would be quite stupid to create packages and
> procs with names like <xls> or <doc>....)? (maybe with http-header
> commands???)

You mean when you use 'Save as' in the browser? I have used an ows cartridge that generated the filename in the PATH_INFO component of the url. E.g., the url in the html-page looked like <a href="/owa/package.proc/spreadem.xls?param1=duh">Click here to view my spread sheet</a>

> I think the Oracle Webserver Listener has problems with MIME-Types that
> are not registered in the Mime-type configuration - is there a fix for
> it or do I have to reconfigure the Listener each time a new MIME-Type
> comes around? (I guess it is only a simple string in the
> http-header...)?

Why don't you just register the mime-types? There are fairly comprehensive lists available, just include them in $OWS_HOME/admin/svSERVERNAME.cfg.

Marc

-- 
                     "Het hoeft nietsch te zijn, alsch het maer wat lijckt"
                                           Dutch proverb, late 20th century
Received on Wed Aug 26 1998 - 10:10:01 CEST

Original text of this message