Hi Christian,
That is quite easy, you can either use this [
eyecreate.net] as guidance, or just create a file .htaccess with the following in it, and do with "yourpage.php" whatever your hearts desire.
ErrorDocument 400 /yourpage.php
ErrorDocument 401 /yourpage.php
ErrorDocument 403 /yourpage.php
ErrorDocument 404 /yourpage.php
ErrorDocument 500 /yourpage.php
PS: .htaccess should lie in your root folder/ thus on the default wamp instalation
\wamp\www\.htaccess
Hope this helps.
Im having the problem trying to get access restriction with .passwd but to no avail..!@#