Custom 404 Page
Posted: Thu Mar 27, 2008 4:57 pm
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.
Any idea why this is not working?
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>