Fixed compatibility with Ubuntu 13.10(Apache 2.4 mainly).