perhatikan spasi yang anda sertakan di httpd.conf-nya.
berikut saya ambil dari httpd.conf (apache):
#
# Customizable error response (Apache style)
# these come in three flavors
#
# 1) plain text
#ErrorDocument 500 "The server made a boo boo.
# n.b. the single leading (") marks it as text, it does not get output
#
# 2) local redirects
#ErrorDocument 404 /missing.html
# to redirect to local URL /missing.html
#ErrorDocument 404 /cgi-bin/missing_handler.pl
# N.B.: You can redirect to a script or a document using
server-side-includes.
#
# 3) external redirects
#ErrorDocument 402 http://some.other-server.com/subscription_info.html
# N.B.: Many of the environment variables associated with the original
# request will *not* be available to such a script.
-dn-
----- Original Message -----
From: "Indra" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 08, 2003 3:46 PM
Subject: Re: [tanya-jawab] reference page
> Masih gak bisa pak, saya taruh di httpd.conf spt ini:
> <VirtualHost xxx.xx.x.xx>
> ......
> ......
> AccessFileName .htaccess
> ErrorDocument401 http://mydomain.co.id/test.html
> ErrorLog logs/s-error_log
> CustomLog logs/s-access_log common
> </VirtualHost>
>
> apakah salah penempatan atau gimana ya?, mohon
> pencerahannya.
>
>
--
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip dan info di http://linux.or.id/milis.php