Last active
November 20, 2018 01:50
-
-
Save eslam-mahmoud/b7fba319b148acd40767fbb965e77cbb to your computer and use it in GitHub Desktop.
Apache VirtualHost
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
<VirtualHost *:80> | |
DocumentRoot "/Library/WebServer/Documents/appname" | |
ServerName appname.local | |
ServerAlias www.appname.local | |
ErrorLog "/private/var/log/apache2/appname.local.error" | |
CustomLog "/private/var/log/apache2/appname.local.custom" common | |
<Directory /Library/WebServer/Documents/appname/> | |
Options Indexes FollowSymLinks | |
AllowOverride All | |
Require all granted | |
</Directory> | |
AccessFileName .htaccess | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment