{"id":359,"date":"2007-12-29T08:09:55","date_gmt":"2007-12-28T23:09:55","guid":{"rendered":"http:\/\/burggarten.ddo.jp\/~tomo\/wp\/?p=359"},"modified":"2007-12-29T08:09:55","modified_gmt":"2007-12-28T23:09:55","slug":"sites%e3%83%95%e3%82%a9%e3%83%ab%e3%83%80%e3%81%8cforbidden%e3%81%ab%e3%81%aa%e3%82%8b%e5%95%8f%e9%a1%8c","status":"publish","type":"post","link":"http:\/\/tomography.spm.jp\/?p=359","title":{"rendered":"Sites\u30d5\u30a9\u30eb\u30c0\u304cforbidden\u306b\u306a\u308b\u554f\u984c"},"content":{"rendered":"<p>Leopard\u306b\u3057\u3066\u304b\u3089Sites\u30d5\u30a9\u30eb\u30c0\u3092\u898b\u308b\u3068(\u3064\u307e\u308a\u81ea\u5206\u306e\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u3092\u898b\u3088\u3046\u3068\u3059\u308b\u3068)&quot;403 forbidden\u304c\u3067\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u3002\u4eca\u65e5\u304b\u3089\u51ac\u4f11\u307f\u306a\u306e\u3067\u89e3\u6c7a\u3092\u8a66\u307f\u308b\u3002Apache2\u306e\u554f\u984c\u304b\u305d\u308c\u3068\u3082permission, ownership\u306e\u554f\u984c\u304b\u306f\u4e0d\u660e\u306a\u306e\u3067\u3042\u308b\u304c\u3001\u4ee5\u4e0b\u3092\u53c2\u7167\u3057\u3001\u8a66\u3057\u3066\u307f\u308b\u3082\u89e3\u6c7a\u305b\u305a\u3002<\/p>\n<p>http:\/\/docs.info.apple.com\/article.html?artnum=306884\u3088\u308a<\/p>\n<p>Issue or symptom &nbsp;After upgrading to Mac OS X 10.5, you may be unable to access expected web site content (in your ~\/Sites\/ folder) via Web Sharing. Web Sharing appears to be enabled and working correctly, but trying to load your web site results in a &quot;Forbidden 403&quot; Web page. <\/p>\n<p>Products affected &nbsp; &nbsp; &nbsp;* Mac OS X 10.5 Leopard &nbsp;<\/p>\n<p>Solution &nbsp;If you installed Mac OS X 10.5 via an Upgrade Install (the default type), follow these steps: &nbsp; &nbsp; <\/p>\n<p>1. Open TextEdit. &nbsp; <\/p>\n<p>2. Click the Format menu and click Make Plain Text. Then click OK. &nbsp; &nbsp;<\/p>\n<p>3. Copy the below text as is and paste it into the TextEdit document. &nbsp; &nbsp; &nbsp; <\/p>\n<p>&nbsp;&lt;Directory &quot;\/Users\/myname\/Sites\/&quot;&gt; &nbsp; &nbsp; &nbsp; <\/p>\n<p>Options Indexes MultiViews &nbsp; &nbsp; &nbsp;<\/p>\n<p>&nbsp;AllowOverride None &nbsp; &nbsp; &nbsp; <\/p>\n<p>Order allow,deny &nbsp; &nbsp; &nbsp; <\/p>\n<p>Allow from all &nbsp; &nbsp; &nbsp;<\/p>\n<p>&nbsp;&lt;\/Directory&gt; &nbsp; &nbsp; <\/p>\n<p>4. Replace the word &quot;myname&quot; with your user accout&#8217;s shortname. (This is the same name as the user&#8217;s Home folder in the Users folder.) &nbsp; <\/p>\n<p>&nbsp;5. Save the TextEdit document on the desktop with the name &quot;myname.conf&quot; where &quot;myname&quot; is the shortname. &nbsp; <\/p>\n<p>&nbsp;6. At the prompt, click &quot;Use .conf&quot;. &nbsp; &nbsp;<\/p>\n<p>7. Quit TextEdit. &nbsp; &nbsp;<\/p>\n<p>8. In Finder, from the Go menu choose Go to Folder. &nbsp; <\/p>\n<p>&nbsp;9. Type in: \/etc\/apache2\/users\/ &nbsp; <\/p>\n<p>10. Click Go. &nbsp; <\/p>\n<p>11. Drag &quot;shortname.conf&quot; from the desktop into the Finder window for (\/etc\/apache2\/users). &nbsp; <\/p>\n<p>12. At the prompt, click Authenticate. &nbsp; <\/p>\n<p>13. Enter the administrator username and password and click OK. &nbsp; <\/p>\n<p>14. Close the Finder window. &nbsp; <\/p>\n<p>15. Open Terminal. &nbsp; <\/p>\n<p>16. Enter this command on a single line, followed by Return: &nbsp; &nbsp; &nbsp; &nbsp;sudo chown root:wheel \/etc\/apache2\/users\/shortname.conf &nbsp; <\/p>\n<p>17. Enter your administrator password when prompted. &nbsp; <\/p>\n<p>18. Quit Terminal. &nbsp; <\/p>\n<p>19. Open System Preferences and click Sharing. &nbsp; <\/p>\n<p>20. Uncheck (deselect) Web Sharing to turn it off, then check Web Sharing to turn it back on. &nbsp;You should now be able to access your web site content normally. &nbsp;This document will be updated as more information becomes available.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Leopard\u306b\u3057\u3066\u304b\u3089Sites\u30d5\u30a9\u30eb\u30c0\u3092\u898b\u308b\u3068(\u3064\u307e\u308a\u81ea\u5206\u306e\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u3092\u898b\u3088\u3046\u3068\u3059\u308b\u3068)&quot;403 forbidden\u304c\u3067\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u3002\u4eca\u65e5\u304b\u3089\u51ac\u4f11\u307f\u306a\u306e\u3067\u89e3\u6c7a\u3092\u8a66\u307f\u308b\u3002Apache2\u306e\u554f\u984c\u304b &hellip; <a href=\"http:\/\/tomography.spm.jp\/?p=359\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Sites\u30d5\u30a9\u30eb\u30c0\u304cforbidden\u306b\u306a\u308b\u554f\u984c&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[13],"tags":[],"class_list":["post-359","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p63pl9-5N","jetpack-related-posts":[],"_links":{"self":[{"href":"http:\/\/tomography.spm.jp\/index.php?rest_route=\/wp\/v2\/posts\/359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/tomography.spm.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/tomography.spm.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/tomography.spm.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/tomography.spm.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=359"}],"version-history":[{"count":0,"href":"http:\/\/tomography.spm.jp\/index.php?rest_route=\/wp\/v2\/posts\/359\/revisions"}],"wp:attachment":[{"href":"http:\/\/tomography.spm.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/tomography.spm.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=359"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/tomography.spm.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}