fix: the script was not working with apache 2.2.15 (redhat 6.5)