{"id":32,"date":"2008-08-17T21:45:52","date_gmt":"2008-08-17T18:45:52","guid":{"rendered":"http:\/\/hgs.name\/?p=32"},"modified":"2008-09-12T18:43:16","modified_gmt":"2008-09-12T15:43:16","slug":"virtual-host","status":"publish","type":"post","link":"https:\/\/hgs.name\/?p=32","title":{"rendered":"Virtual Host"},"content":{"rendered":"<p style=\"TEXT-ALIGN: justify\">\u0412\u0438\u0440\u0442\u0443\u0430\u043b\u043d\u0438 \u0445\u043e\u0441\u0442\u043e\u0432\u0435 &#8211; \u043d\u044f\u043a\u043e\u043b\u043a\u043e web \u0430\u0434\u0440\u0435\u0441\u0430 \u043d\u0430 \u0435\u0434\u0438\u043d \u0441\u044a\u0440\u0432\u044a\u0440. \u0417\u0430\u0434\u044a\u043b\u0436\u0438\u0442\u0435\u043b\u043d\u043e \u0435 <strong>apache<\/strong> \u0434\u0430 \u0441\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0430 \u0441 \u0444\u043b\u0430\u0433 <strong>vhost<\/strong> \u0437\u0430 \u0434\u0430 \u0438\u043c\u0430 \u043f\u043e\u0434\u0440\u044a\u0436\u043a\u0430 \u043d\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043d\u0438 \u0445\u043e\u0441\u0442\u043e\u0432\u0435.<\/p>\n<p style=\"TEXT-ALIGN: justify\">\u0418\u0437\u0433\u0440\u0430\u0436\u0434\u0430\u043d\u0435 \u043d\u0430 \u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0430 \u0437\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u0435\u043d \u0445\u043e\u0441\u0442\u0438\u043d\u0433:<\/p>\n<p style=\"TEXT-ALIGN: justify\">\u0412\u044a\u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f <strong>\/var\/www\/<\/strong> \u0441\u044a\u0437\u0434\u0430\u0432\u0430\u043c\u0435 \u043f\u0430\u043f\u043a\u0430\u0442\u0430 \u0441 \u0438\u043c\u0435\u0442\u043e \u043d\u0430 \u0445\u043e\u0441\u0442\u0430 (\u043c\u043e\u0436\u0435 \u0438 \u043f\u043e\u0432\u0435\u0447\u0435 \u043e\u0442 \u0435\u0434\u043d\u0430) <strong>my-server.com<\/strong>, \u0432\u044a\u0432 \u043d\u0435\u044f \u0441\u044a\u0437\u0434\u0430\u0432\u0430\u043c\u0435 (\u0434\u0443\u0431\u043b\u0438\u0440\u0430\u043c\u0435 \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435\u0442\u043e \u043d\u0430 <strong>\/var\/www\/localhost\/<\/strong><\/p>\n<p style=\"TEXT-ALIGN: justify\"><strong>cgi-bin \u0435rror htdocs icons<\/strong> <\/p>\n<p style=\"TEXT-ALIGN: justify\">\u0412\u044a\u0432 \u043f\u0430\u043f\u043a\u0430 \/etc\/apache2\/vhosts.d\/ \u0441\u044a\u0441\u0434\u0430\u0432\u0430\u043c\u0435 \u0444\u0430\u0438\u043b \u0441 \u0438\u043c\u0435: xx_my-server.com.conf (xx &#8211; \u043f\u043e\u0440\u0435\u0434\u043d\u0438\u044f \u043d\u043e\u043c\u0435\u043d \u043d\u0430 \u0444\u0430\u0438\u043b\u0430 &#8211; 01, 02, 03 \u0438 \u0442\u043d.), \u0441\u044a\u0441 \u0441\u043b\u0435\u0434\u043d\u043e\u0442\u043e \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435:<\/p>\n<p style=\"TEXT-ALIGN: justify\">### <a href=\"http:\/\/www.my-server.com\">www.my-server.com<\/a> <\/p>\n<p style=\"TEXT-ALIGN: justify\">&lt;VirtualHost *:*&gt; <\/p>\n<p style=\"TEXT-ALIGN: justify\">DocumentRoot \/var\/www\/my-server.com\/htdocs\/ <\/p>\n<p style=\"TEXT-ALIGN: justify\">ServerName my-server.com <\/p>\n<p style=\"TEXT-ALIGN: justify\">ServerAlias my-server.com <\/p>\n<p style=\"TEXT-ALIGN: justify\">Setenv VLOG logs\/my-server.com <\/p>\n<p style=\"TEXT-ALIGN: justify\">ErrorLog logs\/my-server.com.err <\/p>\n<p style=\"TEXT-ALIGN: justify\">&lt;Directory \/var\/www\/my-server.com\/htdocs&gt; <\/p>\n<p style=\"TEXT-ALIGN: justify\">Options -Indexes FollowSymLinks MultiViews <\/p>\n<p style=\"TEXT-ALIGN: justify\">AllowOverride All Order allow,deny Allow from all <\/p>\n<p style=\"TEXT-ALIGN: justify\">&lt;\/Directory&gt; <\/p>\n<p style=\"TEXT-ALIGN: justify\">&lt;Directory \/var\/www\/my-server.com\/cgi-bin&gt; <\/p>\n<p style=\"TEXT-ALIGN: justify\">Options -ALL ExecCGI <\/p>\n<p style=\"TEXT-ALIGN: justify\">AllowOverride None Order allow,deny Allow from all <\/p>\n<p style=\"TEXT-ALIGN: justify\">&lt;\/Directory&gt; <\/p>\n<p style=\"TEXT-ALIGN: justify\">&lt;\/VirtualHost&gt; <\/p>\n<p style=\"TEXT-ALIGN: justify\">\u0412\u044a\u0432 \/etc\/apache2\/vhosts.d\/00_default_vhost.conf \u0438\u043c\u0430 \u043c\u0430\u0440\u043a\u0438\u0440\u0430\u043d\u0430 \u043e\u043f\u0446\u0438\u044f NameVirtualHost *:80, \u0440\u0435\u0441\u0442\u0430\u0440\u0442\u0438\u0440\u0430\u043c\u0435 apache \u0438 \u0430\u043a\u043e \u043d\u044f\u043c\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0438 \u043f\u0440\u043e\u0434\u044a\u043b\u0436\u0430\u0432\u0430\u043c\u0435 \u043d\u0430\u0442\u0430\u0442\u044a\u043a.<\/p>\n<p style=\"TEXT-ALIGN: justify\">\u0418\u043d\u0441\u0442\u0430\u043b\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 web \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0441 <strong>webapp-config:<\/strong><\/p>\n<p style=\"TEXT-ALIGN: justify\">webapp-config [<strong>-ICU<\/strong>] [<strong>-dghus<\/strong>] &lt;APPLICATION VERSION&gt;<\/p>\n<p style=\"TEXT-ALIGN: justify\">               webapp-config <strong>-I -h<\/strong> <a href=\"http:\/\/www.my-server.com\">www.my-server.com<\/a> -u <strong>USER <\/strong>-d <strong>\/DIR  &lt;<\/strong>App.Ver&gt;<\/p>\n<p style=\"TEXT-ALIGN: justify\"> \/usr\/sbin\/webapp-config -I -h <a href=\"http:\/\/www.lss.eu\">www.lss.eu<\/a> -u root -d \/joomla joomla 1.5.5<\/p>\n<p style=\"TEXT-ALIGN: justify\"><strong>-I<\/strong> -install, <strong>-U<\/strong> -update,<strong> -C<\/strong> -remove, <strong>-h<\/strong> e HOST, <strong>-d <\/strong>&#8211; dir,<strong> -u<\/strong> -USER, <strong>-g <\/strong>-GROUP,<strong> -s<\/strong> -SERVER<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0412\u0438\u0440\u0442\u0443\u0430\u043b\u043d\u0438 \u0445\u043e\u0441\u0442\u043e\u0432\u0435 &#8211; \u043d\u044f\u043a\u043e\u043b\u043a\u043e web \u0430\u0434\u0440\u0435\u0441\u0430 \u043d\u0430 \u0435\u0434\u0438\u043d \u0441\u044a\u0440\u0432\u044a\u0440. \u0417\u0430\u0434\u044a\u043b\u0436\u0438\u0442\u0435\u043b\u043d\u043e \u0435 apache \u0434\u0430 \u0441\u0435 \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0430 \u0441 \u0444\u043b\u0430\u0433 vhost \u0437\u0430 \u0434\u0430 \u0438\u043c\u0430 \u043f\u043e\u0434\u0440\u044a\u0436\u043a\u0430 \u043d\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043d\u0438 \u0445\u043e\u0441\u0442\u043e\u0432\u0435. \u0418\u0437\u0433\u0440\u0430\u0436\u0434\u0430\u043d\u0435 \u043d\u0430 \u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0430 \u0437\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u0435\u043d \u0445\u043e\u0441\u0442\u0438\u043d\u0433: \u0412\u044a\u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f \/var\/www\/ \u0441\u044a\u0437\u0434\u0430\u0432\u0430\u043c\u0435 \u043f\u0430\u043f\u043a\u0430\u0442\u0430 \u0441 \u0438\u043c\u0435\u0442\u043e \u043d\u0430 \u0445\u043e\u0441\u0442\u0430 (\u043c\u043e\u0436\u0435 \u0438 \u043f\u043e\u0432\u0435\u0447\u0435 \u043e\u0442 \u0435\u0434\u043d\u0430) my-server.com, \u0432\u044a\u0432 \u043d\u0435\u044f \u0441\u044a\u0437\u0434\u0430\u0432\u0430\u043c\u0435 (\u0434\u0443\u0431\u043b\u0438\u0440\u0430\u043c\u0435 \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435\u0442\u043e \u043d\u0430 \/var\/www\/localhost\/ cgi-bin \u0435rror [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[10],"tags":[],"class_list":["post-32","post","type-post","status-publish","format-standard","hentry","category-10"],"_links":{"self":[{"href":"https:\/\/hgs.name\/index.php?rest_route=\/wp\/v2\/posts\/32","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hgs.name\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hgs.name\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hgs.name\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hgs.name\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=32"}],"version-history":[{"count":12,"href":"https:\/\/hgs.name\/index.php?rest_route=\/wp\/v2\/posts\/32\/revisions"}],"predecessor-version":[{"id":69,"href":"https:\/\/hgs.name\/index.php?rest_route=\/wp\/v2\/posts\/32\/revisions\/69"}],"wp:attachment":[{"href":"https:\/\/hgs.name\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=32"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hgs.name\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=32"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hgs.name\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=32"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}