[B]503 Service Unavailable[/B]
The server is currently unavailable (because it is overloaded or down for maintenance).Generally, this is a temporary state.
This means that the site is still functioning as it recognises your request, but it cannot provide a service. I don't know if you can redirect a 503. I know you can create custom 404 (page not found) pages, but haven't come across 503 custom pages. I assume that they would show the generic 503 message - so no change. Perhaps httpd.conf directives may help. I will look, but no promises. If I find something - I'll get back - don't hold your breath.
Found loads on forcing a 503 error, but next to nothing about how to address it.
Thanks Dear ardav
503 error solves by refresh the page , that's why i need a something make it auto refresh if this error appear instead of user refresh it by himself , and maybe the user doesn't refresh and close the page , so i lost users
I trust your experience , i'm waiting your come back
I was also thinking the same way about .htaccess and also was worried about infinite loop , but i'm not sure about it , is there any one certainity about if it may cause a loop or it would be working ? because to test it i have to browse the website till the error comes , so i don't know when it would be come
Not sure. I guess if you're getting a server unavailable message, you're not able to access the server(which contains the .htaccess file and refresh.php) so maybe it's not possible. Like I said, I haven't done anything with htaccess in awhile and I don't think I ever tried to redirect a 503 so maybe someone else can help. Sorry.