# HG changeset patch # User jbe # Date 1350313059 -7200 # Node ID c92bd1ec1130c1efd1e10e3fd4a8c968b7e7c1a1 # Parent 52305ec73d472ad1d05eb591d75eea1cb5dac1de Fixed error in example webserver configurations (do not include question mark) diff -r 52305ec73d47 -r c92bd1ec1130 doc/apache.sample.conf --- a/doc/apache.sample.conf Sun Oct 14 17:11:13 2012 +0200 +++ b/doc/apache.sample.conf Mon Oct 15 16:57:39 2012 +0200 @@ -5,7 +5,7 @@ # do not rewrite static URLs RewriteRule ^/webmcp-demo/static/(.*)$ /webmcp-demo/static/$1 # dynamic URLs -RewriteRule ^/webmcp-demo/([^\?]*)(\?(.*))?$ /webmcp-demo/webmcp-wrapper.lua?_webmcp_path=$1&$2 +RewriteRule ^/webmcp-demo/([^\?]*)(\?(.*))?$ /webmcp-demo/webmcp-wrapper.lua?_webmcp_path=$1&$3 # Directly serve static files Alias /webmcp-demo/static /__INSERT_LOCAL_FILE_PATH_TO_DEMO_APPLICATION_HERE__/static diff -r 52305ec73d47 -r c92bd1ec1130 doc/lighttpd.sample.conf --- a/doc/lighttpd.sample.conf Sun Oct 14 17:11:13 2012 +0200 +++ b/doc/lighttpd.sample.conf Mon Oct 15 16:57:39 2012 +0200 @@ -31,7 +31,7 @@ # dynamic URLs "^/webmcp-demo/([^\?]*)(\?(.*))?$" => - "/webmcp-demo/webmcp-wrapper.lua?_webmcp_path=$1&$2", + "/webmcp-demo/webmcp-wrapper.lua?_webmcp_path=$1&$3", )