.htaccess help !!!!

A

Anonymous

Guest
hi all !

i need to create custom error documents for my site...

if any page is not available it must redirect to my customized error page instead of the same old " 404 page not found !"

to do this we need .htaccess file i have all things correctly in the file but it is not working..

this is my .htaccess file

ErrorDocument 404 http://www.2xceed.net/Error.php?404 Page Not Found !
 
please some one help me frame out this problem ...

Advanced thanks
 
Does it redirect to anything at all?


Try this:

ErrorDocument 404 /Error.php?404%20Page%20Not%20Found%20!


Coditor
 
Look at it. It might help u

http://lists.debian.org/debian-apache/2004/06/msg00173.html


or truncate your url to /Error.php?404
 
Guys it didnt help out.. :( But thanks a lot of effort by u all

i asked the my domain administrator whether custome error messages can be set or not ?

he said they can be set and he told me to give the links for error messages like 404,500 etc..

so it is clear that .htaccess will work in my site .. but how to do it by myself ??

Each and every time i may not able to contact him... please help guys !!!
 
So your problem is seeming that you want to open a custom error page on a particular page request fails (#404) like if page is not found?
 
yeah that custom error thing is not working in my site.... :(


i dont know what to do ??
 
I think your domain administrator will help you out in this case. 8)
 
hey sanket it is very difficult to contact him each and every time..

there must some way to fix this .htaccess thing...

i wonder why it is not working ???
 
Let me know that in htaccess other directives or instructions are working or not.
 
This is correct written I couldn't find anything wrong in this.
 
hmm..

then i am unable to trace the problem !!!

u have any clue sanket ??
 
You can do one thing, check your all APACHE settings now this is only one way is remaining.
 
Back
Top