Re: image corruption

2002-02-06 Thread Tim Noll
From: "Lyle Brooks" <[EMAIL PROTECTED]> To: "Tim Noll" <[EMAIL PROTECTED]> Cc: "Lyle Brooks" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, February 05, 2002 5:54 PM Subject: Re: image corruption > > Ok, a couple of things

Re: image corruption

2002-02-05 Thread Lyle Brooks
gt; > > - Original Message - > From: "Lyle Brooks" <[EMAIL PROTECTED]> > To: "Tim Noll" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Tuesday, February 05, 2002 4:42 PM > Subject: Re: image corruption > > > > When

Re: image corruption

2002-02-05 Thread Tim Noll
EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, February 05, 2002 4:42 PM Subject: Re: image corruption > When I try this example, I find that this line > > > my $file = $r->path_info; > > will set $file to "/index.html" when I request the URL /tt/index

Re: image corruption

2002-02-05 Thread David Ranney
Another obvious option would be to put your images in a different directory, e.g. /images rather than /tt/images. Or, add another directive for /tt/images, and set the handler to the default handler. -Dave

Re: image corruption

2002-02-05 Thread Lyle Brooks
When I try this example, I find that this line > my $file = $r->path_info; will set $file to "/index.html" when I request the URL /tt/index.html which leads to an error message that says, reason: file error - /index.html: absolute paths are not allowed (set ABSOLUTE option) You may want to c

Re: image corruption

2002-02-05 Thread John Kelly
Tim, I don't know a lot about mod_perl, but I would guess you may want to look at invoking a subrequest via lookup_file or lookup_uri. E.g. my $ct = $r->lookup_uri('images/logo.tif')->content_type; regards John John Kelly IBM Hursley "Tim Noll" <[EMAIL PROTECTED]> 05/02/2002 12:21