From: Marcus Ramberg Date: Thu, 14 Jul 2005 09:38:06 +0000 (+0000) Subject: added entry for serving static files with apache. X-Git-Tag: 5.7099_04~1260 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=f25a32836c7c60ea3c89aebec41f7edf82133ea6;hp=51f0308d123198167a88df51ea7c8ef3ac8efd2c added entry for serving static files with apache. --- diff --git a/lib/Catalyst/Manual/Cookbook.pod b/lib/Catalyst/Manual/Cookbook.pod index cf66c1c..af8d13e 100644 --- a/lib/Catalyst/Manual/Cookbook.pod +++ b/lib/Catalyst/Manual/Cookbook.pod @@ -602,6 +602,21 @@ simple component in Catalyst that slurps in an outside Model: and that's it! Now C is part of your Cat app as C. +=head1 Serving static files with Apache. + +When deploying your application it's a waste to serve static files +with Catalyst. Instead, set up something like this: + + Alias /static/ "/my/static/files/" + + SetHandler none + + +To match the location of your static files. + + +=cut + =head1 AUTHOR Sebastian Riedel, C