hosted by liquidweb


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

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
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
  #1  
Old 12-27-2000, 05:57 PM
astralexis astralexis is offline
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?

Reply With Quote


Sponsored Links
  #2  
Old 12-27-2000, 06:39 PM
syanet syanet is offline
Disabled
 
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.

Reply With Quote
  #3  
Old 12-28-2000, 03:56 AM
astralexis astralexis is offline
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.

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
Heroku, Pinterest Among Sites Knocked Offline in Amazon Data Center Outage Web Hosting News 2012-06-15 12:28:20
Web Host 1&1 Experiences Server Outage Web Hosting News 2011-09-26 17:29:11
Go Daddy Helping Customers Repair Compromised Sites Web Hosting News 2011-09-16 14:35:03
Landing Page Practices to Improve Marketing ROI with Tim Ash of SiteTuners Web Hosting News 2011-08-09 22:20:06
Web Host HostDime Offers Attracta SEO Tools to Resellers Web Hosting News 2011-08-03 17:07:08


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
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com 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?