diff options
author | Jamie Nguyen <j@jamielinux.com> | 2018-12-14 15:06:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-14 15:06:40 +0000 |
commit | d8d1c87ae9eba53b7e00273d27eadfae4368394c (patch) | |
tree | c99709ae3a8ccb9ff7526b0ea7a597a8c3e9c28b /2.4/docker-entrypoint.sh | |
parent | 9fceea420309c2334241ed3a60fd9f47e7428217 (diff) | |
parent | 753ffb7ce251d782e5c69a47445a7463684059d2 (diff) | |
download | apache-d8d1c87ae9eba53b7e00273d27eadfae4368394c.tar.gz apache-d8d1c87ae9eba53b7e00273d27eadfae4368394c.tar.bz2 apache-d8d1c87ae9eba53b7e00273d27eadfae4368394c.tar.xz apache-d8d1c87ae9eba53b7e00273d27eadfae4368394c.zip |
Merge pull request #2 from boonen/corrupt-alias
Prevent corrupt Alias after restart of container.
Diffstat (limited to '2.4/docker-entrypoint.sh')
-rwxr-xr-x | 2.4/docker-entrypoint.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/2.4/docker-entrypoint.sh b/2.4/docker-entrypoint.sh index 84bf8e1..3ee4575 100755 --- a/2.4/docker-entrypoint.sh +++ b/2.4/docker-entrypoint.sh @@ -29,7 +29,7 @@ fi # Configure dav.conf if [ "x$LOCATION" != "x" ]; then - sed -e "s|Alias /|Alias $LOCATION|" \ + sed -e "s|Alias .*|Alias $LOCATION /var/lib/dav/data/|" \ -i "$HTTPD_PREFIX/conf/conf-available/dav.conf" fi if [ "x$REALM" != "x" ]; then |