webmcp
changeset 98:c92bd1ec1130
Fixed error in example webserver configurations (do not include question mark)
author | jbe |
---|---|
date | Mon Oct 15 16:57:39 2012 +0200 (2012-10-15) |
parents | 52305ec73d47 |
children | 66bdd686df30 |
files | doc/apache.sample.conf doc/lighttpd.sample.conf |
line diff
1.1 --- a/doc/apache.sample.conf Sun Oct 14 17:11:13 2012 +0200 1.2 +++ b/doc/apache.sample.conf Mon Oct 15 16:57:39 2012 +0200 1.3 @@ -5,7 +5,7 @@ 1.4 # do not rewrite static URLs 1.5 RewriteRule ^/webmcp-demo/static/(.*)$ /webmcp-demo/static/$1 1.6 # dynamic URLs 1.7 -RewriteRule ^/webmcp-demo/([^\?]*)(\?(.*))?$ /webmcp-demo/webmcp-wrapper.lua?_webmcp_path=$1&$2 1.8 +RewriteRule ^/webmcp-demo/([^\?]*)(\?(.*))?$ /webmcp-demo/webmcp-wrapper.lua?_webmcp_path=$1&$3 1.9 1.10 # Directly serve static files 1.11 Alias /webmcp-demo/static /__INSERT_LOCAL_FILE_PATH_TO_DEMO_APPLICATION_HERE__/static
2.1 --- a/doc/lighttpd.sample.conf Sun Oct 14 17:11:13 2012 +0200 2.2 +++ b/doc/lighttpd.sample.conf Mon Oct 15 16:57:39 2012 +0200 2.3 @@ -31,7 +31,7 @@ 2.4 2.5 # dynamic URLs 2.6 "^/webmcp-demo/([^\?]*)(\?(.*))?$" => 2.7 - "/webmcp-demo/webmcp-wrapper.lua?_webmcp_path=$1&$2", 2.8 + "/webmcp-demo/webmcp-wrapper.lua?_webmcp_path=$1&$3", 2.9 2.10 ) 2.11