|
Hello Peter, You wrote: > Still not good for surfing, but I can work around that. text/plain is assumed by the server when it has no additional information about the file. You can provide that information in the configuration file which is described in the AddType section of HTTP configuration file (more detail is provided in the HTTP Server for OS/400 WebMaster's Guide also). Here is the relevant section from CONFIG. Add your own definition for wml. For example: AddType .wml text/vnd.wap.wml 8bit #------------------------------------------------------ # *** AddType *** # # To bind files with a particular suffix to a MIME # type/subtype, use AddType. Multiple occurrences # are allowed. AddType .java text/plain binary 1.0 AddType .html text/html 8bit 1.0 AddType .htm text/html 8bit 1.0 AddType .gif image/gif binary AddType .jpg image/jpeg binary #------------------------------------------------------ Regards, Simon Coulter. -------------------------------------------------------------------- FlyByNight Software AS/400 Technical Specialists http://www.flybynight.com.au/ Phone: +61 3 9419 0175 Mobile: +61 0411 091 400 /"\ Fax: +61 3 9419 0175 mailto: shc@flybynight.com.au \ / X ASCII Ribbon campaign against HTML E-Mail / \ --------------------------------------------------------------------
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.