Created
July 14, 2012 07:36
-
-
Save rbe/3109863 to your computer and use it in GitHub Desktop.
Enable logging directives in Apache virtual server
This file contains hidden or 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
| #!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