[Catalyst-commits] r6381 - /
trunk/Catalyst-Manual/lib/Catalyst/Manual
zarquon at dev.catalyst.perl.org
zarquon at dev.catalyst.perl.org
Wed May 9 00:58:44 GMT 2007
Author: zarquon
Date: 2007-05-09 00:58:43 +0100 (Wed, 09 May 2007)
New Revision: 6381
Modified:
/
trunk/Catalyst-Manual/lib/Catalyst/Manual/Cookbook.pod
Log:
r10341 at zaphod: kd | 2007-05-09 09:17:05 +1000
added lighttpd static deployment recipe
Property changes on:
___________________________________________________________________
Name: svk:merge
- 1b129c88-ebf4-0310-add9-f09427935aba:/local/catalyst:4278
1c72fc7c-9ce4-42af-bf25-3bfe470ff1e8:/local/Catalyst:10141
3b9770f9-e80c-0410-a7de-cd203d167417:/local/catalyst:3514
dd8ad9ea-0304-0410-a433-df5f223e7bc0:/local/Catalyst:6909
+ 1b129c88-ebf4-0310-add9-f09427935aba:/local/catalyst:4278
1c72fc7c-9ce4-42af-bf25-3bfe470ff1e8:/local/Catalyst:10341
3b9770f9-e80c-0410-a7de-cd203d167417:/local/catalyst:3514
dd8ad9ea-0304-0410-a433-df5f223e7bc0:/local/Catalyst:6909
Modified: trunk/Catalyst-Manual/lib/Catalyst/Manual/Cookbook.pod
===================================================================
--- trunk/Catalyst-Manual/lib/Catalyst/Manual/Cookbook.pod 2007-05-08 22:32:56 UTC (rev 6380)
+++ trunk/Catalyst-Manual/lib/Catalyst/Manual/Cookbook.pod 2007-05-08 23:58:43 UTC (rev 6381)
@@ -1534,6 +1534,25 @@
a two-tiered setup, the frontend server should handle static files.
The configuration to do this on the frontend will vary.
+The same is accomplished in lighttpd with the following snippet:
+
+ $HTTP["url"] !~ "^/(?:img/|static/|css/|favicon.ico$)" {
+ fastcgi.server = (
+ "" => (
+ "MyApp" => (
+ "socket" => "/tmp/myapp.socket",
+ "check-local" => "disable",
+ )
+ )
+ )
+ }
+
+Which serves everything in the img, static, css directories
+statically, as well as the favicon file.
+
+Note the pathof the applqication needs to be stated explicitly for
+boththese recipes.
+
=head2 Catalyst on shared hosting
So, you want to put your Catalyst app out there for the whole world to
More information about the Catalyst-commits
mailing list