How about trying: return DECLINED unless $r->is_initial_req;
Image calls are not initial requests, they are sub requests. --Jon Robison "R.Munden" wrote: > > I've a script (controlled by a <Location> directive) that wraps a standard > header and footer around an HTML page > > I've this at the top of my script: > > my $r = shift; > return DECLINED unless ($r->content_type() eq 'text/html'); > > but any images that may be inline never make it to the browser (also, if I > explicitly call the image in question it never makes it to the browser). > > Apache gives a 200 status code for these requests in the access log but > Netscape 6.2 just sits there and IE returns a 'Cannot find server...' error. > > Any ideas, where to start looking, etc.? > > --rjm-- -- Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.)