Skip to content

Instantly share code, notes, and snippets.

@rbe
Created July 14, 2012 07:36
Show Gist options
  • Select an option

  • Save rbe/3109863 to your computer and use it in GitHub Desktop.

Select an option

Save rbe/3109863 to your computer and use it in GitHub Desktop.
Enable logging directives in Apache virtual server
#!bin/bash
set -o nounset
virtualserver=$1
sed -i -e 's/^[#]\(.*Log .*\)/\1/g' ${virtualserver}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment