.htaccess is not working.

Status
Not open for further replies.

walz.raymond66

New Member
Messages
2
Reaction score
0
Points
0
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
 

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
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:

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
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.
 

walz.raymond66

New Member
Messages
2
Reaction score
0
Points
0
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:
Code:
ErrorDocument 401 /errors/401.html/
ErrorDocument 403 /errors/403.html/
ErrorDocument 404 /errors/404.html/
ErrorDocument 500 /errors/500.html/
but when i try to bring up a 404, http://cy.x10.bz/sidjhfid it can't find the ErrorDocument

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:

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
ErrorDocument 401 /errors/401.html/

Shouldn't end with a /
 
Status
Not open for further replies.
Top