Skip to content

Instantly share code, notes, and snippets.

@biojazzard
Created February 3, 2015 15:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save biojazzard/2945e272242c1ac4a732 to your computer and use it in GitHub Desktop.
Save biojazzard/2945e272242c1ac4a732 to your computer and use it in GitHub Desktop.
apache_user_conf
# File Location: /private/etc/apache2/users
# File name: nombre_de_usuario.conf
# Load Correct Cellar
#LoadModule php5_module /usr/local/opt/php53/libexec/apache2/libphp5.so
#LoadModule php5_module /usr/local/opt/php54/libexec/apache2/libphp5.so
LoadModule php5_module /usr/local/opt/php55/libexec/apache2/libphp5.so
#Main localhost DIR
DocumentRoot "/Users/nombre_de_usuario/Sites/"
<Directory "/Users/nombre_de_usuario/Sites/">
Options Indexes MultiViews +FollowSymlinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<IfModule alias_module>
Alias /public /Users/nombre_de_usuario/Dropbox/Public
</IfModule>
<Directory "/Users/nombre_de_usuario/Dropbox/Public/">
Options All
AllowOverride All
Order allow,deny
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
<IfModule dir_module>
DirectoryIndex index.php index.html
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment