Created
January 10, 2019 07:10
-
-
Save abponcio/a506fc6792a95c09194f2e0b7b4d8c1e to your computer and use it in GitHub Desktop.
Apache configuration Cheat sheet
This file contains 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
#Set Hosts to be used | |
<Directory "/hosts"> | |
Options Indexes FollowSymLinks | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
Require all granted | |
</Directory> | |
# Set Tools to be used | |
<Directory "/tools"> | |
Options Indexes FollowSymLinks | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
Require all granted | |
</Directory> | |
# VHOST Alias | |
#Symlink the current folder to public | |
<VirtualHost *:80> | |
ServerAlias * | |
UseCanonicalName Off | |
ServerAdmin anthonybryleponcio@gmail.com | |
VirtualDocumentRoot /hosts/%0/current | |
VirtualScriptAlias /hosts/%0/current | |
</VirtualHost> | |
Alias /mysql "/tools/phpmyadmin" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment