Browse Source

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

pull/563/head
Sven Slootweg 13 years ago
parent
commit
b0fdae4e1f
  1. 2
      docs/deploying/fastcgi.rst

2
docs/deploying/fastcgi.rst

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

Loading…
Cancel
Save