hosted by liquidweb

Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : .htaccess and 404 error page

Forum Jump

.htaccess and 404 error page

Reply Post New Thread In Hosting Security and Technology Subscription
Send news tip View All Posts Thread Tools Search this Thread Display Modes
Aspiring Evangelist
Join Date: Dec 2000
Posts: 447
I tried to make a custom "file not found" page, but it didn't work.

I have an account on a RaQ3.

What I tried is the following: I put a .htaccess file in my /web folder, with a single line like this:

ErrorDocument 404 /custom.html

I also tried the following:

ErrorDocument 404 custom.html
ErrorDocument 404 /home/sites/site55/web/custom.html

Well, none of them worked.

Now I've read in Apache documentation, that for this to work, the server administrator must set the AllowOverride directive for FileInfo.

Is there a command I could use to check if this directive is set on my server?

Sponsored Links
Join Date: Dec 2000
Location: Ohio
Posts: 273
Was it in the correct web folder with all the other html files? Also, was the custom.html located in the same directory? BTW,

ErrorDocument 404 /custom.html

is the correct way to do it. I have a RaQ3 as well and it works fine.

Aspiring Evangelist
Join Date: Dec 2000
Posts: 447
Yes, I put both .htaccess and custom.html in the "home" directory of my site, where I also have the index.html file.

Sponsored Links

Related posts from
Title Type Date Posted
Admin Error Brings Down Joyent’s Ashburn Data Center Web Hosting News 2014-05-28 10:18:18
Unusual DNS Error Leads to Internet Outage in China Web Hosting News 2014-01-21 12:16:24
Mistakes To Avoid When Launching A New Website Design Blog 2014-01-10 10:53:50
Lengthy Outages for Hacker News, FastHosts Web Hosting News 2014-01-06 09:56:36 Grows Managed WordPress Hosting Platform with BlogDroid Acquisition Web Hosting News 2013-06-27 15:43:37

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Log in with your username and password

Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Web Hosting News:
WHT Membership
WHT Membership



Welcome to

Create your username to jump into the discussion! is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.

(4 digit year)

Already a member?