diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2008-05-28 13:19:38 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2008-05-28 13:19:38 +0000 |
commit | 8fcae700d2f7b9d10819cc55c67a2ea6c89a4a60 (patch) | |
tree | b0a5e4bafe2bf7278e6badfda9ba3ef6073fba45 /setup-alpine-web | |
parent | 4ade8ccfc6cb761adec205285f1866c8265e57e2 (diff) | |
download | alpine-conf-8fcae700d2f7b9d10819cc55c67a2ea6c89a4a60.zip |
setup 404 redirect. release 1.5.1
Diffstat (limited to 'setup-alpine-web')
-rw-r--r-- | setup-alpine-web | 4 |
1 files changed, 3 insertions, 1 deletions
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 |