Skip to content

Instantly share code, notes, and snippets.

@cliftonlabrum
Created January 24, 2013 18:43
Show Gist options
  • Save cliftonlabrum/4626282 to your computer and use it in GitHub Desktop.
Save cliftonlabrum/4626282 to your computer and use it in GitHub Desktop.
Remove log creation from local VirtualHost.sh script
If you have a ~/.virtualhost.sh.conf file with:
PROMPT_FOR_LOGS="no"
ALWAYS_CREATE_LOGS="no"
The virtualhost definition will not have any log files defined, and will default to the global access_log and error_log (in /var/log/apache2 by default on Mac OS X).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment