[Rt-devel] Invalid content/type for NoAuth/webrtfm.css

Dmitry Sivachenko mitya at cavia.pp.ru
Thu Sep 28 09:55:18 EDT 2006


On Thu, Sep 28, 2006 at 09:46:07AM -0400, Jesse Vincent wrote:
> 
> 
> 
> On Thu, Sep 28, 2006 at 05:37:00PM +0400, Dmitry Sivachenko wrote:
> > Hello!
> > 
> > RT-3.6.1:
> 
> What version of RTFM are you running?


2.2.0RC2.


> 
> > $ HEAD -S http://localhost/NoAuth/webrtfm.css
> > HEAD http://localhost/NoAuth/webrtfm.css --> 200 OK
> > Connection: close
> > Date: Thu, 28 Sep 2006 13:35:08 GMT
> > Server: Apache/1.3.37 (Unix) mod_perl/1.29 mod_ssl/2.8.28 OpenSSL/0.9.7d-p1
> > Content-Type: text/html; charset=utf-8
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > 
> > Firefox, for instance, refuses to load stylesheet unless it's content-type is
> > text/css.
> > 
> > It seems you should add the following code to the bottom of webrtfm.css
> > to fix the issue:
> > 
> > <%init>
> > $r->content_type('text/css');
> > </%init>
> > 
> > Thanks!
> > _______________________________________________
> > List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
> > 
> 
> -- 


More information about the Rt-devel mailing list