Skip to content

Instantly share code, notes, and snippets.

@tsertkov
Created September 9, 2013 12:55
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 tsertkov/6495210 to your computer and use it in GitHub Desktop.
Save tsertkov/6495210 to your computer and use it in GitHub Desktop.
Apache developer folder configuration with mod_macro.
<Macro Account $name>
<Directory "/home/$name/vhosts/">
php_admin_value open_basedir "/home/$name/:/usr/share/php/:/tmp/:/usr/bin/"
php_value error_log "/home/$name/vhosts/php_error.log"
php_value include_path ".:/usr/share/php"
php_flag log_errors On
php_flag short_open_tag On
</Directory>
</Macro>
Use Account john
Use Account stefan
Use Account mike
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment