Page 1 of 1

Custom 404 Page

Posted: Thu Mar 27, 2008 4:57 pm
by jeffeyp
I hope I posted this in the right place.

I am trying to set up a custom 404 page on a site that I am developing on my test server. It is a wamp server (2.2.6) running on my notebook.

I am writing virtual host files in the httpd-vhosts.conf file. Everything is working except the 404.

Code: Select all

<VirtualHost *:80>
    ServerName http://www.braintrust360.com
    ServerAlias braintrust
    DocumentRoot C:/wamp/www/tylerweb/public_html/braintrust360.com/
    ErrorDocument 404 C:/wamp/www/tylerweb/public_html/braintrust360.com/bt_404.html
    ErrorLog C:/wamp/www/tylerweb/public_html/braintrust360.com/logs/error.log
    CustomLog C:/wamp/www/tylerweb/public_html/braintrust360.com/logs/access.log common
</VirtualHost>
Any idea why this is not working?

Re: Custom 404 Page

Posted: Thu Mar 27, 2008 5:33 pm
by onion2k
What does the error log say?

Re: Custom 404 Page

Posted: Thu Mar 27, 2008 5:41 pm
by jeffeyp
[Thu Mar 27 17:40:36 2008] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/tylerweb/public_html/braintrust360.com/nopage.html