{"id":244,"date":"2014-10-31T17:30:44","date_gmt":"2014-10-31T08:30:44","guid":{"rendered":"http:\/\/www.fsquare.co.kr\/?p=244"},"modified":"2015-01-22T23:00:40","modified_gmt":"2015-01-22T14:00:40","slug":"%ec%9b%b9-%ec%a3%bc%ec%86%8c%ec%97%90%ec%84%9c-php-%ed%99%95%ec%9e%a5%ec%9e%90-%ec%95%88%eb%b3%b4%ec%9d%b4%ea%b2%8c-%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/www.fsquare.co.kr\/?p=244","title":{"rendered":"\uc6f9 \uc8fc\uc18c\uc5d0\uc11c php \ud655\uc7a5\uc790 \uc548\ubcf4\uc774\uac8c \ud558\uae30"},"content":{"rendered":"<p>\uc6f9 \uc11c\ubc84\ub97c \uc124\uce58\ud558\uace0 \uac1c\ubc1c, \uc6b4\uc6a9\ud558\ub294 \uacbd\uc6b0 \uc8fc\uc18c\uac00 http:\/\/www.hello.com\/world.php?param=1 \uacfc \uac19\uc740 \ud615\ud0dc\ub85c \ubcf4\uc5ec\uc9c0\uac8c\ub418\uba74 \ubb54\uac00 \uc9c0\uc800\ubd84\ud574 \ubcf4\uc774\uae30\ub3c4 \ud558\uace0 \uc57d\uac04\uc740 \uc2e0\uacbd\uc744 \ub35c \uc4f4 \ub4ef\ud55c \ub290\ub08c\uc774 \ub4e0\ub2e4.<\/p>\n<p>\uc774 \ub54c \uc8fc\uc18c\ub97c http:\/\/www.hello.com\/world?param=1 \ub610\ub294 http:\/\/www.hello.com\/world \uc640 \uac19\uc774 \uae54\ub054\ud558\uac8c \uc4f0\uae30 \uc704\ud574\uc11c\ub294 Linux, apache, php (LAPM) \ud658\uacbd\uc5d0\uc11c \ub2e4\uc74c\uacfc \uac19\uc740 \uc791\uc5c5\uc744 \ud55c\ub2e4.<\/p>\n<p>1. httpd.conf \ud30c\uc77c \uc218\uc815<br \/>\n: Document root director\uac00 \ub420 \ub514\ub809\ud1a0\ub9ac(\ub2e4\uc74c\uc758 \uc608\uc5d0\uc11c\ub294 &#8220;myweb_directory&#8221; \ub610\ub294 \ub8f0\uc744 \uc801\uc6a9\ud560 \ub514\ub809\ud1a0\ub9ac\uc5d0 \ub300\ud55c \uc635\uc158\uc744 \uc9c0\uc815\ud55c\ub2e4. \ub9cc\uc57d \uc774\ubbf8 \uc9c0\uc815\ub418\uc5b4 \uc788\uc73c\uba74 \ub2e4\uc74c\uc758 \ub0b4\uc6a9\uc774 \uc788\ub294\uc9c0 \ud655\uc778\ud55c\ub2e4.<\/p>\n<pre>&lt;Directory \"\/var\/www\/myweb_directory\"&gt;\r\n Options -Indexes MultiViews FollowSymLinks\r\n AllowOverride All<\/pre>\n<p>-Indexes \uc635\uc158\uc740 \ub514\ub809\ud1a0\ub9ac\uc758 \ud30c\uc77c list\ub97c \ubcf4\uc5ec\uc8fc\uc9c0 \uc54a\ub294 \uc635\uc158\uc774\ubbc0\ub85c \ubcf4\uc548\uc0c1 \uc801\uc6a9\ud55c\ub2e4.<\/p>\n<p>\ub2e4\uc74c httpd \ub97c \ub2e4\uc2dc \uc2dc\uc791\ud55c\ub2e4<\/p>\n<pre>service httpd restart<\/pre>\n<p>\uc774\uc81c http:\/\/www.hello.com\/world\uc640 \uac19\uc774 \uc368\ub3c4 \uc778\uc2dd\uc774 \ub41c\ub2e4. \uac01 \ud654\uba74\uc5d0 \uc18d\ud55c \uc18c\uc2a4\ub4e4\uc5d0\uc11c \uc0ac\uc774\ud2b8 \ub0b4\uc758 link\ub97c &#8220;\/dir\/index.php&#8221; \uc640 \uac19\uc774 \uc791\uc131\ub41c \ubd80\ubd84\uc744 &#8220;\/dir\/index&#8221;\ub85c \uc218\uc815\ud55c\ub2e4.<\/p>\n<p>2. php.ini \ud30c\uc77c \uc218\uc815<br \/>\n\/etc\/php.ini \ud30c\uc77c\uc5d0\uc11c \ub2e4\uc74c\uacfc \uac19\uc774 \uc218\uc815\ud55c\ub2e4.<\/p>\n<pre>expose_php = Off<\/pre>\n<p>php.ini\ub97c \uc218\uc815\ud558\ub294 \uc774\uc720\ub294 \uc138\uc158\uc544\uc774\ub514\uc640 \uac19\uc740 \ubd80\ubd84\uc5d0\uc11c \uc784\uc2dc\ud30c\uc77c \ub610\ub294 \ud328\ud0b7\uc744 \ucea1\uccd0\ud574\uc11c \ud655\uc778\ud558\ub294 \uacbd\uc6b0 PHP\ub97c \uc0ac\uc6a9\ud558\ub294 \uac83\uc744 \uc54c \uc218 \uc788\ub2e4. \uc774\ub7ec\ud55c \ubd80\ubd84\uc744 \uc228\uaca8\uc900\ub2e4\uace0 \ud558\ub2c8 \ucd94\uac00\ub85c \uaf2d \uc9c0\uc815\ud55c\ub2e4.<\/p>\n<p>apache\uc758 rewrite rule\uc744 \uc774\uc6a9\ud558\ub294 \ubd80\ubd84\uc740 \uc870\uae08 \ub354 \ubcf5\uc7a1\ud558\ub098 \ub2e4\uc591\ud55c \ubc29\ubc95\uc73c\ub85c \uc8fc\uc18c\ub97c \uc228\uae38 \uc218 \uc788\ub2e4.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc6f9 \uc11c\ubc84\ub97c \uc124\uce58\ud558\uace0 \uac1c\ubc1c, \uc6b4\uc6a9\ud558\ub294 \uacbd\uc6b0 \uc8fc\uc18c\uac00 http:\/\/www.hello.com\/world.php?param=1 \uacfc \uac19\uc740 \ud615\ud0dc\ub85c \ubcf4\uc5ec\uc9c0\uac8c\ub418\uba74 \ubb54\uac00 \uc9c0\uc800\ubd84\ud574 \ubcf4\uc774\uae30\ub3c4 \ud558\uace0 \uc57d\uac04\uc740 \uc2e0\uacbd\uc744 \ub35c \uc4f4 \ub4ef\ud55c \ub290\ub08c\uc774 \ub4e0\ub2e4. \uc774 \ub54c \uc8fc\uc18c\ub97c http:\/\/www.hello.com\/world?param=1 \ub610\ub294 http:\/\/www.hello.com\/world \uc640 \uac19\uc774 \uae54\ub054\ud558\uac8c \uc4f0\uae30 \uc704\ud574\uc11c\ub294 Linux, apache, php (LAPM) \ud658\uacbd\uc5d0\uc11c \ub2e4\uc74c\uacfc \uac19\uc740 \uc791\uc5c5\uc744 \ud55c\ub2e4. 1. httpd.conf \ud30c\uc77c \uc218\uc815 : Document root director\uac00 \ub420 \ub514\ub809\ud1a0\ub9ac(\ub2e4\uc74c\uc758 \uc608\uc5d0\uc11c\ub294 &#8220;myweb_directory&#8221; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,9],"tags":[],"class_list":["post-244","post","type-post","status-publish","format-standard","hentry","category-it","category-linux"],"_links":{"self":[{"href":"https:\/\/www.fsquare.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/244","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fsquare.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fsquare.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fsquare.co.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fsquare.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=244"}],"version-history":[{"count":6,"href":"https:\/\/www.fsquare.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/244\/revisions"}],"predecessor-version":[{"id":287,"href":"https:\/\/www.fsquare.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/244\/revisions\/287"}],"wp:attachment":[{"href":"https:\/\/www.fsquare.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=244"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fsquare.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=244"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fsquare.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}