tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Britton" <Christian.Brit...@pwgsc.gc.ca>
Subject RE: Bad mime types on Tomcat 3.3 on Red Hat Linux 7.02
Date Fri, 23 May 2003 18:32:14 GMT
Tried that, didn't work.

Here's what the HTTP HEADER says:
HTTP/1.0 200 OK
Content-Type: text/plain
Content-Length: 2080540
Last-Modified: Thu, 22 May 2003 14:28:17 GMT
Date: Fri, 23 May 2003 17:30:01 GMT
Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; Servlet 2.2; Java 1.3.1_01; L
inux 2.4.7-10 i386; java.vendor=Sun Microsystems Inc.)

Christian Britton
Analyst/Developer
CMS 2.1 Technical Development Team
tel. (819) 956-9880
Christian.Britton@pwgsc.gc.ca


-----Original Message-----
From: Larry Isaacs [mailto:Larry.Isaacs@sas.com]
Sent: May 23, 2003 2:18 PM
To: Tomcat Users List
Subject: RE: Bad mime types on Tomcat 3.3 on Red Hat Linux 7.02


Try #3 in the WEB-INF/web.xml of the webapp containing the
content.

Note: Tomcat 3.3 hasn't contained a tomcat/conf/web.xml for
a very long time, long before any release.  I'm not sure
where yours came from.

Cheers,
Larry


> -----Original Message-----
> From: Christian Britton [mailto:Christian.Britton@pwgsc.gc.ca] 
> Sent: Friday, May 23, 2003 1:50 PM
> To: tomcat-user@jakarta.apache.org
> Cc: Francois Plourde (J)
> Subject: Bad mime types on Tomcat 3.3 on Red Hat Linux 7.02
> Importance: High
> 
> 
> Hi all,
> I've been trying to add the Lotus Word Pro (lwp) mime type to 
> Tomcat without succes... Everytime I download a physical LWP 
> file from the web server, I get the HTTP CONTENT TYPE as 
> "text/plain". I've tried the following:
> 
> 1) Adding the entry "application/vnd.lotus-wordpro   lwp" in 
> "etc/mime.types" of Red Hat
> 2) Adding the entry "AddType application/vnd.lotus-wordpro 
> .lwp" in "tomcat/conf/tomcat-apache.conf"
> 3) Adding the entry "<mime-mapping>
>                                 <extension>
>                                   lwp
>                                 </extension>
>                                 <mime-type>
>                                   application/vnd.lotus-wordpro
>                                 </mime-type>
>                               </mime-mapping>" in 
> "tomcat/conf/web.xml"
> 
> 
> I'm all out of ideas.  :o(
> 
> Christian Britton
> Analyst/Developer
> CMS 2.1 Technical Development Team
> tel. (819) 956-9880
> Christian.Britton@pwgsc.gc.ca
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message