[Catalyst-commits] r6231 - trunk/Catalyst-Runtime/t

andyg at dev.catalyst.perl.org andyg at dev.catalyst.perl.org
Thu Mar 29 03:53:04 GMT 2007


Author: andyg
Date: 2007-03-29 03:53:04 +0100 (Thu, 29 Mar 2007)
New Revision: 6231

Modified:
   trunk/Catalyst-Runtime/t/optional_lighttpd-fastcgi-non-root.t
Log:
Use mod_rewrite in the non-root lighttpd test to workaround the trailing slash issue

Modified: trunk/Catalyst-Runtime/t/optional_lighttpd-fastcgi-non-root.t
===================================================================
--- trunk/Catalyst-Runtime/t/optional_lighttpd-fastcgi-non-root.t	2007-03-29 01:29:10 UTC (rev 6230)
+++ trunk/Catalyst-Runtime/t/optional_lighttpd-fastcgi-non-root.t	2007-03-29 02:53:04 UTC (rev 6231)
@@ -56,6 +56,7 @@
 server.modules = (
     "mod_access",
     "mod_fastcgi",
+    "mod_rewrite",
     "mod_accesslog"
 )
 
@@ -67,6 +68,10 @@
 server.bind = "127.0.0.1"
 server.port = $port
 
+# Work around inability to hit http://localhost/deep/path
+# without a trailing slash 
+url.rewrite = ( "deep/path\$" => "deep/path/" )
+
 # catalyst app specific fcgi setup
 fastcgi.server = (
     "/deep/path" => (




More information about the Catalyst-commits mailing list