summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--setup-alpine-web4
2 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0a33a11..c3b7fd7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-V=1.5
+V=1.5.1
P=alpine-conf
PV=$(P)-$(V)
APKF=$(PV).apk
diff --git a/setup-alpine-web b/setup-alpine-web
index a24ca12..7fdfad8 100644
--- a/setup-alpine-web
+++ b/setup-alpine-web
@@ -74,7 +74,9 @@ cat <<EOF >/var/www/redirect/index.html
</body>
</html>
EOF
-httpd -h /var/www/redirect
+echo "E404:/var/www/redirect/index.html" > /etc/httpd.conf
+echo "HTTPD_OPTS=\"-h /var/www/redirect\"" > /etc/conf.d/httpd
+/etc/init.d/httpd start
# dummy dns
echo "* $CNET.1" > /etc/dnsd.conf