Png jpg logo

That’s because your small image has no strings that are trippin
Mason processing. If you fix your Apache config then large
images will work too.

Let’s see your apache config.

-ToddOn Wed, Aug 16, 2006 at 12:19:54PM -0700, David Smithson wrote:

Yes. Other (smaller) PNG images work. Not sure what the upper limit is, but I reduce the size of the image down to 3k, it works.

David Smithson wrote:

Yes. Other (smaller) PNG images work. Not sure what the upper limit is, but I reduce the size of the image down to 3k, it works.

The autohandler copies the selected file over after setting the
content_type.
The codes does
local $/ = \16384;
$m->out($_) while (<$fh>);

shouldn’t that be
local $/ = undef;
$m->out($_) while (<$fh>);

?

Jeff Voskamp

Ok, this sh!t aint workin’ for me. What the ‘F’ am I doing wrong?
Here’s my Apache conf:

<VirtualHost *:80>
ServerName rtdev.activsupport.com
DocumentRoot /opt/rt3-dev/share/html
AddDefaultCharset UTF-8

ExpiresActive On
ExpiresByType text/css A3600
ExpiresByType image/png A3600
ExpiresByType application/x-javascript A3600
ExpiresByType image/gif A3600

PerlModule Apache::DBI
PerlOptions +Parent
PerlRequire /opt/rt3-dev/bin/webmux.pl

<Location /NoAuth/images >
SetHandler default-handler

<Location />
 SetHandler perl-script
 PerlHandler RT::Mason
</Location>

David Smithson

CLICK HERE FOR ONLINE SUPPORTFrom: Todd Chapman [mailto:todd@chaka.net]
Sent: Wednesday, August 16, 2006 12:29 PM
To: David Smithson
Cc: Jesse Vincent; der Mouse; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] PNG JPG LOGO

That’s because your small image has no strings that are trippin
Mason processing. If you fix your Apache config then large
images will work too.

Let’s see your apache config.

-Todd

Yes. Other (smaller) PNG images work. Not sure what the upper limit
is, but I reduce the size of the image down to 3k, it works.

Does the order of affect things? Try putting
images after /.On Wed, Aug 16, 2006 at 02:30:14PM -0700, David Smithson wrote:

Ok, this sh!t aint workin’ for me. What the ‘F’ am I doing wrong?
Here’s my Apache conf:

<VirtualHost *:80>
ServerName rtdev.activsupport.com
DocumentRoot /opt/rt3-dev/share/html
AddDefaultCharset UTF-8

ExpiresActive On
ExpiresByType text/css A3600
ExpiresByType image/png A3600
ExpiresByType application/x-javascript A3600
ExpiresByType image/gif A3600

PerlModule Apache::DBI
PerlOptions +Parent
PerlRequire /opt/rt3-dev/bin/webmux.pl

<Location /NoAuth/images >
SetHandler default-handler

<Location />
 SetHandler perl-script
 PerlHandler RT::Mason
</Location>

David Smithson


CLICK HERE FOR ONLINE SUPPORT

-----Original Message-----
From: Todd Chapman [mailto:todd@chaka.net]
Sent: Wednesday, August 16, 2006 12:29 PM
To: David Smithson
Cc: Jesse Vincent; der Mouse; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] PNG JPG LOGO

That’s because your small image has no strings that are trippin
Mason processing. If you fix your Apache config then large
images will work too.

Let’s see your apache config.

-Todd

On Wed, Aug 16, 2006 at 12:19:54PM -0700, David Smithson wrote:

Yes. Other (smaller) PNG images work. Not sure what the upper limit
is, but I reduce the size of the image down to 3k, it works.

Taking the suggestion off list from a helpful RT user and member of the
Frobozz Magic Apache Configuration Consortium, I reversed the order of
the Location blocks. Of course! This worked.

David Smithson

CLICK HERE FOR ONLINE SUPPORTFrom: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of David
Smithson
Sent: Wednesday, August 16, 2006 2:30 PM
To: Todd Chapman
Cc: der Mouse; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] PNG JPG LOGO

Ok, this sh!t aint workin’ for me. What the ‘F’ am I doing wrong?
Here’s my Apache conf:

<VirtualHost *:80>
ServerName rtdev.activsupport.com
DocumentRoot /opt/rt3-dev/share/html
AddDefaultCharset UTF-8

ExpiresActive On
ExpiresByType text/css A3600
ExpiresByType image/png A3600
ExpiresByType application/x-javascript A3600
ExpiresByType image/gif A3600

PerlModule Apache::DBI
PerlOptions +Parent
PerlRequire /opt/rt3-dev/bin/webmux.pl

<Location /NoAuth/images >
SetHandler default-handler

<Location />
 SetHandler perl-script
 PerlHandler RT::Mason
</Location>

David Smithson

CLICK HERE FOR ONLINE SUPPORT

From: Todd Chapman [mailto:todd@chaka.net]
Sent: Wednesday, August 16, 2006 12:29 PM
To: David Smithson
Cc: Jesse Vincent; der Mouse; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] PNG JPG LOGO

That’s because your small image has no strings that are trippin
Mason processing. If you fix your Apache config then large
images will work too.

Let’s see your apache config.

-Todd

Yes. Other (smaller) PNG images work. Not sure what the upper limit
is, but I reduce the size of the image down to 3k, it works.

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com