{"id":1454,"date":"2022-06-11T15:00:57","date_gmt":"2022-06-11T15:00:57","guid":{"rendered":"https:\/\/pheonixsolutions.com\/knowledge-base\/?p=1454"},"modified":"2022-06-11T15:02:33","modified_gmt":"2022-06-11T15:02:33","slug":"how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/","title":{"rendered":"How to recover if moved websites redirects to cgi-sys\/movingpage.cgi"},"content":{"rendered":"\n<p>Prerequisites<\/p>\n\n\n\n<p>Root access to the CentOS system<\/p>\n\n\n\n<p>Implementation<\/p>\n\n\n\n<p>There are times when the express transfer is used and the destination server has redirect entries in .htaccess files from an incomplete transfer process. This leaves .htaccess files with<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>RedirectMatch \\.(dynamiccontent|pl|plx|perl|cgi|php|php4|php4|php6|php3|shtml)$<a href=\"http:\/\/sever.something.com\/cgi-sys\/movingpage.cgi\"> http:\/\/sever.something.com\/cgi-sys\/movingpage.cgi<\/a><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><br>Those entries will need to be removed.<\/p>\n\n\n\n<p><strong>Step 1:<\/strong> There is a script that can remove this line automatically<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>\/usr\/local\/cpanel\/scripts\/xfertool &#8211;unblockdynamiccontent cpanelusername<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Step 2:<\/strong> The following can be used if you need to complete this on all accounts on the server<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>cut -d &#8216; &#8216; -f2 \/etc\/trueuserdomains | while read user; do \/usr\/local\/cpanel\/scripts\/xfertool &#8211;unblockdynamiccontent $user ; done<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>After this has been completed there shouldn&#8217;t be any sites loading with movingpage.cgi.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Prerequisites Root access to the CentOS system Implementation There are times when the express transfer is used and the destination server has redirect entries in .htaccess files from an incomplete transfer process. This leaves .htaccess files with RedirectMatch \\.(dynamiccontent|pl|plx|perl|cgi|php|php4|php4|php6|php3|shtml)$ http:\/\/sever.something.com\/cgi-sys\/movingpage.cgi Those entries will need to be removed. Step 1: There is a script that can ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[33],"tags":[160,5,10,159],"class_list":["post-1454","post","type-post","status-publish","format-standard","hentry","category-whm","tag-cgi-sys-movingpage-cgi","tag-cpanel","tag-php","tag-redirects"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to recover if moved websites redirects to cgi-sys\/movingpage.cgi - PheonixSolutions Knowledge-Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to recover if moved websites redirects to cgi-sys\/movingpage.cgi - PheonixSolutions Knowledge-Base\" \/>\n<meta property=\"og:description\" content=\"Prerequisites Root access to the CentOS system Implementation There are times when the express transfer is used and the destination server has redirect entries in .htaccess files from an incomplete transfer process. This leaves .htaccess files with RedirectMatch .(dynamiccontent|pl|plx|perl|cgi|php|php4|php4|php6|php3|shtml)$ http:\/\/sever.something.com\/cgi-sys\/movingpage.cgi Those entries will need to be removed. Step 1: There is a script that can ..Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/\" \/>\n<meta property=\"og:site_name\" content=\"PheonixSolutions Knowledge-Base\" \/>\n<meta property=\"article:published_time\" content=\"2022-06-11T15:00:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-11T15:02:33+00:00\" \/>\n<meta name=\"author\" content=\"knowledge-base\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"knowledge-base\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/11\\\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/11\\\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\\\/\"},\"author\":{\"name\":\"knowledge-base\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/24ddfd756e23cf1ce3c8e5f0fb309e6b\"},\"headline\":\"How to recover if moved websites redirects to cgi-sys\\\/movingpage.cgi\",\"datePublished\":\"2022-06-11T15:00:57+00:00\",\"dateModified\":\"2022-06-11T15:02:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/11\\\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\\\/\"},\"wordCount\":142,\"commentCount\":0,\"keywords\":[\"cgi-sys\\\/movingpage.cgi\",\"cPanel\",\"PHP\",\"redirects\"],\"articleSection\":[\"WHM\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/11\\\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/11\\\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/11\\\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\\\/\",\"name\":\"How to recover if moved websites redirects to cgi-sys\\\/movingpage.cgi - PheonixSolutions Knowledge-Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#website\"},\"datePublished\":\"2022-06-11T15:00:57+00:00\",\"dateModified\":\"2022-06-11T15:02:33+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/24ddfd756e23cf1ce3c8e5f0fb309e6b\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/11\\\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/11\\\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2022\\\/06\\\/11\\\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to recover if moved websites redirects to cgi-sys\\\/movingpage.cgi\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#website\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/\",\"name\":\"PheonixSolutions Knowledge-Base\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/24ddfd756e23cf1ce3c8e5f0fb309e6b\",\"name\":\"knowledge-base\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7203df2304073f631b2bf04267130cc48b8b1a82bb0ec98285125d6bc3cb8ade?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7203df2304073f631b2bf04267130cc48b8b1a82bb0ec98285125d6bc3cb8ade?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7203df2304073f631b2bf04267130cc48b8b1a82bb0ec98285125d6bc3cb8ade?s=96&d=mm&r=g\",\"caption\":\"knowledge-base\"},\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/author\\\/knowledge-base\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to recover if moved websites redirects to cgi-sys\/movingpage.cgi - PheonixSolutions Knowledge-Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/","og_locale":"en_US","og_type":"article","og_title":"How to recover if moved websites redirects to cgi-sys\/movingpage.cgi - PheonixSolutions Knowledge-Base","og_description":"Prerequisites Root access to the CentOS system Implementation There are times when the express transfer is used and the destination server has redirect entries in .htaccess files from an incomplete transfer process. This leaves .htaccess files with RedirectMatch .(dynamiccontent|pl|plx|perl|cgi|php|php4|php4|php6|php3|shtml)$ http:\/\/sever.something.com\/cgi-sys\/movingpage.cgi Those entries will need to be removed. Step 1: There is a script that can ..Read more","og_url":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/","og_site_name":"PheonixSolutions Knowledge-Base","article_published_time":"2022-06-11T15:00:57+00:00","article_modified_time":"2022-06-11T15:02:33+00:00","author":"knowledge-base","twitter_card":"summary_large_image","twitter_misc":{"Written by":"knowledge-base","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/"},"author":{"name":"knowledge-base","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/24ddfd756e23cf1ce3c8e5f0fb309e6b"},"headline":"How to recover if moved websites redirects to cgi-sys\/movingpage.cgi","datePublished":"2022-06-11T15:00:57+00:00","dateModified":"2022-06-11T15:02:33+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/"},"wordCount":142,"commentCount":0,"keywords":["cgi-sys\/movingpage.cgi","cPanel","PHP","redirects"],"articleSection":["WHM"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/","name":"How to recover if moved websites redirects to cgi-sys\/movingpage.cgi - PheonixSolutions Knowledge-Base","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#website"},"datePublished":"2022-06-11T15:00:57+00:00","dateModified":"2022-06-11T15:02:33+00:00","author":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/24ddfd756e23cf1ce3c8e5f0fb309e6b"},"breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2022\/06\/11\/how-to-recover-if-moved-websites-redirects-to-cgi-sys-movingpage-cgi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"How to recover if moved websites redirects to cgi-sys\/movingpage.cgi"}]},{"@type":"WebSite","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#website","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/","name":"PheonixSolutions Knowledge-Base","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pheonixsolutions.com\/knowledge-base\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/24ddfd756e23cf1ce3c8e5f0fb309e6b","name":"knowledge-base","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/7203df2304073f631b2bf04267130cc48b8b1a82bb0ec98285125d6bc3cb8ade?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/7203df2304073f631b2bf04267130cc48b8b1a82bb0ec98285125d6bc3cb8ade?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7203df2304073f631b2bf04267130cc48b8b1a82bb0ec98285125d6bc3cb8ade?s=96&d=mm&r=g","caption":"knowledge-base"},"url":"https:\/\/pheonixsolutions.com\/knowledge-base\/author\/knowledge-base\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/1454","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/comments?post=1454"}],"version-history":[{"count":3,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/1454\/revisions"}],"predecessor-version":[{"id":1457,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/1454\/revisions\/1457"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=1454"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/categories?post=1454"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/tags?post=1454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}