<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr">How about the permissions on the Sites folder?</div><div dir="ltr"><br>On Jun 12, 2021, at 20:24, Murray Eisenberg <murrayeisenberg@gmail.com> wrote:<br><br></div><div dir="ltr"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">For the Macports apache2 installation, I’m using a non-default location for my web sites. The httpd.conf includes a httpd-vhosts.conf file, and the latter includes entries such as:<div class=""><br class=""></div><div class=""><div class=""><VirtualHost *:80></div><div class="">    DocumentRoot "/Users/me/Sites/MyHomePage"</div><div class="">    ServerName MyHomePage.local</div><div class="">    ServerAlias <a href="http://www.MyHomePage.local" class="">www.MyHomePage.local</a></div><div class="">    ErrorLog  "var/log/apache2/me-MyHomePageerror_log"</div><div class="">    CustomLog "var/log/apache2/me-MyHomePage-access_log" common</div><div class="">    <Directory /Users/murray/Sites/MyHomePage></div><div class="">       Options Indexes FollowSymLinks</div><div class="">       Require all granted</div><div class="">   </Directory></div><div class=""></VirtualHost></div><div class=""><br class=""></div><div class="">And in my /private/etc/hosts I include the lines:</div><div class=""><br class=""></div><div class=""><div class="">127.0.0.1<span class="Apple-tab-span" style="white-space:pre">     </span>localhost</div><div class="">255.255.255.255<span class="Apple-tab-span" style="white-space:pre">  </span>broadcasthost</div><div class="">::1             localhost </div><div class="">fe80::1%lo0<span class="Apple-tab-span" style="white-space:pre">   </span>localhost</div><div class="">127.0.0.1<span class="Apple-tab-span" style="white-space:pre">        </span>me-html.local</div><div class="">127.0.0.1<span class="Apple-tab-span" style="white-space:pre">    </span>MyHomePage.local</div></div><div class=""><br class=""></div><div class="">When I start apache and try to open the site MyHomePage.local, i get error:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">   </span>Forbidden You don't have permission to access this resource.</div><div class=""><br class=""></div><div class="">The permissions on /Users/me/Sites/MyHomePage are:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">    </span>drwxr-xr-x@ 92 me  staff  2944 Apr 10  2015 MyHomePage</div><div class=""><br class=""></div><div class="">and the permissions for /Users/me/Sites/MyHomePage/index.html are:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">     </span>-rw-r--r--@   1 me  staff       8331 Apr 10  2015 index.html</div><div class=""><br class=""></div><div class="">What’s wrong?</div><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">---<br class="">Murray Eisenberg<span class="Apple-tab-span" style="white-space: pre;">                       </span><a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a><br class="">503 King Farm Blvd #101<span class="Apple-tab-span" style="white-space: pre;">     </span><br class="">Rockville, MD 20850-6667<span class="Apple-tab-span" style="white-space: pre;">     </span>Mobile (413)-427-5334<br class=""><br class=""></div>
</div>

<br class=""></div></div></body></html>