{"id":470,"date":"2012-11-08T19:50:43","date_gmt":"2012-11-09T00:50:43","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2012\/11\/08\/disable-cpanel-scgi-bin-directory\/"},"modified":"2023-08-22T10:07:12","modified_gmt":"2023-08-22T14:07:12","slug":"disable-cpanel-scgi-bin-directory","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/","title":{"rendered":"Disable cPanel \/scgi-bin directory"},"content":{"rendered":"<p>In this article we\u2019ll discuss how to disable the cPanel\u00a0<strong>\/scgi-bin<\/strong> directory, so that if your website failed a PCI scan due to this being found you can have have it re-scanned and then pass the scan. If you read our previous article on <a href=\"\/support\/security\/how-to-pass-pci-scans\/\">how to pass PCI compliance scans<\/a>, having the\u00a0<strong>\/scgi-bin<\/strong> directory enable is a common way to fail a PCI scan of your website.<\/p>\n\n\n\n<p>A PCI scanning vendor typically picks up on these issues due to the way the\u00a0<strong>\/usr\/local\/cpanel\/cgi-sys\/scgiwrap<\/strong> script functions. Essentially this script is used to run CGI scripts as the cPanel user, instead of the web-server\u2019s\u00a0<strong>nobody<\/strong> user. When a PCI scan is taking place, typically they will attempt to request a wide range of known problematic scripts, in most cases the majority of those scripts won\u2019t exist on your website. But with the way the requests are handled the server responds back with a\u00a0<strong>HTTP 200 OK<\/strong> response displaying a page that the script wasn\u2019t found, instead of a\u00a0<strong>HTTP 404 Not Found<\/strong> response.<\/p>\n\n\n\n<p>So the PCI scanning company thinks that the actual problematic script is present on the server, when in reality if it was a human looking at the page it could be determined that the problematic script didn\u2019t actually exist, and wasn\u2019t executed. You can use the steps below to disable access to the\u00a0<strong>\/scgi-bin<\/strong> directory so that you can pass a PCI scan. These steps will require having <a href=\"\/support\/server\/ssh\/root-access-faq\/\">root access<\/a> to either your VPS or dedicated server.<\/p>\n\n\n\n<ol class=\"article_list wp-block-list\">\n<li><a href=\"\/support\/server\/ssh\/how-to-login-ssh\/\">Login to your server via SSH<\/a> as the root user.<\/li>\n\n\n\n<li>First make a copy of your cPanel Apache configuration file with the following command:\n<code>cp -frp \/var\/cpanel\/conf\/apache\/main{.,backup}<\/code>\n<p>This will create a <strong>\/var\/cpanel\/conf\/apache\/main.backup<\/strong> file for you.<\/p>\n<\/li>\n\n\n\n<li>Now you\u2019ll want to edit the cPanel Apache configuration file with the following command, in this example we are using the <strong>vim<\/strong> text editor:\n<code>vim \/var\/cpanel\/conf\/apache\/main<\/code>\n<\/li>\n<\/ol>\n\n\n\n<p>When <strong>vim<\/strong> is loaded you\u2019ll be in edit mode, meaning if you type something it doesn\u2019t get inserted into the document.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_vim-editing-apache-edit-mode.png\" rel=\"lightbox-0\"><img decoding=\"async\" width=\"520\" height=\"512\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_vim-editing-apache-edit-mode.png\" class=\"optimized-lcp-image\" alt=\"vim-editing-apache-edit-mode\" loading=\"eager\" fetchpriority=\"high\" sizes=\"(max-width: 768px) 100vw, 768px\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_vim-editing-apache-edit-mode.png 520w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_vim-editing-apache-edit-mode-300x295.png 300w\"><\/a><\/figure>\n\n\n\n<div style=\"clear: both;\">\u00a0<\/div>\n\n\n\n<p>We want to look for\u00a0<strong>scgiwrap<\/strong>, so first type in a forward slash\u00a0<strong>\/<\/strong> to enter find mode, the cursor will drop to the bottom of the screen, then type in\u00a0<strong>scgiwrap<\/strong> and hit\u00a0<strong>Enter<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_vim-editing-apache-find-mode.png\" rel=\"lightbox-0\"><img decoding=\"async\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_vim-editing-apache-find-mode.png\" alt=\"vim-editing-apache-find-mode\"><\/a><\/figure>\n\n\n\n<div style=\"clear: both;\">\u00a0<\/div>\n\n\n\n<p>Now you should be dropped directly to the line containing a reference to the\u00a0<strong>scgiwrap<\/strong> script, with that word highlighted.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_vim-editing-apache-find-results.png\" rel=\"lightbox-0\"><img decoding=\"async\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_vim-editing-apache-find-results.png\" alt=\"vim-editing-apache-find-results\"><\/a><\/figure>\n\n\n\n<div style=\"clear: both;\">\u00a0<\/div>\n\n\n\n<p>Press the <strong>Up<\/strong> arrow one time on your keyboard to move above the line highlighted, which should just contain a single dash mark <strong>\u2013<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_vim-editing-apache-press-up.png\" rel=\"lightbox-0\"><img decoding=\"async\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_vim-editing-apache-press-up.png\" alt=\"vim-editing-apache-press-up\"><\/a><\/figure>\n\n\n\n<div style=\"clear: both;\">\u00a0<\/div>\n\n\n\n<p>In <strong>vim<\/strong> when you\u2019re still in edit mode, you can press <strong>dd<\/strong> which is simply pressing the <strong>d<\/strong> key twice, to delete a line. So you\u2019ll want to delete the 3 lines regarding the <strong>scgiwrap<\/strong> script.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_vim-editing-apache-delete-lines.png\" rel=\"lightbox-0\"><img decoding=\"async\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_vim-editing-apache-delete-lines.png\" alt=\"vim-editing-apache-delete-lines\"><\/a><\/figure>\n\n\n\n<div style=\"clear: both;\">\u00a0<\/div>\n\n\n\n<p>Now type in a colon <strong>:<\/strong> to enter command mode, then type in <strong>wq<\/strong> for <strong>w<\/strong>rite and <strong>q<\/strong>uit, the hit <strong>Enter<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_vim-editing-apache-save.png\" rel=\"lightbox-0\"><img decoding=\"async\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_vim-editing-apache-save.png\" alt=\"vim-editing-apache-save\"><\/a><\/figure>\n\n\n\n<div style=\"clear: both;\">\u00a0<\/div>\n\n\n\n<ol class=\"article_list wp-block-list\">\n<li>Now you\u2019ll want to rebuild the Apache configuration with the following command:\n<code>\/scripts\/rebuildhttpdconf<\/code>\n\n<p>This should give you back the following response:<\/p>\n\n<code>Built \/usr\/local\/apache\/conf\/httpd.conf OK<\/code>\n\n<\/li>\n\n\n\n<li>Finally restart the Apache service with the following command:\n\n<code>service httpd restart<\/code>\n<\/li>\n\n\n\n<li>Below shows the before and after from turning this off, the first one is with <strong>\/scgi-bin<\/strong> still being enabled, and the second is with it disabled following the instructions above.\n<figure><a href=\"\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_cgi-sys-access-before.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"std_ss\" style=\"width: 48%; float: left;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_cgi-sys-access-before.png\" alt=\"cgi-sys-access-before\" width=\"1123\" height=\"279\"><\/a><\/figure><p><\/p>\n<div style=\"clear: both;\">\u00a0<\/div>\n<figure><a href=\"\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_cgi-sys-access-after.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"std_ss\" style=\"width: 48%; float: left;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_cgi-sys-access-after.png\" alt=\"cgi-sys-access-after\" width=\"1121\" height=\"277\"><\/a><\/figure><p><\/p>\n<div style=\"clear: both;\">\u00a0<\/div>\n<\/li>\n<\/ol>\n\n\n\n<p>You should now be able to pass a PCI scan that had previously failed for the <strong>\/scgi-bin\/<\/strong> directory being accessible. If needed, you can also <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-disable-cpanel-on-your-dedicated-server\/\">disable other cPanel features<\/a> that could impact your overall system health and compliance.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article we&#8217;ll discuss how to disable the cPanel&nbsp;\/scgi-bin directory, so that if your website failed a PCI scan due to this being found you can have have it re-scanned and then pass the scan. If you read our previous article on how to pass PCI compliance scans, having the&nbsp;\/scgi-bin directory enable is a<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[51],"tags":[],"class_list":["post-470","post","type-post","status-publish","format-standard","hentry","category-cpanel"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Disable cPanel \/scgi-bin directory | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"In this article we&#039;ll discuss how to disable the cPanel \/scgi-bin directory, so that if your website failed a PCI scan due to this being found you can have have it re-scanned and then pass the scan.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Disable cPanel \/scgi-bin directory | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"In this article we&#039;ll discuss how to disable the cPanel \/scgi-bin directory, so that if your website failed a PCI scan due to this being found you can have have it re-scanned and then pass the scan.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2012-11-09T00:50:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-22T14:07:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_vim-editing-apache-edit-mode.png\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"Disable cPanel \/scgi-bin directory\",\"datePublished\":\"2012-11-09T00:50:43+00:00\",\"dateModified\":\"2023-08-22T14:07:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/\"},\"wordCount\":598,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_vim-editing-apache-edit-mode.png\",\"articleSection\":[\"cPanel\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/\",\"name\":\"Disable cPanel \/scgi-bin directory | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_vim-editing-apache-edit-mode.png\",\"datePublished\":\"2012-11-09T00:50:43+00:00\",\"dateModified\":\"2023-08-22T14:07:12+00:00\",\"description\":\"In this article we'll discuss how to disable the cPanel \/scgi-bin directory, so that if your website failed a PCI scan due to this being found you can have have it re-scanned and then pass the scan.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_vim-editing-apache-edit-mode.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_vim-editing-apache-edit-mode.png\",\"width\":520,\"height\":512,\"caption\":\"vim-editing-apache-edit-mode\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Disable cPanel \/scgi-bin directory\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Disable cPanel \/scgi-bin directory | InMotion Hosting","description":"In this article we'll discuss how to disable the cPanel \/scgi-bin directory, so that if your website failed a PCI scan due to this being found you can have have it re-scanned and then pass the scan.","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:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/","og_locale":"en_US","og_type":"article","og_title":"Disable cPanel \/scgi-bin directory | InMotion Hosting","og_description":"In this article we'll discuss how to disable the cPanel \/scgi-bin directory, so that if your website failed a PCI scan due to this being found you can have have it re-scanned and then pass the scan.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2012-11-09T00:50:43+00:00","article_modified_time":"2023-08-22T14:07:12+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_vim-editing-apache-edit-mode.png","type":"","width":"","height":""}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"Disable cPanel \/scgi-bin directory","datePublished":"2012-11-09T00:50:43+00:00","dateModified":"2023-08-22T14:07:12+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/"},"wordCount":598,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_vim-editing-apache-edit-mode.png","articleSection":["cPanel"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/","name":"Disable cPanel \/scgi-bin directory | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_vim-editing-apache-edit-mode.png","datePublished":"2012-11-09T00:50:43+00:00","dateModified":"2023-08-22T14:07:12+00:00","description":"In this article we'll discuss how to disable the cPanel \/scgi-bin directory, so that if your website failed a PCI scan due to this being found you can have have it re-scanned and then pass the scan.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_vim-editing-apache-edit-mode.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/website_website-troubleshooting_pci-compliance_vim-editing-apache-edit-mode.png","width":520,"height":512,"caption":"vim-editing-apache-edit-mode"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/disable-cpanel-scgi-bin-directory\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Disable cPanel \/scgi-bin directory"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":51,"name":"cPanel","slug":"cpanel","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/470","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=470"}],"version-history":[{"count":4,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/470\/revisions"}],"predecessor-version":[{"id":106185,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/470\/revisions\/106185"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=470"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=470"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=470"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}