httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Zhang <nzh...@arkon-group.com>
Subject [users@httpd] Re: Custom Error Message
Date Tue, 27 Jan 2004 17:49:27 GMT
>>I'm using Apache 2.0.47, I enabled
>>
>><Directory /var/www/html/arkon>
>>   AllowOverride All
>></Directory>
>>
>>in commonhttpd.conf and added .htaccess to /var/www/html/arkon with contents
>>
>>ErrorDocument 404 /var/www/html/arkon/txt/error.htm
>>
>>However I can get the custom page to be loaded. Is there something wrong
>>that I'm doing?
> 
> First, start by checking your error log.  It will probably tell you that
> that path can't be found, because you are supposed to use a web-path (like
> /arkon/txt/error.htm) and not a full file-system path.

Thanks Joshua. I need to make it /txt/error.htm in .htaccess.

> Also note that MSIE will ignore apache-generated error messages unless
> they are "large enough".

Is there a fix for this? Or I need to manually edit the error pages that 
came with Apache?

Regards,
Norman


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message