| Welcome to WebmasterWorld Guest from 18.104.22.168 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|ErrorDocument 503 based on server name (language specific 503 page)|
| 7:16 am on Jun 25, 2013 (gmt 0)|
I want to show a maintenance page based on the servername so it show the right language. Is it possible to achieve something like this?
ErrorDocument 503 http://maintenance.com/com
ErrorDocument 503 http://maintenance.com/nl
ErrorDocument 503 http://maintenance.com/it
ErrorDocument 503 http://maintenance.com/default
| 9:19 am on Jun 25, 2013 (gmt 0)|
ErrorDocument 503 /error503.php
In the script, generate or "include" the correct information for the viewer based on the requested hostname.
NEVER specify protocol and hostname in the ErrorDocument directive. That will generate a 302 response, not the one you wanted.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved