{"id":161,"date":"2026-05-29T14:12:02","date_gmt":"2026-05-29T14:12:02","guid":{"rendered":"https:\/\/son7.co.kr\/?p=161"},"modified":"2026-05-29T14:19:54","modified_gmt":"2026-05-29T14:19:54","slug":"freebsd-apache-%ea%b0%80%ec%83%81%ed%98%b8%ec%8a%a4%ed%8a%b8-%ec%84%a4%ec%a0%95-%eb%a9%94%eb%aa%a8","status":"publish","type":"post","link":"https:\/\/son7.co.kr\/?p=161","title":{"rendered":"FreeBSD Apache \uac00\uc0c1\ud638\uc2a4\ud2b8 \uc124\uc815 \uba54\ubaa8"},"content":{"rendered":"<div style=\"font-family: sans-serif; max-width: 700px;\">\n<div style=\"background: #fff3f3; border: 2px solid #e24b4a; border-radius: 10px; padding: 1.25rem 1.5rem; margin-bottom: 1.5rem;\">\n<div style=\"display: flex; align-items: center; gap: 10px; margin-bottom: 0.75rem;\">\n    <span style=\"font-size: 22px;\">\u26a0\ufe0f<\/span><br \/>\n    <span style=\"font-weight: bold; font-size: 16px; color: #a32d2d;\">\uc0c8 \uc0ac\uc774\ud2b8 \ucd94\uac00 \uc2dc \ubc18\ub4dc\uc2dc \ub450 \ud30c\uc77c \ubaa8\ub450 \uc218\uc815!<\/span>\n  <\/div>\n<div style=\"display: grid; grid-template-columns: 1fr 1fr; gap: 10px;\">\n<div style=\"background: #fff; border-radius: 8px; padding: 0.75rem 1rem; border: 1px solid #e24b4a;\">\n<div style=\"font-size: 12px; color: #888; margin-bottom: 4px;\">HTTP (80\ud3ec\ud2b8)<\/div>\n<p>      <code style=\"font-size: 12px;\">httpd-vhosts.conf<\/code>\n    <\/div>\n<div style=\"background: #fff; border-radius: 8px; padding: 0.75rem 1rem; border: 1px solid #e24b4a;\">\n<div style=\"font-size: 12px; color: #888; margin-bottom: 4px;\">HTTPS (443\ud3ec\ud2b8)<\/div>\n<p>      <code style=\"font-size: 12px;\">httpd-ssl.conf<\/code>\n    <\/div>\n<\/p><\/div>\n<div style=\"margin-top: 0.75rem; font-size: 13px; color: #a32d2d;\">\n    \ud558\ub098\ub9cc \uc218\uc815\ud558\uba74 403 Forbidden \ubc1c\uc0dd! (\uc624\ub298\uc758 \uad50\ud6c8 \ud83d\ude05)\n  <\/div>\n<\/div>\n<div style=\"background: #fff; border: 1px solid #ddd; border-radius: 10px; padding: 1.25rem 1.5rem; margin-bottom: 1.5rem;\">\n<div style=\"font-weight: bold; font-size: 15px; margin-bottom: 1rem;\">\uc0c8 \uc0ac\uc774\ud2b8 \ucd94\uac00 \uccb4\ud06c\ub9ac\uc2a4\ud2b8<\/div>\n<ol style=\"margin: 0; padding-left: 1.5rem; line-height: 2;\">\n<li><code>httpd-vhosts.conf<\/code> \u2014 80\ud3ec\ud2b8 \uac00\uc0c1\ud638\uc2a4\ud2b8 \ucd94\uac00<\/li>\n<li><code>httpd-ssl.conf<\/code> \u2014 443\ud3ec\ud2b8 \uac00\uc0c1\ud638\uc2a4\ud2b8 \ucd94\uac00 <span style=\"color: #e24b4a; font-weight: bold;\">\u2190 \uc78a\uc9c0 \ub9d0 \uac83!<\/span><\/li>\n<li>\ub450 \ud30c\uc77c \ubaa8\ub450 <code>DocumentRoot<\/code> \uacbd\ub85c \ub3d9\uc77c\ud558\uac8c<\/li>\n<li>CMS <code>config.php<\/code> URL \u2192 <code>https:\/\/<\/code> \ub85c \uc124\uc815<\/li>\n<li><code>service apache24 restart<\/code><\/li>\n<\/ol>\n<\/div>\n<div style=\"background: #f5f5f5; border-radius: 8px; padding: 1rem 1.25rem; margin-bottom: 1.5rem;\">\n<div style=\"font-weight: bold; margin-bottom: 0.5rem;\">\uc124\uc815 \ud30c\uc77c \uacbd\ub85c<\/div>\n<p>  <code style=\"display: block; margin-bottom: 4px;\">\/usr\/local\/etc\/apache24\/extra\/httpd-vhosts.conf<\/code><br \/>\n  <code style=\"display: block;\">\/usr\/local\/etc\/apache24\/extra\/httpd-ssl.conf<\/code>\n<\/div>\n<div style=\"background: #fff; border: 1px solid #ddd; border-radius: 10px; padding: 1.25rem 1.5rem;\">\n<div style=\"font-weight: bold; font-size: 15px; margin-bottom: 1rem;\">\uac00\uc0c1\ud638\uc2a4\ud2b8 \uc124\uc815 \uc608\uc2dc<\/div>\n<div style=\"font-weight: bold; font-size: 13px; margin-bottom: 0.5rem; color: #555;\">httpd-vhosts.conf (80\ud3ec\ud2b8)<\/div>\n<pre style=\"background: #f5f5f5; border-radius: 6px; padding: 1rem; font-size: 12px; overflow-x: auto; margin-bottom: 1rem;\">&lt;VirtualHost *:80&gt;\n    ServerName example.co.kr\n    ServerAlias www.example.co.kr example.co.kr\n    DocumentRoot \/home\/example\/public\n\n    &lt;Directory \"\/home\/example\/public\"&gt;\n        AllowOverride All\n        Require all granted\n    &lt;\/Directory&gt;\n\n    ErrorLog \/var\/log\/example_error.log\n    CustomLog \/var\/log\/example_access.log combined\n&lt;\/VirtualHost&gt;<\/pre>\n<div style=\"font-weight: bold; font-size: 13px; margin-bottom: 0.5rem; color: #555;\">httpd-ssl.conf (443\ud3ec\ud2b8)<\/div>\n<pre style=\"background: #f5f5f5; border-radius: 6px; padding: 1rem; font-size: 12px; overflow-x: auto; margin-bottom: 1rem;\">&lt;VirtualHost *:443&gt;\n    ServerName example.co.kr\n    ServerAlias www.example.co.kr\n    DocumentRoot \/home\/example\/public\n\n    SSLEngine on\n    SSLCertificateFile \/usr\/local\/etc\/letsencrypt\/live\/example.co.kr\/fullchain.pem\n    SSLCertificateKeyFile \/usr\/local\/etc\/letsencrypt\/live\/example.co.kr\/privkey.pem\n\n    &lt;Directory \"\/home\/example\/public\"&gt;\n        AllowOverride All\n        Require all granted\n    &lt;\/Directory&gt;\n\n    ErrorLog \/var\/log\/example_error.log\n    CustomLog \/var\/log\/example_access.log combined\n&lt;\/VirtualHost&gt;<\/pre>\n<div style=\"font-weight: bold; font-size: 13px; margin-bottom: 0.5rem; color: #555;\">\uc790\uc8fc \uc4f0\ub294 \uba85\ub839\uc5b4<\/div>\n<pre style=\"background: #f5f5f5; border-radius: 6px; padding: 1rem; font-size: 12px; overflow-x: auto;\"># \uc124\uc815 \ubb38\ubc95 \ud655\uc778\napachectl -S\n\n# Apache \uc7ac\uc2dc\uc791\nservice apache24 restart\n\n# \uc5d0\ub7ec \ub85c\uadf8 \uc2e4\uc2dc\uac04 \ud655\uc778\ntail -f \/var\/log\/httpd-error.log\n\n# Flarum \uce90\uc2dc \uc0ad\uc81c\ncd \/home\/\uc0ac\uc774\ud2b8\ud3f4\ub354\nphp flarum cache:clear<\/pre>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u26a0\ufe0f \uc0c8 \uc0ac\uc774\ud2b8 \ucd94\uac00 \uc2dc \ubc18\ub4dc\uc2dc \ub450 \ud30c\uc77c \ubaa8\ub450 \uc218\uc815! HTTP (80\ud3ec\ud2b8) httpd-vhosts.conf HTTPS (443\ud3ec\ud2b8) httpd-ssl.conf \ud558\ub098\ub9cc \uc218\uc815\ud558\uba74 403 Forbidden \ubc1c\uc0dd! (\uc624\ub298\uc758 \uad50\ud6c8 \ud83d\ude05) \uc0c8 \uc0ac\uc774\ud2b8 \ucd94\uac00 \uccb4\ud06c\ub9ac\uc2a4\ud2b8 httpd-vhosts.conf \u2014 80\ud3ec\ud2b8 \uac00\uc0c1\ud638\uc2a4\ud2b8 \ucd94\uac00 httpd-ssl.conf \u2014 443\ud3ec\ud2b8 \uac00\uc0c1\ud638\uc2a4\ud2b8 \ucd94\uac00 \u2190 \uc78a\uc9c0 \ub9d0 \uac83! \ub450 \ud30c\uc77c \ubaa8\ub450 DocumentRoot \uacbd\ub85c \ub3d9\uc77c\ud558\uac8c CMS config.php URL \u2192 https:\/\/ \ub85c \uc124\uc815 &#8230; <a title=\"FreeBSD Apache \uac00\uc0c1\ud638\uc2a4\ud2b8 \uc124\uc815 \uba54\ubaa8\" class=\"read-more\" href=\"https:\/\/son7.co.kr\/?p=161\" aria-label=\"FreeBSD Apache \uac00\uc0c1\ud638\uc2a4\ud2b8 \uc124\uc815 \uba54\ubaa8\uc5d0 \ub300\ud574 \ub354 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uc138\uc694\">\ub354 \uc77d\uae30<\/a><\/p>\n","protected":false},"author":1,"featured_media":163,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-161","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/son7.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/161","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/son7.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/son7.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/son7.co.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/son7.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=161"}],"version-history":[{"count":1,"href":"https:\/\/son7.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/161\/revisions"}],"predecessor-version":[{"id":162,"href":"https:\/\/son7.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/161\/revisions\/162"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/son7.co.kr\/index.php?rest_route=\/wp\/v2\/media\/163"}],"wp:attachment":[{"href":"https:\/\/son7.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/son7.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=161"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/son7.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}