{"id":8917,"date":"2021-09-10T06:35:20","date_gmt":"2021-09-10T06:35:20","guid":{"rendered":"https:\/\/www.scmgalaxy.com\/tutorials\/?p=8917"},"modified":"2021-09-10T07:18:08","modified_gmt":"2021-09-10T07:18:08","slug":"how-to-secure-your-apache-server","status":"publish","type":"post","link":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-secure-your-apache-server\/","title":{"rendered":"How to Secure Your Apache Server"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">1.Enable automatic updates<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Given that the LAMP stack is based on Linux and that the entire open-source community is working to enhance it, it is also deemed secure. All security updates and patches are accessible as an automatic unattended install on an Ubuntu VPS as soon as they are released in the Ubuntu repos, so make sure you configure your system to automatically install them if you are concerned about security.If you don&#8217;t enable this option on your server and don&#8217;t manually install the latest upgrades and patches, you&#8217;re placing your server at risk of being hacked.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Install the unattended-upgrades package to enable automatic unattended upgrades.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo apt-get install unattended-upgrades\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Edit the <strong>\/etc\/apt\/apt.conf.d\/50unattended-upgrades<\/strong> file to specify which package categories should be upgraded automatically.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. Configure firewall<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Another very important aspect of overall security is having a properly set firewall. ufw is Ubuntu&#8217;s default firewall configuration tool, and it&#8217;s turned off by default. You can use the following commands to enable ufw:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo ufw enable\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Allow essential services like OpenSSH and Apache to be accessed:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo ufw allow 22\nsudo ufw allow 80\nsudo ufw allow 443\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">It&#8217;s simple to grant access to other services. Simply change the port number in the samples above to the port number of the service you wish to enable access to, and you&#8217;re done. Even if the machine is rebooted, the firewall rules will remain active.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. Disable unused services<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you have active services which you are not using, you can simply disable them. For example, if you have service like Dovecot up and running on your server and you are not using it at all, stop and disable the service using the following commands:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo systemctl stop dovecot.service\nsudo systemctl disable dovecot.service\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">4. Install Fail2ban<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Fail2ban is a service that scans log files for excessive login failures and blocks the IP address that is displaying malicious behaviour. If you don&#8217;t use two-factor or public\/private authentication techniques on services like OpenSSH, this service comes in handy. Run the following command to install Fail2ban:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo apt-get install fail2ban\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Make a copy of the default configuration file so you can make modifications without worrying about system updates overwriting them:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo cp \/etc\/fail2ban\/jail.conf \/etc\/fail2ban\/jail.local\n\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Edit the\u00a0<strong><em>jail.local<\/em>\u00a0<\/strong>file:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo nano \/etc\/fail2ban\/jail.local\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">The <strong>[sshd]<\/strong> block should look something like this:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&#x5B;sshd]\n\nenabled  = true\nport     = ssh\nfilter   = sshd\nlogpath  = \/var\/log\/auth.log\nmaxretry = 5\nbantime = 600\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">To make the modifications take effect, save the file and restart <strong>Fail2ban:<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo systemctl restart fail2ban.service\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Enable <strong>Fail2ban<\/strong> on system boot:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo systemctl enable fail2ban.service\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">5. Hide Apache sensitive information<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The default Apache setup exposes a great deal of sensitive data that can be used against the service. It&#8217;s critical to keep this information secret, therefore make a configuration file for your new settings:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo nano \/etc\/apache2\/conf-available\/custom.conf\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Copy and paste the following text:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nServerTokens Prod\nServerSignature Off\nTraceEnable Off\nOptions all -Indexes\nHeader unset ETag\nHeader always unset X-Powered-By\nFileETag None\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">If it isn&#8217;t already enabled, enable the Apache headers module:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo a2enmod headers\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Enable the following settings:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo a2enconf custom.conf\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">To make the modifications take effect, restart Apache:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo systemctl restart apache2.service\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">6. Install and enable mod_security<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Mod security is a web application firewall (WAF) that may be added to Apache as a separate module. It can be used to protect a web server from a variety of threats, including SQL injections, session hijacking, cross-site scripting, and malicious user agents. Run the instructions following to install and enable mod security:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo apt-get install libapache2-modsecurity2\nsudo a2enmod security2\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">You should setup the module and enable the OWASP ModSecurity Core Rule Set after it has been installed (CRS).<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo mv \/etc\/modsecurity\/modsecurity.conf-recommended \/etc\/modsecurity\/modsecurity.conf\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Then, open the <strong>\/etc\/modsecurity\/modsecurity.conf<\/strong> file and edit\/add the following settings:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSecRuleEngine On\nSecResponseBodyAccess Off\nSecRequestBodyLimit 8388608\nSecRequestBodyNoFilesLimit 131072\nSecRequestBodyInMemoryLimit 262144\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Save and close the file. Remove the current CRS and download the OWASP CRS by using the following commands:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo rm -rf \/usr\/share\/modsecurity-crs\nsudo git clone https:\/\/github.com\/SpiderLabs\/owasp-modsecurity-crs.git \/usr\/share\/modsecurity-crs\ncd \/usr\/share\/modsecurity-crs\nsudo mv crs-setup.conf.example crs-setup.conf\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Edit the<strong> security2.conf<\/strong> file in <strong>\/etc\/apache2\/mods-enabled\/security2.conf.<\/strong> It should resemble the following:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;lt;IfModule security2_module&gt;\n\tSecDataDir \/var\/cache\/modsecurity\n\tIncludeOptional \/etc\/modsecurity\/*.conf\n\tIncludeOptional &quot;\/usr\/share\/modsecurity-crs\/*.conf&quot;\n\tIncludeOptional &quot;\/usr\/share\/modsecurity-crs\/rules\/*.conf\n&amp;lt;\/IfModule&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Finally, to make the modifications take effect, restart Apache:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo systemctl restart apache2.service\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">7. Install and enable mod_evasive<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Mod evasive is an Apache module that can prevent DoS (Denial of Service), DDoS (Distributed Denial of Service), and brute-force assaults on the web server. Run the following command to install mod evasive on your server:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo apt-get install libapache2-mod-evasive\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Open the default configuration file\u00a0<em><strong>\/etc\/apache2\/mods-enabled\/evasive.conf<\/strong><\/em>\u00a0and edit the settings to look like those below:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n&amp;lt;IfModule mod_evasive20.c&gt;\n\tDOSPageCount        5\n\tDOSSiteCount        50\n\tDOSPageInterval     1\n\tDOSSiteInterval     1\n\tDOSBlockingPeriod   600\n\tDOSLogDir           &quot;\/var\/log\/mod_evasive&quot;\n&amp;lt;\/IfModule&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">The file should be saved and closed. Make a folder for the log files:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo mkdir \/var\/log\/mod_evasive\nsudo chown -R www-data: \/var\/log\/mod_evasive\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Restart Apache:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo systemctl restart apache2.service\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.Enable automatic updates Given that the LAMP stack is based on Linux and that the entire open-source community is working [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[4957],"tags":[420,460],"class_list":["post-8917","post","type-post","status-publish","format-standard","hentry","category-linux","tag-apache","tag-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Secure Your Apache Server - scmGalaxy<\/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:\/\/www.scmgalaxy.com\/tutorials\/how-to-secure-your-apache-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Secure Your Apache Server - scmGalaxy\" \/>\n<meta property=\"og:description\" content=\"1.Enable automatic updates Given that the LAMP stack is based on Linux and that the entire open-source community is working [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-secure-your-apache-server\/\" \/>\n<meta property=\"og:site_name\" content=\"scmGalaxy\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-10T06:35:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-10T07:18:08+00:00\" \/>\n<meta name=\"author\" content=\"Amardeep Dubey\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Amardeep Dubey\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-secure-your-apache-server\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-secure-your-apache-server\\\/\"},\"author\":{\"name\":\"Amardeep Dubey\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/097cf9059af187b39521d8641650ddda\"},\"headline\":\"How to Secure Your Apache Server\",\"datePublished\":\"2021-09-10T06:35:20+00:00\",\"dateModified\":\"2021-09-10T07:18:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-secure-your-apache-server\\\/\"},\"wordCount\":664,\"commentCount\":0,\"keywords\":[\"Apache\",\"Linux\"],\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-secure-your-apache-server\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-secure-your-apache-server\\\/\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-secure-your-apache-server\\\/\",\"name\":\"How to Secure Your Apache Server - scmGalaxy\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\"},\"datePublished\":\"2021-09-10T06:35:20+00:00\",\"dateModified\":\"2021-09-10T07:18:08+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/097cf9059af187b39521d8641650ddda\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-secure-your-apache-server\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-secure-your-apache-server\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/how-to-secure-your-apache-server\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Secure Your Apache Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/\",\"name\":\"scmGalaxy\",\"description\":\"A Platform for Software Engineers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/097cf9059af187b39521d8641650ddda\",\"name\":\"Amardeep Dubey\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/79b318f73f1ee84d7678ea32f5af8984012529c7a67c2deb7e3030dc8c6114ba?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/79b318f73f1ee84d7678ea32f5af8984012529c7a67c2deb7e3030dc8c6114ba?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/79b318f73f1ee84d7678ea32f5af8984012529c7a67c2deb7e3030dc8c6114ba?s=96&d=mm&r=g\",\"caption\":\"Amardeep Dubey\"},\"url\":\"https:\\\/\\\/www.scmgalaxy.com\\\/tutorials\\\/author\\\/amardeep\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Secure Your Apache Server - scmGalaxy","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.scmgalaxy.com\/tutorials\/how-to-secure-your-apache-server\/","og_locale":"en_US","og_type":"article","og_title":"How to Secure Your Apache Server - scmGalaxy","og_description":"1.Enable automatic updates Given that the LAMP stack is based on Linux and that the entire open-source community is working [&hellip;]","og_url":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-secure-your-apache-server\/","og_site_name":"scmGalaxy","article_published_time":"2021-09-10T06:35:20+00:00","article_modified_time":"2021-09-10T07:18:08+00:00","author":"Amardeep Dubey","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Amardeep Dubey","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-secure-your-apache-server\/#article","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-secure-your-apache-server\/"},"author":{"name":"Amardeep Dubey","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/097cf9059af187b39521d8641650ddda"},"headline":"How to Secure Your Apache Server","datePublished":"2021-09-10T06:35:20+00:00","dateModified":"2021-09-10T07:18:08+00:00","mainEntityOfPage":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-secure-your-apache-server\/"},"wordCount":664,"commentCount":0,"keywords":["Apache","Linux"],"articleSection":["Linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.scmgalaxy.com\/tutorials\/how-to-secure-your-apache-server\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-secure-your-apache-server\/","url":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-secure-your-apache-server\/","name":"How to Secure Your Apache Server - scmGalaxy","isPartOf":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website"},"datePublished":"2021-09-10T06:35:20+00:00","dateModified":"2021-09-10T07:18:08+00:00","author":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/097cf9059af187b39521d8641650ddda"},"breadcrumb":{"@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-secure-your-apache-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.scmgalaxy.com\/tutorials\/how-to-secure-your-apache-server\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/how-to-secure-your-apache-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.scmgalaxy.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"How to Secure Your Apache Server"}]},{"@type":"WebSite","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#website","url":"https:\/\/www.scmgalaxy.com\/tutorials\/","name":"scmGalaxy","description":"A Platform for Software Engineers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.scmgalaxy.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.scmgalaxy.com\/tutorials\/#\/schema\/person\/097cf9059af187b39521d8641650ddda","name":"Amardeep Dubey","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/79b318f73f1ee84d7678ea32f5af8984012529c7a67c2deb7e3030dc8c6114ba?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/79b318f73f1ee84d7678ea32f5af8984012529c7a67c2deb7e3030dc8c6114ba?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/79b318f73f1ee84d7678ea32f5af8984012529c7a67c2deb7e3030dc8c6114ba?s=96&d=mm&r=g","caption":"Amardeep Dubey"},"url":"https:\/\/www.scmgalaxy.com\/tutorials\/author\/amardeep\/"}]}},"_links":{"self":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/8917","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/comments?post=8917"}],"version-history":[{"count":2,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/8917\/revisions"}],"predecessor-version":[{"id":8920,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/posts\/8917\/revisions\/8920"}],"wp:attachment":[{"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/media?parent=8917"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/categories?post=8917"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scmgalaxy.com\/tutorials\/wp-json\/wp\/v2\/tags?post=8917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}