Help With Custom Error Pages!

mjames's picture

They have: 2,064 posts

Joined: Dec 1999

Hello all,

I've been trying to setup a .htaccess file so I could have custom error pages, but it hasn't been working.

Here's what I did:

1.) I created the http://www.sports-central.org/error.html page.
2.) I created at .htaccess file with the following included:
"ErrorDocument 404 [url]http://www.sports-central.org/error.html"[/url]
3.) I uploaded in ASCII mode.

I tried typing in some random file on my server, and it still had the old, boring 404 error. I can't figure out why it isn't working! Is it because I'm (unfortunatly) on a NT server? Help!

They have: 193 posts

Joined: Feb 2000

YOu won't be able to change them using a .htaccess file. .htaccess files and such are features of the Apache web server. Sorry.

Richard

mjames's picture

They have: 2,064 posts

Joined: Dec 1999

Thanks Rich, if I were to get a UNIX server at ThinkHost.com, would that have Apache? (Sorry, I'm not too familiar with Apache).

They have: 193 posts

Joined: Feb 2000

I started out with the basics once too.

Yes, thinkhost does use Apache. Yet, so do a lot of other hosts. To find out if a host uses Apache, visit http://netcraft.com and type in their domain name. This service (which is free) will tell you if it is using Apache or not. If you have any questions don't hesitate to ask. Smiling

Richard

[email protected]

Everyone here has a website. It's just that not all are worth posting (Mine! Smiling).

mjames's picture

They have: 2,064 posts

Joined: Dec 1999

Actually, I'm not a beginner or newbie, as you referred to. I've been in the business for about three years. Just got more involved the last year, though. Smiling

They have: 193 posts

Joined: Feb 2000

Sorry about that.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.