summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJamie Nguyen <j@jamielinux.com>2018-12-14 15:06:40 +0000
committerGitHub <noreply@github.com>2018-12-14 15:06:40 +0000
commitd8d1c87ae9eba53b7e00273d27eadfae4368394c (patch)
treec99709ae3a8ccb9ff7526b0ea7a597a8c3e9c28b
parent9fceea420309c2334241ed3a60fd9f47e7428217 (diff)
parent753ffb7ce251d782e5c69a47445a7463684059d2 (diff)
downloadapache-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.
-rwxr-xr-x2.4/docker-entrypoint.sh2
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