Fix regex in lighttpd example config to only match static/ and sub-items, and not all directories that start with 'static'

This commit is contained in:
Sven Slootweg 2012-07-21 21:00:44 +02:00
parent 0f3bc38a18
commit b0fdae4e1f
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ A basic FastCGI configuration for lighttpd looks like that::
)
url.rewrite-once = (
"^(/static.*)$" => "$1",
"^(/static($|/.*))$" => "$1",
"^(/.*)$" => "/yourapplication.fcgi$1"
Remember to enable the FastCGI, alias and rewrite modules. This configuration