
Warning: Error while sending QUERY packet. PID=14089 in /home/uls/public_html/wordpress/wp-includes/class-wpdb.php on line 2357
{"id":43,"date":"2006-02-02T22:58:06","date_gmt":"2006-02-02T22:58:06","guid":{"rendered":"http:\/\/192.168.1.20\/wordpress\/freebsd\/2006\/02\/02\/namevirtual\/"},"modified":"2015-01-18T13:48:29","modified_gmt":"2015-01-18T13:48:29","slug":"namevirtual","status":"publish","type":"post","link":"http:\/\/uls.self.jp\/wordpress\/freebsd\/?p=43","title":{"rendered":"NameVirtual \u30b5\u30fc\u30d0"},"content":{"rendered":"<p>\u4ee5\u524d\u306b<a href=\"http:\/\/uls.self.jp\/wordpress\/freebsd\/2005\/09\/05\/1ip2\/\">\uff11\u3064\u306eIP\u30672\u53f0\u306e\u30b5\u30fc\u30d0\u3092\u52d5\u304b\u3059<\/a>\u65b9\u6cd5\u3092\u66f8\u3044\u305f\u3002<br \/>\n\u4e00\u822c\u7684\u306b\u306f\u3001IP\u304c\uff11\u3064\u3082\u3057\u304f\u306f\uff12\u3064\u3067\u540c\u4e00\u30b5\u30fc\u30d0\u4e0a\u3067\uff12\u3064\u306e\u30c9\u30e1\u30a4\u30f3\u3092\u6271\u3046\u4f8b\u306f\u591a\u3044\u304c\u3001\u3053\u3053\u3067\u306f\uff11\u3064\u306e\u30b5\u30fc\u30d0\u3067\u7269\u7406\u7684\u306b\uff12\u53f0\u306e\u30b5\u30fc\u30d0\u3078\u306e\u30a2\u30af\u30bb\u30b9\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306e\u8a66\u307f\u306e\u8a18\u8ff0\u3067\u3042\u308b\u3002<br \/>\n\u3068\u3053\u308d\u304c\u3001\u30b5\u30fc\u30d0\u3092\u65b0\u3057\u304f\u7acb\u3061\u4e0a\u3052\u76f4\u3057\u305f\u3089\u3001mod_proxy\u306emodule\u304c\u7121\u304f\u7acb\u3061\u4e0a\u3052\u3089\u308c\u306a\u3044\u4e8b\u614b\u306b\u906d\u9047\u3057\u305f\u3002\u307e\u305f\u3001VirtualHost Directive\u306e\u66f8\u304d\u65b9\u3082\u8ffd\u52a0\u4fee\u6b63\u304c\u5fc5\u8981\u3067\u3042\u308b\u3053\u3068\u304c\u5206\u304b\u3063\u305f\u3002<br \/>\n\u4ee5\u4e0b\u306b\u65b9\u6cd5\u3092\u8a18\u3059\u3053\u3068\u306b\u3057\u305f\u3002<br \/>\n\u5f53\u7136\u3042\u308b\u3068\u601d\u3063\u3066\u3044\u305fmod_proxy.so\u304c\/usr\/local\/libexec\/apache2\u306b\u7121\u304f\u3001\u65e2\u306bstatic link\u3055\u308c\u3066\u3044\u308b\u306e\u304b\u3068\u601d\u3063\u305f\u304c\u3001\u305d\u308c\u3082\u7121\u3044\u3002<br \/>\n\u3057\u304b\u305f\u304c\u7121\u3044\u306e\u3067apache2\u3092\u30bd\u30fc\u30b9\u304b\u3089\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066module\u3092\u5f97\u308b\u3053\u3068\u306b\u3057\u305f\u3002<br \/>\n\u307e\u305a\u3001\u30bd\u30fc\u30b9\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u3042\u308b\u304c<a href=\"https:\/\/www.freebsd.org\/ja\/\">\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30b5\u30a4\u30c8\u306e\u30ea\u30b9\u30c8<\/a>\u3092\u898b\u3066\u9069\u5f53\u306a\u3068\u3053\u308d\u304b\u3089\u3001httpd-2.0.55.tar.gz \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002<br \/>\n\u6b21\u306b\u5c55\u958b\u3057\u3066\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u304c\u3001\u3053\u306e\u3068\u304dconfigure\u3067proxy\u3092shared\u3067\u6307\u5b9a\u3057\u3066\u304b\u3089\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u3002<\/p>\n<pre># tar xvzf httpd-2.0.55.tar.gz\n# cd httpd-2.0.55\n# .\/configure --enable-rewrite --enable-proxy=shared\n# make<\/pre>\n<p>\u3053\u308c\u3067\u3001modules\/proxy\/.libs\u306e\u4e2d\u306bproxy\u95a2\u4fc2\u306emodule\u304c<br \/>\nmod_proxy.so<br \/>\nmod_proxy_ftp.so<br \/>\nmod_proxy_connect.so<br \/>\nmod_proxy_http.so<br \/>\n\u306e4\u3064\u304c\u51fa\u6765\u308b\u3067\u3001\u3053\u308c\u3092\/usr\/local\/libexec\/apache2\u5185\u306b\u30b3\u30d4\u30fc\u3059\u308b\u3002<\/p>\n<pre># cd modules\/proxy\/.libs\n# cp *.so \/usr\/local\/libexec\/apache2<\/pre>\n<p>\u3053\u308c\u3067\u3001proxy\u95a2\u4fc2\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u5f97\u3089\u308c\u305f\u306e\u3067\u3001httpd.conf\u3092\u7de8\u96c6\u3059\u308b\u3002<br \/>\n\u307e\u305a\u3001\u4ee5\u4e0b\u306e\uff12\u884c\u306e\u884c\u982d\u306e#\u3092\u53d6\u308a\u3001proxy module\u3092\u30ed\u30fc\u30c9\u3059\u308b\u3088\u3046\u306b\u3059\u308b\u3002<\/p>\n<pre>LoadModule proxy_module libexec\/apache2\/mod_proxy.so\nLoadModule proxy_http_module libexec\/apache2\/mod_proxy_http.so<\/pre>\n<p>\u3055\u3089\u306b\u3001httpd.conf\u306e\u6700\u5f8c\u306b\u4ee5\u4e0b\u3092\u8ffd\u52a0\u3002<\/p>\n<pre>NameVirtualHost *:80\n&lt;VirtualHost *:80&gt;\nServerAdmin hogehoge@uls.fam.cx\nDocumentRoot \/web\/data\nServerName uls.flets.cds.ne.jp\nErrorLog \/var\/log\/error_log\nProxyPass  \/  http:\/\/192.168.1.6\/\nProxyPassReverse  \/  http:\/\/192.168.1.6\/\n&lt;\/VirtualHost&gt;<\/pre>\n<p>\u3053\u308c\u3067\u3001apache\u3092\u518d\u8d77\u52d5\u3057\u305f\u3089\u3001\u79c1\u304c\u4f7f\u3063\u3066\u3044\u308b\u672c\u6765\u306e\u30c9\u30e1\u30a4\u30f3\u540d\u306euls.fam.cx\u3067\u30e1\u30a4\u30f3\u306e\u30b5\u30fc\u30d0\u306b\u30a2\u30af\u30bb\u30b9\u51fa\u6765\u3001uls.flets.cds.ne.jp\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308c\u3070192.168.1.6\u306e\u30b5\u30fc\u30d0\u306b\u30a2\u30af\u30bb\u30b9\u51fa\u6765\u308b\u3002\u3000\u51fa\u6765\u308b\u306f\u305a\u3060\u3063\u305f\u3002<br \/>\n\u3057\u304b\u3057\u3001\u5916\u90e8\u306eproxy\u7d4c\u7531\u3067\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u308b\u3068\u3001\u5168\u3066192.168.1.6\u306b\u884c\u3063\u3066\u3057\u307e\u3046\u3002<br \/>\n\u3057\u3070\u3057\u3001\u8003\u3048\u305f\u304c\u7d50\u5c40\u30e1\u30a4\u30f3\u306e\u30b5\u30fc\u30d0\u3082\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8ffd\u52a0\u3067\u6307\u5b9a\u3057\u3066\u89e3\u6c7a\u3057\u305f\u3002<\/p>\n<pre>&lt;VirtualHost *:80&gt;\nServerAdmin hogehoge@uls.fam.cx\nDocumentRoot \/web\/data\nServerName uls.fam.cx\nErrorLog \/var\/log\/error_log\n&lt;\/VirtualHost&gt;<\/pre>\n<p>Web\u95a2\u4fc2\u3060\u3051\u3067\u3042\u308b\u304c\u3001\u7c21\u5358\u306a\u8a2d\u5b9a\u3067IP\u30a2\u30c9\u30ec\u30b9\u304c\uff11\u3064\u3067\u3082\uff12\u53f0\u4ee5\u4e0a\u306e\u30b5\u30fc\u30d0\u304c\u4f7f\u3048\u308b\u306e\u3067\u4fbf\u5229\u3067\u7d20\u6674\u3089\u3057\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u524d\u306b\uff11\u3064\u306eIP\u30672\u53f0\u306e\u30b5\u30fc\u30d0\u3092\u52d5\u304b\u3059\u65b9\u6cd5\u3092\u66f8\u3044\u305f\u3002 \u4e00\u822c\u7684\u306b\u306f\u3001IP\u304c\uff11\u3064\u3082\u3057\u304f\u306f\uff12\u3064\u3067\u540c\u4e00\u30b5\u30fc\u30d0\u4e0a\u3067\uff12\u3064\u306e\u30c9\u30e1\u30a4\u30f3\u3092\u6271\u3046\u4f8b\u306f\u591a\u3044\u304c\u3001\u3053\u3053\u3067\u306f\uff11\u3064\u306e\u30b5\u30fc\u30d0\u3067\u7269\u7406\u7684\u306b\uff12\u53f0\u306e\u30b5\u30fc\u30d0\u3078\u306e\u30a2\u30af\u30bb\u30b9\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306e\u8a66\u307f\u306e\u8a18\u8ff0\u3067\u3042\u308b &hellip; <a href=\"http:\/\/uls.self.jp\/wordpress\/freebsd\/?p=43\">Continue reading <span class=\"meta-nav\">&rarr;<\/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":[6],"tags":[],"class_list":["post-43","post","type-post","status-publish","format-standard","hentry","category-apache","wpautop"],"_links":{"self":[{"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=\/wp\/v2\/posts\/43","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=43"}],"version-history":[{"count":2,"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=\/wp\/v2\/posts\/43\/revisions"}],"predecessor-version":[{"id":233,"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=\/wp\/v2\/posts\/43\/revisions\/233"}],"wp:attachment":[{"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=43"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=43"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/uls.self.jp\/wordpress\/freebsd\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=43"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}