On Thu, Jul 05, 2001 at 03:21:12PM +0100, Paul Sharpe wrote:
> Here's my handler...
>
> package Foo::Test;
> use strict;
> use warnings;
> use Apache::Constants qw(:common HTTP_OK);
>
> sub handler {
> my $r = shift;
> my $uri = 'foo.html';
> $r->content_type('text/plain');
> $r->send_http_header;
> $r->lookup_uri($uri);
Try: my $s = $r->lookup_uri($uri);
> $r->print("lookup_uri($uri) status = ",$r->status,"\n");
Try: $s->status
> }
>
> 1;
- lookup_uri() returns 200 when 404 expected Paul Sharpe
