Hi! I tried to setup custom error pages for my site using the htaccess file located under public_html, and when I type in a wrong address, it will not pull up my 404 error, instead, it will show the browsers default 404 error page. Any clue why this is happening, and how do I fix it?
Now here is the strange part, I went to check and see if my pages were able to be viewed on the site, and I would get redirected to x10hosting's 404 error (why) but when I would try to get a 404 error, I would get the browser's default 404 error page.
Here is the codeing I used in the htaccess file:
(And just incase you wanted to see the full view of the htaccess file for public_html, here it isCode:ErrorDocument 404 /errors/404.html
Thank you for your help!Code:# -FrontPage- IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* <Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> AuthName 2enetwork.x10hosting.com AuthUserFile /home/login2e/public_html/_vti_pvt/service.pwd AuthGroupFile /home/login2e/public_html/_vti_pvt/service.grp Options All -Indexes ErrorDocument 401 /errors/401.html ErrorDocument 403 /errors/403.html ErrorDocument 404 /errors/404.html ErrorDocument 500 /errors/500.html
(my site is http://2enetwork.tk)


3Likes
LinkBack URL
About LinkBacks








