.htaccess error pages
Posted by: Christian (---.hawaiiantel.net)
Date: January 27, 2006 11:35PM

How can I make it so that I can use ErrorDocument 404 /404page.php in a .htaccess doc?

Options: ReplyQuote
Re: .htaccess error pages
Posted by: Christian (---.hawaiiantel.net)
Date: January 29, 2006 11:33PM

Anybody??????????????????

Options: ReplyQuote
Re: .htaccess error pages
Posted by: scheluka (196.31.138.---)
Date: January 31, 2006 02:14PM

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..!@#

Options: ReplyQuote


Sorry, only registered users may post in this forum.