How to configure 404
Posted by: mezia (---.pool1.unallocated-110-128.orangehomedsl.co.uk)
Date: January 13, 2010 06:05AM

Hi

I tried my luck but failed. I am trying to configure custom error 404 page in Virtual Host.

I tried 3 different ways but nothing is showing on my browser

First Way
--------

<VirtualHost *:80>
DocumentRoot d:/live/
ServerName www.domain.com
ServerAlias domain.com domain
ServerAdmin webmaster@domain.com
DirectoryIndex index.html index.php index.php3
RewriteEngine On
RewriteOptions Inherit
ErrorLog d:/wamp/logs/apache_error.log
CustomLog d:/wamp/logs/access.log common

ErrorDocument 404 /404error.html
</VirtualHost>

Second Way
----------

In httpd.conf

ErrorDocument 404 /404error.html

Third Way
----------

In .htaccess

ErrorDocument 404 /404error.html

Only following line appear in Apache access log when I use third way

xxx.xxx.xxx.xxx - - [13/Jan/2010:04:56:37 +0000] "GET /abc.html HTTP/1.1" 404 -



How to fix my 404 page? Please guide me

Options: ReplyQuote
Re: How to configure 404
Posted by: chesterthebear (---.lbcz1.ken.bigpond.net.au)
Date: April 23, 2010 01:19AM

I am am having the same issue.
How does one properly configure the 404 page in Wamp Server?

Options: ReplyQuote


Sorry, only registered users may post in this forum.