Added additional bounds checking to conf_apache (needs more)