{"id":13422,"date":"2026-11-28T16:19:38","date_gmt":"2026-11-28T07:19:38","guid":{"rendered":"https:\/\/yorozu.cloudfree.jp\/wordpress\/?p=13422"},"modified":"2026-11-29T12:50:49","modified_gmt":"2026-11-29T03:50:49","slug":"alias%e3%83%87%e3%82%a3%e3%83%ac%e3%82%af%e3%83%86%e3%82%a3%e3%83%96%e3%81%ae%e8%a8%ad%e5%ae%9a","status":"publish","type":"post","link":"https:\/\/yorozu.cloudfree.jp\/wordpress\/?p=13422","title":{"rendered":"Alias\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306e\u8a2d\u5b9a"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\"><strong>\uff11\uff0e\u6a5f\u80fd<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u3000\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30d1\u30b9\u3068\u4e00\u81f4\u3059\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u30da\u30fc\u30b8\u3092\u8fd4\u3059<br>\u3000\u3000\u3000\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u6307\u5b9a\u3055\u308c\u305f\u540d\u524d\u3068<br>\u3000\u3000\u3000\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u30da\u30fc\u30b8\u306b\u5236\u5fa1\u3092\u6e21\u3059<br><br>\u3000URL\u3068\u6307\u5b9a\u3057\u305f\u5834\u6240\u306b\u76ee\u7684\u306epgm\u306f\u5b58\u5728\u3057\u306a\u3044\u3001\u3053\u3068\u306b\u306a\u308b<br>\u3000\u3000\u3000pgm\u306e\u5b58\u5728\u5834\u6240\u3092\u96a0\u3059\u3053\u3068\u306b\u306a\u308b<br><br>\u3000\u3000\u3000\uff1c\u88dc\u8db3\uff1e<br>\u3000\u3000\u3000\u3000\u3000Web\u30da\u30fc\u30b8\u306e\u4f5c\u6210\u6642\u306b\u89aa\u5b50\u95a2\u4fc2\u306e\u4e2d\u3067<br>\u3000\u3000\u3000\u3000\u3000\u7d76\u5bfe\u30a2\u30c9\u30ec\u30b9\u3067\u53c2\u7167\u3059\u308b\u3068\u3001\u30b5\u30a4\u30c8\u79fb\u8a2d\u6642\u306b\u5909\u66f4\u304c\u5927\u5909<br>\u3000\u3000\u3000\u3000\u3000\u76f8\u5bfe\u30a2\u30c9\u30ec\u30b9\u3067\u53c2\u7167\u3059\u308b\u3068\u3001<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\uff12\uff0e\u4f7f\u7528\u3059\u308b\u5834\u5408<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u3000\u4f8b\u3068\u3057\u3066<br>\u3000\u3000\u3000\u5358\u7d14\u306bURL\u3067\u6307\u5b9a\u3057\u305f\u5834\u6240\u306bpgm\u304c\u5b58\u5728\u3057\u306a\u3044<br>\u3000\u3000\u3000\u3000\u3000pgm\u4fdd\u8b77\u306e\u305f\u3081\u306b\u4ed6\u4eba\u306bpgm\u306e\u5b58\u5728\u5834\u6240\u3092\u96a0\u3059<br><br>\u3000\u3000\u3000\u89aapgm\u3092\uff11\u500b\u3001\u5b50\u306epgm\u3092\u8907\u6570\u500b\u4f5c\u3063\u305f\u5834\u5408<br>\u3000\u3000\u3000\u3000\u3000\u89aa\u306epgm\u304b\u3089\u3082\u5b50\u4f9b\u306epgm\u304b\u3089\u3082<br>\u3000\u3000\u3000\u3000\u3000\u540c\u3058\u30b5\u30d6pgm\u3092\u547c\u3073\u51fa\u3059\u5834\u5408<br><br>\u3000\u3000\u3000\u3000\u3000\u968e\u5c64\u3092\u610f\u8b58\u305b\u305a\u306b\u540c\u3058pgm\u69cb\u9020\u3067\u89aa\u3082\u5b50\u3082\u4f5c\u6210\u3067\u304d\u308b<br>\u3000\u3000\u3000\u3000\u3000\u89aapgm\u3082\u5b50pgm\u3082\u540c\u3058\u30ec\u30d9\u30eb\u3068\u3057\u3066\u4f5c\u6210\u3059\u308b\u3000\u3000\u3000\u3000\u3000\u3000<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\uff13\uff0e\u8981\u9818<\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>\u30c7\u30fc\u30bf\u69cb\u9020<\/td><td>\u4f7f\u7528\u4f8b<\/td><\/tr><tr><td>\/var\/www\/html\/<br>\u3000\u3053\u306e\u914d\u4e0b\u306b\u968e\u5c64\u72b6\u614b\u3067<br>\u3000\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u3092\u69cb\u6210\u3059\u308b<br><br>\u4f8b<br>\u30fb\u30fbwww\/html\/aaa\/index.html\u3092<br>\u3000\u4f7f\u7528\u3057\u3066\u3044\u308b\u3068\u601d\u308f\u305b\u3066<br><br>c\u30c9\u30e9\u30a4\u30d6\u306econtents\u30db\u30eb\u30c0\u30fc\u306b<br>\u3000index.html\u3092\u7528\u610f\u3057\u3066\u304a\u304f<\/td><td>Apache\u306eAlias \u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3067<br>Alias \/aaa c:\/contents\u3068\u3059\u308b<br><br>\u30e6\u30fc\u30b6\u30fc\u306f\u30fb\u30fb\/html\/aaa\/\u30fb\u30fb\u306epgm\u304c\u52d5\u304f\u3068\u60f3\u5b9a\u3059\u308b\u304c<br>\u5b9f\u969b\u306b\u306fc:\/contents\u914d\u4e0b\u306e<br>index.html\u304c\u52d5\u304f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u3000c:\/contents\u306bindex.html\u3092\u7528\u610f\u3059\u308b<br>\u3000\u3000\u3000\u3053\u308c\u3067aaa\u306b\u3042\u308b\u306f\u305a\u306eindex.html\u306fc:\/contents\u306b\u5b58\u5728\u3059\u308b<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\uff14\uff0e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u7279\u5fb4<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u3000Ubuntu\u306eApache\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u8aac\u660e\u306f\u9577\u304f\u306a\u308b\u306e\u3067<br>\u3000\u3000\u3000\u6700\u4e0b\u6bb5\u306e\u7ae0\u3067\u8a18\u8ff0\u3059\u308b<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\uff15\uff0e\u4f7f\u7528\u4f8b<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u3000\u4e8b\u524d\u306b\u88dc\u8db3<br>\u3000\u3000\u3000enabled\uff1a\u52d5\u8a5e\u3001\u6709\u52b9\u306b\u3059\u308b\u3001\u8aad\u307f\u8fbc\u307e\u308c\u308b<br>\u3000\u3000\u3000avaiable\uff1a\u5f62\u5bb9\u8a5e\u3001\u5229\u7528\u3067\u304d\u308b\u72b6\u614b\u306b\u3042\u308b\u3001\u8aad\u307f\u8fbc\u307e\u308c\u306a\u3044<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3000\/etc\/apache2\/apache2.conf\u30d5\u30a1\u30a4\u30eb\u306e<br>\u3000\u3000\u3000IfModule alias_module\u306e\u7b87\u6240\u3092\u4fee\u6b63\u3059\u308b<br><br>\u3000\u3000\u3000<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>#\n    Alias \/santarou &quot;F:\/00_web\/yyy\/&quot;\n\n    &lt;Directory &quot;F:\/00_web\/yyy\/&quot;&gt;\n    \tOptions FollowSymLinks Includes ExecCGI\n    \tAllowOverride All\n    \tRequire all granted\n    &lt;\/Directory&gt; <\/code><\/pre><\/div>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\uff15\uff0e\u52d5\u4f5c\u78ba\u8a8d<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u3000\u30d6\u30e9\u30a6\u30b6\u304b\u3089 http:\/\/localhost\/data\/index.html \u3078\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068<br>\u3000\u3000\u3000c:\/contents\u306eindex.html \u304c\u52d5\u3051\u3070\u5b8c\u4e86<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\uff19\uff0e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u8aac\u660e<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u3000ubuntu\u306eApache\u306b\u95a2\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u69cb\u6210\u306f<br>\u3000\u3000\u3000\/etc\/apache2\/\u306e\u914d\u4e0b\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u7d9a\u3044\u3066\u3044\u308b<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter is-resized\"><a href=\"https:\/\/yorozu.cloudfree.jp\/wordpress\/wp-content\/uploads\/2026\/11\/Apache\u8a2d\u5b9a.jpg\" rel=\"lightbox[13422]\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/yorozu.cloudfree.jp\/wordpress\/wp-content\/uploads\/2026\/11\/Apache\u8a2d\u5b9a-150x150.jpg\" alt=\"\" class=\"wp-image-13436\" style=\"aspect-ratio:1;width:150px;height:auto\"\/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u3000\u5de6\u7aef\u304c\u5207\u308c\u3066\u3044\u308b\u304c\u3001conf-avaiable\u3001conf-enabled\u3068\u5bfe\u306b\u306a\u308a<br>\u3000\u3000\u3000\u4ee5\u4e0b\u306bmods\u3001sites\u3068\u540c\u3058\u69d8\u306a\u5bfe\u306b\u306a\u3063\u3066\u7d9a\u304f<br>\u3000\u3000\u3000\u3000\u3000enabled\uff1a\u52d5\u8a5e\u3001\u6709\u52b9\u306b\u3059\u308b\u3001\u8aad\u307f\u8fbc\u307e\u308c\u308b<br>\u3000\u3000\u3000\u3000\u3000avaiable\uff1a\u5f62\u5bb9\u8a5e\u3001\u5229\u7528\u3067\u304d\u308b\u72b6\u614b\u306b\u3042\u308b\u3001\u8aad\u307f\u8fbc\u307e\u308c\u306a\u3044<br><br>apache2.conf\u30d5\u30a1\u30a4\u30eb\u306e<br>\u3000\u3000\u3000IfModule alias_module\u306e\u7b87\u6240\u3092\u4fee\u6b63\u3059\u308b<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3000\u4e8b\u524d\u306b\u88dc\u8db3<br>\u3000\u3000\u3000<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3000<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30fbAlias\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306e\u8a2d\u5b9a<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[54],"tags":[103],"class_list":["post-13422","post","type-post","status-publish","format-standard","hentry","category-99_","tag-103"],"_links":{"self":[{"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/13422","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13422"}],"version-history":[{"count":20,"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/13422\/revisions"}],"predecessor-version":[{"id":13448,"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/13422\/revisions\/13448"}],"wp:attachment":[{"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yorozu.cloudfree.jp\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}