{"id":5776,"date":"2013-10-08T16:05:00","date_gmt":"2013-10-08T16:05:00","guid":{"rendered":""},"modified":"2026-04-18T22:44:47","modified_gmt":"2026-04-18T22:44:47","slug":"how-can-i-return-a-503-status-in-apache-without-invoking-external-scripts","status":"publish","type":"post","link":"https:\/\/hellem.org\/wblog\/?p=5776","title":{"rendered":"How can I return a 503 status in apache without invoking external scripts"},"content":{"rendered":"<p>This blog post <a href=\"http:\/\/serverfault.com\/questions\/53061\/how-can-i-return-a-503-status-in-apache-without-invoking-external-scripts\">How can I return a 503 status in apache without invoking external scripts<\/a> basically explains it all, but I had to struggle a bit before I completely understood the needed arguments. So now I have the following lines at the end of the httpd.conf file (not for this domain but a server at work \ud83d\ude42 ).<br \/>\n<code class=\"codespan\"><br \/>\nRedirect 503 \/test503<br \/>\nRedirect 404 \/test404<br \/>\nRedirect 501 \/test501<br \/>\nRedirect 504 \/test504<br \/>\nRedirect 505 \/test505<br \/>\nRedirect 502 \/test502<br \/>\nRedirect 506 \/test506<br \/>\n<\/code><\/p>\n<p>Note that you have to make sure that mod_alias is enabled<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This blog post How can I return a 503 status in apache without invoking external scripts basically explains it all, but I had to struggle a bit before I completely understood the needed arguments. So now I have the following lines at the end of the httpd.conf file (not for this domain but a server [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[47],"tags":[],"class_list":["post-5776","post","type-post","status-publish","format-standard","hentry","category-work-geek"],"_links":{"self":[{"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/posts\/5776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5776"}],"version-history":[{"count":1,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/posts\/5776\/revisions"}],"predecessor-version":[{"id":11851,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=\/wp\/v2\/posts\/5776\/revisions\/11851"}],"wp:attachment":[{"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hellem.org\/wblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}