<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">That helped, thanks.<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 24 Oct2017, at 4:34 PM, Marius Schamschula <<a href="mailto:mschamschula@gmail.com" class="">mschamschula@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Murray,<div class=""><br class=""></div><div class="">The only thing that pops out immediately, is the allow, deny code. Apache 2.4.x uses</div><div class=""><br class=""></div><div class="">Require all granted</div><div class=""><br class=""></div><div class="">instead of</div><div class=""><br class=""></div><div class="">Order allow, deny<br class="">Allow from all</div><div class=""><br class=""></div><div class="">See <a href="https://httpd.apache.org/docs/2.4/upgrading.html" class="">https://httpd.apache.org/docs/2.4/upgrading.html</a></div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Oct 24, 2017, at 3:09 PM, Murray Eisenberg <<a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Just a couple of typos in my original message fixed below.<br class=""><br class=""><blockquote type="cite" class="">On 24 Oct2017, at 4:07 PM, Murray Eisenberg <<a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a>> wrote:<br class=""><br class="">In apache 2.4 I have several virtual hosts configured  — properly, I believe — in /opt/local/etc/apache2/extra/httpd-vhosts.conf.<br class=""><br class="">One of the virtual hosts works just fine, but others do not.<br class=""><br class="">** This one works ** <br class=""><br class="">For example, once apache is running, in the browser I CAN load “myhomepage.local” thanks to this part of httpd-vhosts.conf:<br class=""><br class="">  <VirtualHost *:80><br class="">      ServerAdmin <a href="mailto:somebody@somewhere.com" class="">somebody@somewhere.com</a><br class="">      DocumentRoot "/Users/me/Sites/MyHomePage"<br class="">      ServerName MyHomePage.local<br class="">      ServerAlias <a href="http://www.myhomepage.local/" class="">www.MyHomePage.local</a><br class="">      ErrorLog  "var/log/apache2/me-MyHomePageerror_log"<br class="">      CustomLog "var/log/apache2/me-MyHomePage-access_log" common<br class="">      <Directory /Users/me/Sites/MyHomePage><br class="">         Options Indexes FollowSymLinks<br class="">         Order allow,deny<br class="">         Allow from all<br class="">     </Directory><br class="">  </VirtualHost><br class=""><br class="">** This one does NOT work **<br class=""><br class="">However, if I try to load me-htdocs.local in the browser, using this part of httpd-vhosts.conf …<br class=""><br class="">  <VirtualHost *:80><br class="">      ServerAdmin <a href="mailto:somebody@somewherel.com" class="">somebody@somewherel.com</a><br class="">      DocumentRoot "/Users/me/Sites/htdocs"<br class="">      ServerName me-htdocs.local<br class="">      ServerAlias <a href="http://www.me-htdocs.local/" class="">www.me-htdocs.local</a><br class="">      ErrorLog  "var/log/apache2/me-htdocs-error_log"<br class="">      CustomLog "var/log/apache2/me-htdocs-access_log" common<br class="">      <Directory /Users/me/Sites/htdocs><br class="">         Options Indexes FollowSymLinks<br class="">         Order allow,deny<br class="">         Allow from all<br class="">     </Directory><br class="">  </VirtualHost><br class=""><br class="">… then this DOES NOT work: I get the default apache2 “It works!” page even though the DocumentRoot /Users/me/Sites/htdocs's<br class="">index.html file is quite different (e.g., it begins with a head having my name in it).<br class=""><br class="">Moreover, I get that same default apache2 “It works!” page if I try to load<br class="">murray-htdocs.local/index.php then I once again get the default apache “It works!” page rather than having the .php file executed [which among other things invokes phpinfo() ]<br class=""><br class="">** PHP seems OK **<br class=""><br class="">It’s NOT a question of the PHP configuration, because if I put a copy of that index.php page into <br class="">/opt/local/www/apache2/html, then loading localhost/index.php DOES work. <br class="">So again, this seems to be an issue with the virtual hosts configuration.<br class=""><br class=""><br class="">Any ideas what could be wrong?<br class=""></blockquote><br class="">---<br class="">Murray Eisenberg<span class="Apple-tab-span" style="white-space:pre">    </span><span class="Apple-tab-span" style="white-space:pre">    </span><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>Home (240)-246-7240<br class="">Rockville, MD 20850-6667<span class="Apple-tab-span" style="white-space:pre">    </span>Mobile (413)-427-5334<br class=""><br class=""><br class=""></div></div></blockquote></div><br class=""><div class="">
<div style="font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Marius</div><div class="">--</div><div class="">Marius Schamschula</div><div class=""><br class=""></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">

</div>
<br class=""></div></div></div></blockquote></div><br class=""><div 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>Home (240)-246-7240<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>

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