[Catalyst] Static file serving question
Jonathan Rockway
jon at jrock.us
Mon Aug 14 10:43:43 CEST 2006
Yup. When you deploy your app in production, though, be sure to let
your actual webserver serve the static files. It will be *much* faster.
In Apache, do something like:
Alias /files /var/www/path/to/files
Then everything in / will be handled by your app, except for /files,
which Apache will handle.
Regards,
Jonathan Rockway
Joe Landman wrote:
> Nevermind, answered my own question.
>
> Joe Landman wrote:
>
>
>> Then any file in /files will be served statically without Catalyst
>> working its magic.
>>
>
> as will the files/dirs below it.
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 370 bytes
Desc: OpenPGP digital signature
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20060814/7672332f/attachment.pgp
More information about the Catalyst
mailing list