NameSilo

I need some server help

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

prime minister

Established Member
Impact
0
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Do you host it yourself in your room or do you outsource it to a hosting outfit? What operating system?
 
0
•••
It's at Terabyte and it's running Apache software. I just found some info that suggests I need to make a htaccess file with this in it:

ErrorDocument 400 /errors/badrequest.html
ErrorDocument 401 /errors/authreqd.html
ErrorDocument 403 /errors/forbid.html
ErrorDocument 404 /errors/notfound.html
ErrorDocument 500 /errors/serverr.html

I don't really understand the above.

Can't I just edit these error pages with redirect html code? Do you know where they are on a Cobalt server? There's like a million directories.

Thanks
 
0
•••
Hey,

Its actually really easy to do. Just do the following:

create a .htaccess file and add this

ErrorDocument 404 /index.html

or you can replace .html with .php or whatever your sites done in.

Thanks,
 
0
•••
you could also make your own 404 error page and put a redirection script in it.
 
0
•••
I tried the above but I get another error message. I'm also trying the code from the official Terabyte help page here:
http://www.tera-byte.com/htaccess.html#error_pages

But still no luck. Does anyone know where these error pages are located? I just want to edit the 404 page.

Thanks
 
0
•••
do you have cpanel?
 
0
•••
there are no set 404 pages i believe you have to make one or it will just use the page not found the browser has
 
0
•••
this might help:

Useful "Page not found" error pages : evolt.org, IA/Usability
... I originally set up a .cgi script to be called when an error occured by simply
having the .htaccess call that .cgi script for the 404 error page. ...
www.evolt.org/article/mblog/4090/4299/

or solution may be here:


easyClick 404 error detection & redirection script
... With easyClick 404, you edit your .htaccess file so that all 404 errors are pointing
to the easyClick404 PHP script. When a page not found 404 error occurs, it ...
ez-search-engine-optimization.com/reviews/ 404-file-not-found/easyclick-404.htm



good luck to your search:
 
0
•••
Thanks all.... I got it working with a .htaccess file but had to edit my access.conf file on the server with this entry:

<Directory /home/sites/site##>
Options All
AllowOverride All
</Directory>
 
0
•••
Originally posted by prime minister
Thanks all.... I got it working with a .htaccess file but had to edit my access.conf file on the server with this entry:

<Directory /home/sites/site##>
Options All
AllowOverride All
</Directory>

That's not the only way to do it, but it definitely is a way. :]
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com
Catchy
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back