You could try playing around with the files:

config\global-web-application.xml
config\mime.types

If you manage to work it out using those files, can you let the list know?

Cheers,
Scott

>>> [EMAIL PROTECTED] 06/12/01 12:15am >>>
Well, you could probably use a filter to just that... Have the filter
trigger a servlet which reads the file and sets the content type.


Johan
----- Original Message -----
From: "Norbert Papke" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Monday, June 04, 2001 7:03 PM
Subject: NEWBIE: Default HTTP Content-Type


> I have just started to play around with the Orion server and am very
> impressed by it.  Installation and configuration was a snap, performance
> and footprint are great.  I have, however, noticed one ideosyncracy that I
> hope somebody will be able to help me with.
>
> I have some text files on my site that are part of a knowledge base.
> These files contain only ASCII characters, the excute permissions are not
> set, and the files do not have an extension.  The Orion server delivers
> these files with an HTTP content type set to "application/octet-stream".
> Apache delivers these same files with a content type of "text/plain".  The
> latter is preferable to me as it allows browsers to render the files.  Is
> there any way to change the content type that Orion uses to deliver these
> files?
>
> Please note that changing the files (either by converting them to html or
> adding a file extension) is not really an option.
>
> Best regard,
>
> -- Norbert Papke.
>    [EMAIL PROTECTED] 
>
>





-----------------------------------------------------------
This e-mail is solely for the use of the intended recepient
and may contain information which is confidential or
privileged. Unauthorised use of its contents is prohibited.
If you have received this e-mail in error, please notify 
the sender immediately via e-mail and then delete the 
original e-mail.
-----------------------------------------------------------

Reply via email to