diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-01-02 11:59:49 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-01-02 11:59:49 +0100 |
commit | 2400bc4b6079b09d8a9c0334b98a77e90de470a8 (patch) | |
tree | da6792f1d543ef4ebe9e547842fc9c7e4db14d6e /bin/taler-deployment-landing | |
parent | 20265bc9044be8658d9b23119fa2f7123e5a4b58 (diff) | |
download | deployment-2400bc4b6079b09d8a9c0334b98a77e90de470a8.tar.gz deployment-2400bc4b6079b09d8a9c0334b98a77e90de470a8.tar.bz2 deployment-2400bc4b6079b09d8a9c0334b98a77e90de470a8.zip |
--route => --route-if
Diffstat (limited to 'bin/taler-deployment-landing')
-rwxr-xr-x | bin/taler-deployment-landing | 8 |
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" |