summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-01-02 11:59:49 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-01-02 11:59:49 +0100
commit2400bc4b6079b09d8a9c0334b98a77e90de470a8 (patch)
treeda6792f1d543ef4ebe9e547842fc9c7e4db14d6e /bin
parent20265bc9044be8658d9b23119fa2f7123e5a4b58 (diff)
downloaddeployment-2400bc4b6079b09d8a9c0334b98a77e90de470a8.tar.gz
deployment-2400bc4b6079b09d8a9c0334b98a77e90de470a8.tar.bz2
deployment-2400bc4b6079b09d8a9c0334b98a77e90de470a8.zip
--route => --route-if
Diffstat (limited to 'bin')
-rwxr-xr-xbin/taler-deployment-landing8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/taler-deployment-landing b/bin/taler-deployment-landing
index 7a5902f..1d9998f 100755
--- a/bin/taler-deployment-landing
+++ b/bin/taler-deployment-landing
@@ -17,7 +17,7 @@ exec uwsgi \
--mimefile /etc/mime.types \
--socket $HOME/sockets/landing.uwsgi \
--chmod-socket=660 \
- --route "^/?$ redirect:index.html" \
- --route "^/(.+) addvar:FILE=$HOME/landing/demo/\$1" \
- --route-if "exists:\${FILE} static:\${FILE}" \
- --route "^/(.+) break:404 not found"
+ --route-if "regexp:${PATH_INFO};^/?$ redirect:index.html" \
+ --route-if "regexp:${PATH_INFO};^/(.+) addvar:FILE=$HOME/landing/demo/\$1" \
+ --route-if "exists:${PATH_INFO};\${FILE} static:\${FILE}" \
+ --route-if "regexp:${PATH_INFO};^/(.+) break:404 not found"