View Full Version : custom forbidden pages


zangerbanger
06-22-2003, 01:58 AM
How do you make custom forbidden pages? I've seen them from somewhere before....

Dude128
06-22-2003, 02:15 AM
you can add any type of error page to your .htaccess file, in the same format as the 404 code that Lissa has.

in the code:
ErrorDocument 404 http://www.yourdomain.com/error.html

just replace 404 with the appropriate number- for example, i believe forbidden page is 403, so your .htaccess file might have:

ErrorDocument 404 http://www.yourdomain.com/error404.html
ErrorDocument 403 http://www.yourdomain.com/error403.html

zangerbanger
06-23-2003, 06:43 PM
Okay, thanks very much :) .