|
From: Chris W. <ch...@cw...> - 2002-05-07 20:41:28
|
On Tue, 2002-05-07 at 16:27, Mike Melillo wrote:
> Yeah now I cant bind to port 80 so the server won't stay
> up...everything's going wrong.
At this point, I'd just try and create a simple mod_perl handler that
generates some content that refers to an image. Like:
----------
package My::Foo;
use Apache::Constants qw( OK );
sub handler {
my ( $r ) = shift;
$r->send_http_header( 'text/html' );
$r->print( qq(<p>Hi</p><img src="/images/oi_logo.gif">) );
return OK;
}
1;
----------
Then refer to it in your conf:
----------
<Location />
SetHandler perl-script
PerlHandler My::Foo
</Location>
----------
And see what happens.
Chris
--
Chris Winters (ch...@cw...)
Building enterprise-capable snack solutions since 1988.
|