Added non-root example to FastCGI docs
Andy Grundman [Fri, 11 Nov 2005 21:41:31 +0000 (21:41 +0000)]
lib/Catalyst/Engine/FastCGI.pm

index f17178f..d832bea 100644 (file)
@@ -155,7 +155,17 @@ This configuration was tested with Lighttpd 1.4.7.
         )
     )
     
-Or use an external server:
+You can also run your application at any non-root location.
+
+    fastcgi.server = (
+        "/myapp" => (
+            "MyApp" => (
+                # same as above
+            )
+        )
+    )
+    
+You can also use an external server:
 
     # Start the external server (requires FCGI::ProcManager)
     $ script/myapp_fastcgi.pl -l /tmp/myapp.socket -n 5