Setting up Apache, virtual hosts, and PHP for MacOS Sierra
Additional httpd-vhost.conf
configuration
<VirtualHost *:80>
...
<Directory "/Users/[USERNAME]/Sites/[REPO]">
Options -Indexes +FollowSymLinks +Includes
AllowOverride All
Order allow,deny
Allow from All
</Directory>
...
</VirtualHost>
In the top level of your repo:
-
Add
.htaccess
file. There is a copy in this repo called.httaccess.local-backup
. From the command line run:cp .httaccess.local-backup .httaccess
-
Add
config.ini
file for debugging locally, There is a copy in this repo calledconfig.ini.local-backup
. From the command line runcp config.ini.local-backup config.ini
These files were purposely left out of version control becuase we don't want them being committed and deployed to production while we construct our development and staging environments.
This site was built using the F3 PHP Framework