From 8fcae700d2f7b9d10819cc55c67a2ea6c89a4a60 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 28 May 2008 13:19:38 +0000 Subject: setup 404 redirect. release 1.5.1 --- setup-alpine-web | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'setup-alpine-web') 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 </var/www/redirect/index.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 -- cgit v1.2.3