Update apache.sh

Replaced awk strings with sed, it handles paths much smoother.