PDA

View Full Version : custom 404 page



pro5ject
August 10th, 2001, 15:20
Can I use a custom 404 page on Brinkster?
If so how would I go about it?



:confused:

Satelk
August 10th, 2001, 16:23
I don't think so, it's on a NT server so you can't use .htaccess.

Gonzo
August 11th, 2001, 08:00
I thought if you had Apache you can use .htaccess

Satelk
August 11th, 2001, 08:26
Yeah, if they have Apache it works, I never used them so I thought they were using IIS.

lucifer
August 12th, 2001, 17:37
.htccess if you have it

ErrorDocument 404 http://domain.com/dir/page.html

you can also do other errors like 500

Darin
August 12th, 2001, 18:23
Here is a list of the error documents you can have:


400 - Bad Request
401 - Unauthorized
403 - Forbidden
404 - File Not Found
500 - Internal Server Error
502 - Temporarily Unavailable
503 - Service Unavailable


I'm sure there is more, but I can't remember them. :p

jon787
August 14th, 2001, 12:28
If they are using Microsoft servers try looking around your preferences/options screen because that is how I turned mine on at robodawgs.com which is hosted on a, apparently patched because it didn't come down, Microsoft server.

Anayet
August 14th, 2001, 16:18
How do you do this if you do have .htaccess????:confused:

Bruce
August 14th, 2001, 16:23
Create a file called .htaccess

Int eh file put


ErrorDocument 404 http://url.to.your/error/404page.htm


Of course you can make a page for whichever error message you want.

The 404page.htm would be the custom page you made.

Anayet
August 14th, 2001, 16:25
Does the .htacces page have to go in all the folders that I want these messages to come up from?

Bruce
August 14th, 2001, 16:29
No, I would just reccommend putting it in the root directory though.

Anayet
August 14th, 2001, 16:32
Alright then.

Thanks for the help:biggrin2: