My .htaccess file isn't working. It works fine on my old site ( http://cy.t15.org ) but on here it doesn't recognize it at all. http://cy.x10.bz
My .htaccess file isn't working. It works fine on my old site ( http://cy.t15.org ) but on here it doesn't recognize it at all. http://cy.x10.bz
That tells us nothing. If you called a mechanic with a car problem, would you say "My car doesn't work. It did at my old house," and leave it at that? When asking for help, describe what you expect to happen and what actually happens, including any error messages. Include a minimal test case. Read my sig for more on asking questions.
Last edited by misson; 03-23-2011 at 01:43 PM.
Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.Misson, not Mission.
How is it "not working"? ie what is it supposed to do, and what is it actually doing.
Finally, if you post the contents here, it will be much easier to help you.
Nothing is always absolutely so.
Sorry, I didn't realize that this posted to the forum, I sent a support request.
I'm totally new here.
Anyway, so:
I put an .htaccess file into the root (public_html/)
the .htaccess file contains:
but when i try to bring up a 404, http://cy.x10.bz/sidjhfid it can't find the ErrorDocumentCode:ErrorDocument 401 /errors/401.html/ ErrorDocument 403 /errors/403.html/ ErrorDocument 404 /errors/404.html/ ErrorDocument 500 /errors/500.html/
EDIT: I just realized that if i move 404.html from /errors/ to / and change the htaccess accordingly it works, but I don't know why it didn't work when it was inside /errors/.
Last edited by walz.raymond66; 03-23-2011 at 08:29 PM.
ErrorDocument 401 /errors/401.html/
Shouldn't end with a /
Nothing is always absolutely so.