Fixed compatiblity with new apache module