{"id":4644,"date":"2020-07-22T20:21:49","date_gmt":"2020-07-22T17:21:49","guid":{"rendered":"https:\/\/elzero.org\/?p=4644"},"modified":"2020-07-22T20:25:13","modified_gmt":"2020-07-22T17:25:13","slug":"laravel-virtual-hosts-with-advanced-examples","status":"publish","type":"post","link":"https:\/\/elzero.org\/old\/laravel-virtual-hosts-with-advanced-examples\/","title":{"rendered":"Virtual Hosts With Advanced Examples"},"content":{"rendered":"<h3>\u0627\u0644 Code \u0627\u0644\u0645\u0648\u062c\u0648\u062f \u0641\u064a \u0627\u0644\u062f\u0631\u0633<\/h3>\r\n\r\n<div class=\"file-name\">C:\\xampp\\apache\\conf\\extra\\httpd-vhosts.conf<\/div>\r\n<script type=\"text\/plain\" class=\"language-php\">\r\n<VirtualHost *>\r\n  DocumentRoot \"C:\\xampp\\htdocs\"\r\n  ServerName elzero\r\n<\/VirtualHost>\r\n\r\n<VirtualHost *>\r\n  DocumentRoot \"c:\/xampp\/htdocs\/ProjectOne\"\r\n  ServerName project1.local\r\n\t<Directory \"c:\/xampp\/htdocs\/ProjectOne\">\r\n\t\tAllowOverride All\r\n\t\tRequire local\r\n\t<\/Directory>\r\n<\/VirtualHost>\r\n\r\n<VirtualHost *>\r\n  DocumentRoot \"c:\/xampp\/htdocs\/ProjectTwo\"\r\n  ServerName project2.local\r\n\t<Directory \"c:\/xampp\/htdocs\/ProjectTwo\">\r\n\t\tAllowOverride All\r\n\t\tRequire local\r\n\t<\/Directory>\r\n<\/VirtualHost>\r\n\r\n<VirtualHost *>\r\n  DocumentRoot \"c:\/xampp\/htdocs\/ProjectThree\"\r\n  ServerName project3.local\r\n\t<Directory \"c:\/xampp\/htdocs\/ProjectThree\">\r\n\t\tAllowOverride All\r\n\t\tRequire local\r\n\t<\/Directory>\r\n<\/VirtualHost>\r\n<\/script>\r\n\r\n<div class=\"file-name\">C:\\Windows\\System32\\drivers\\etc\\hosts<\/div>\r\n<script type=\"text\/plain\" class=\"language-php\">\r\n127.0.0.1       localhost\r\n127.0.0.1       project1.local\r\n127.0.0.1       project2.local\r\n127.0.0.1       project3.local\r\n<\/script>\r\n\r\n<h3>\u0645\u0644\u0627\u062d\u0638\u0627\u062a \u0627\u0644\u062f\u0631\u0633<\/h3>\r\n\u0644\u0627 \u062a\u0648\u062c\u062f","protected":false},"excerpt":{"rendered":"<p>\u0627\u0644 Code \u0627\u0644\u0645\u0648\u062c\u0648\u062f \u0641\u064a \u0627\u0644\u062f\u0631\u0633 C:\\xampp\\apache\\conf\\extra\\httpd-vhosts.conf C:\\Windows\\System32\\drivers\\etc\\hosts \u0645\u0644\u0627\u062d\u0638\u0627\u062a \u0627\u0644\u062f\u0631\u0633 \u0644\u0627 \u062a\u0648\u062c\u062f<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[715],"tags":[],"class_list":["post-4644","post","type-post","status-publish","format-standard","hentry","category-mastering-laravel"],"_links":{"self":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/4644","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/comments?post=4644"}],"version-history":[{"count":3,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/4644\/revisions"}],"predecessor-version":[{"id":4647,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/4644\/revisions\/4647"}],"wp:attachment":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/media?parent=4644"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/categories?post=4644"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/tags?post=4644"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}