diff --git a/docs/sample/openhttpd.conf b/docs/sample/openhttpd.conf index ae50b22..d60842f 100644 --- a/docs/sample/openhttpd.conf +++ b/docs/sample/openhttpd.conf @@ -1,10 +1,7 @@ server "default" { - listen on * port 80 - root "htdocs/treebird" - location "/*\.css" { root "htdocs/treebird" } - location "/*\.png" { root "htdocs/treebird" } - location "/js/*\.js" { root "htdocs/treebird" } - location "/*" { - fastcgi socket tcp localhost 4008 - } + listen on * port 80 + location match "/(.+).([pc]?[nsj][sg])" { root "htdocs/treebird" } + location match "^/.*$" { + fastcgi socket tcp localhost 4008 + } }