At 16:18 02.05.2002, Viljo Marrandi wrote:
> >     return DECLINED if $r->content_type && $r->content_type !~ m|^text/|i;
>
>I tried that, but no luck - $r->content_type is just plain empty, don't
>know why. Maybe i can somehow debug or track this content_type and figure
>out, why it's empty? First lines in My::Site look like this:

Try logging it for each request and try different URLs.

>   return DECLINED if $r->content_type && $r->content_type !~ m|^html/|i;
>...
>
>In regexp i changed 'text' to 'html', because css's are text/css type.

That slash is wrong. The content type for HTML is text/html, it doesn't 
start with html/


-- 
Per Einar Ellefsen
[EMAIL PROTECTED]


Reply via email to