Created
August 31, 2016 15:21
-
-
Save GhazanfarMir/7015a373b83ae513dcd3f6e5cfc9d3c7 to your computer and use it in GitHub Desktop.
MAMP Virtual Hosts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NameVirtualHost *:8888 | |
<VirtualHost *:8888> | |
ServerName example.com | |
DocumentRoot /Applications/MAMP/htdocs/cato | |
<Directory /Applications/MAMP/htdocs/cato> | |
DirectoryIndex index.php | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</Directory> | |
</VirtualHost> | |
<VirtualHost *:8888> | |
ServerName ebury.com.local | |
DocumentRoot /Applications/MAMP/htdocs/zenf | |
<Directory /Applications/MAMP/htdocs/zenf> | |
DirectoryIndex index.php | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</Directory> | |
</VirtualHost> | |
# add the hostname in the hosts and access it using the port e.g. | |
# 127.0.0.1 ebury.com.local:8888 | |
# Usage: example.com:8888 & ebury.come.local:8888 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment