[Catalyst] serving static files

Octavian Rasnita orasnita at gmail.com
Wed Jan 10 21:36:21 GMT 2007

Ok, thanks for suggestion.
Unfortunately I don't know how to use a proxy - reverse proxy server at all, 
so I'll need to also learn that.


----- Original Message ----- 
From: "Perrin Harkins" <perrin at elem.com>
To: "The elegant MVC web framework" <catalyst at lists.rawmode.org>
Sent: Wednesday, January 10, 2007 10:33 PM
Subject: Re: [Catalyst] serving static files

> On Wed, 2007-01-10 at 22:20 +0200, Octavian Rasnita wrote:
>> I guess that authorizing the users, then read() -ing the selected file 
>> and
>> serving to the browser is not very efficient, especially under mod_perl.
>> Is there a better way?
> Yes.  Writing an auth handler and then letting the normal handler deal
> with serving the file is more efficient than that.  The most efficient
> is using mod_auth_tkt on your proxy server and setting the ticket cookie
> from your perl code when people log in.  Then the static files don't
> need to touch mod_perl at all.
> http://www.openfusion.com.au/labs/mod_auth_tkt/
> - Perrin
> _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive: 
> http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/ 

More information about the Catalyst mailing list