{"id":72,"date":"2018-10-17T03:17:43","date_gmt":"2018-10-17T03:17:43","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/17\/how-to-list-all-virtual-hosts-in-apache-web-server\/"},"modified":"2018-10-17T03:17:43","modified_gmt":"2018-10-17T03:17:43","slug":"how-to-list-all-virtual-hosts-in-apache-web-server","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/17\/how-to-list-all-virtual-hosts-in-apache-web-server\/","title":{"rendered":"How to List All Virtual Hosts in Apache Web Server"},"content":{"rendered":"<p>by <a href=\"https:\/\/www.tecmint.com\/author\/aaronkili\/\">Aaron Kili<\/a> | Published: October 16, 2018 | <\/p>\n<p>October 16, 2018 <\/p>\n<p>&#8216;,<br \/>\nenableHover: false,<br \/>\nenableTracking: true,<br \/>\nbuttons: { twitter: },<br \/>\nclick: function(api, options){<br \/>\napi.simulateClick();<br \/>\napi.openPopup(&#8216;twitter&#8217;);<br \/>\n}<br \/>\n});<br \/>\njQuery(&#8216;#facebook&#8217;).sharrre({<br \/>\nshare: {<br \/>\nfacebook: true<br \/>\n},<br \/>\ntemplate: &#8216;<\/p>\n<p><a href=\"#\"><\/p>\n<p><\/a><\/p>\n<p>&#8216;,<br \/>\nenableHover: false,<br \/>\nenableTracking: true,<br \/>\nclick: function(api, options){<br \/>\napi.simulateClick();<br \/>\napi.openPopup(&#8216;facebook&#8217;);<br \/>\n}<br \/>\n});<br \/>\njQuery(&#8216;#googleplus&#8217;).sharrre({<br \/>\nshare: {<br \/>\ngooglePlus: true<br \/>\n},<br \/>\ntemplate: &#8216;<\/p>\n<p><a href=\"#\"><\/p>\n<p><\/a><\/p>\n<p>&#8216;,<br \/>\nenableHover: false,<br \/>\nenableTracking: true,<br \/>\nurlCurl: &#8216;https:\/\/www.tecmint.com\/wp-content\/themes\/tecmint\/js\/sharrre.php&#8217;,<br \/>\nclick: function(api, options){<br \/>\napi.simulateClick();<br \/>\napi.openPopup(&#8216;googlePlus&#8217;);<br \/>\n}<br \/>\n});<br \/>\njQuery(&#8216;#linkedin&#8217;).sharrre({<br \/>\nshare: {<br \/>\nlinkedin: true<br \/>\n},<br \/>\ntemplate: &#8216;<\/p>\n<p><a href=\"#\"><\/p>\n<p><\/a><\/p>\n<p>&#8216;,<br \/>\nenableHover: false,<br \/>\nenableTracking: true,<br \/>\nbuttons: {<br \/>\nlinkedin: {<br \/>\ndescription: &#8216;How to List All Virtual Hosts in Apache Web Server&#8217;,media: &#8216;https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/10\/List-All-Virtual-Hosts-in-Apache-Web-Server.png&#8217; }<br \/>\n},<br \/>\nclick: function(api, options){<br \/>\napi.simulateClick();<br \/>\napi.openPopup(&#8216;linkedin&#8217;);<br \/>\n}<br \/>\n});<br \/>\n\/\/ Scrollable sharrre bar, contributed by Erik Frye. Awesome!<br \/>\nvar shareContainer = jQuery(&#8220;.sharrre-container&#8221;),<br \/>\nheader = jQuery(&#8216;#header&#8217;),<br \/>\npostEntry = jQuery(&#8216;.entry&#8217;),<br \/>\n$window = jQuery(window),<br \/>\ndistanceFromTop = 20,<br \/>\nstartSharePosition = shareContainer.offset(),<br \/>\ncontentBottom = postEntry.offset().top + postEntry.outerHeight(),<br \/>\ntopOfTemplate = header.offset().top;<br \/>\ngetTopSpacing();<br \/>\nshareScroll = function(){<br \/>\nif($window.width() &gt; 719){<br \/>\nvar scrollTop = $window.scrollTop() + topOfTemplate,<br \/>\nstopLocation = contentBottom &#8211; (shareContainer.outerHeight() + topSpacing);<br \/>\nif(scrollTop &gt; stopLocation){<br \/>\nshareContainer.offset();<br \/>\n}<br \/>\nelse if(scrollTop &gt;= postEntry.offset().top-topSpacing){<br \/>\nshareContainer.offset();<br \/>\n}else if(scrollTop 1024)<br \/>\ntopSpacing = distanceFromTop + jQuery(&#8216;.nav-wrap&#8217;).outerHeight();<br \/>\nelse<br \/>\ntopSpacing = distanceFromTop;<br \/>\n}<br \/>\n});<\/p>\n<h2>If You Appreciate What We Do Here On TecMint, You Should Consider:<\/h2>\n<ol>\n<li>Stay Connected to: <a href=\"https:\/\/bit.ly\/1TP6lcM\" target=\"_blank\">Twitter<\/a> | <a href=\"https:\/\/bit.ly\/1rDYrdj\" target=\"_blank\">Facebook<\/a> | <a href=\"https:\/\/bit.ly\/24J6lna\" target=\"_blank\">Google Plus<\/a><\/li>\n<li>Subscribe to our email updates: <a href=\"https:\/\/bit.ly\/2dhBpWQ\" target=\"_blank\">Sign Up Now<\/a><\/li>\n<li>Get your own <a href=\"https:\/\/www.bluehost.com\/track\/tecmint\/\" target=\"_blank\">self-hosted blog with a Free Domain<\/a> at ($3.45\/month).<\/li>\n<li>Become a Supporter &#8211; <a href=\"https:\/\/www.tecmint.com\/donate-to-tecmint\/\" target=\"_blank\">Make a contribution via PayPal<\/a><\/li>\n<li>Support us by <a href=\"https:\/\/www.tecmint.com\/linux-books-in-pdf-format\/\" target=\"_blank\">purchasing our premium books<\/a> in PDF format.<\/li>\n<li>Support us by taking our <a href=\"https:\/\/deals.tecmint.com\/search?utf8=%E2%9C%93&amp;query=linux\" target=\"_blank\">online Linux courses<\/a><\/li>\n<\/ol>\n<p>We are thankful for your never ending support.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"128\" src=\"https:\/\/www.tecmint.com\/wp-content\/plugins\/lazy-load\/images\/1x1.trans.gif\" width=\"128\" \/><\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/author\/aaronkili\/\" target=\"_blank\">View all Posts<\/a><\/p>\n<p>Aaron Kili<\/p>\n<p>Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.<\/p>\n<p>Your name can also be listed here. Got a tip? <a href=\"https:\/\/www.tecmint.com\/submit-articles\/\" target=\"_blank\">Submit it here<\/a> to become an <b>TecMint<\/b> author.<\/p>\n<p> <a href=\"https:\/\/www.tecmint.com\/list-enabled-virtual-hosts-in-apache-web-server\/\" target=\"_blank\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>by Aaron Kili | Published: October 16, 2018 | October 16, 2018 &#8216;, enableHover: false, enableTracking: true, buttons: { twitter: }, click: function(api, options){ api.simulateClick(); api.openPopup(&#8216;twitter&#8217;); } }); jQuery(&#8216;#facebook&#8217;).sharrre({ share: { facebook: true }, template: &#8216; &#8216;, enableHover: false, enableTracking: true, click: function(api, options){ api.simulateClick(); api.openPopup(&#8216;facebook&#8217;); } }); jQuery(&#8216;#googleplus&#8217;).sharrre({ share: { googlePlus: true }, template: &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2018\/10\/17\/how-to-list-all-virtual-hosts-in-apache-web-server\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to List All Virtual Hosts in Apache Web Server&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-72","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/72","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=72"}],"version-history":[{"count":0,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/72\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=72"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=72"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=72"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}