Custom 404 Page

Discussion of testing theory and practice, including methodologies (such as TDD, BDD, DDD, Agile, XP) and software - anything to do with testing goes here. (Formerly "The Testing Side of Development")

Moderator: General Moderators

Post Reply
jeffeyp
Forum Newbie
Posts: 5
Joined: Thu Mar 27, 2008 4:23 pm

Custom 404 Page

Post 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?
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: Custom 404 Page

Post by onion2k »

What does the error log say?
jeffeyp
Forum Newbie
Posts: 5
Joined: Thu Mar 27, 2008 4:23 pm

Re: Custom 404 Page

Post 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
Post Reply