What does the act of observing do exactly?
Some interesting philosophical replies in this thread, however, my guess is that you were looking for a rational explanation.
Here is how an engineer would view it (pompously speaking on behalf of engineers, so please forgive me):
Using 'two slits' as the ideal
We have a light sensor attached to a computer - a 'gate open' records, a 'gate closed' we don't record.
We passively observe the results of impact.
The impact has occurred... our observation changes nothing because the impact has already happened.
We passively observe the projectile, on course, prior to impact.
If this was a large solid object, it would be reflecting light.
We would be observing reflected light - not the object.
Therefore, this would be no different to observing the results of impact.
Ie. No change
Even an extremely small solid object reflects, or blocks light.
Whether the gate is open or closed... no change occurs.
We now examine the passage of a photon.
Does it block light, or reflect light?
If another photon hits it... does it change course?
The question is:
Can we observe the photon by observing it's interaction with it's immediate environment?
Let us say we can observe the consequences of interaction.
Other photons are disturbed, and these enter the sensor.
In effect, these are physical results that indicate the passage of the monitored photon.
Whether the gate is open or closed, has no bearing on the photon.
The photon is doing what it is doing, regardless of our recording of the event.
As long as we change nothing, we record the physical event.
The photons random nature is irrelevant to us.
We observed 'it'.
Whether the gate was open or closed... the photon was there.
The problems occur when we cannot monitor interaction.
Let's say that we must apply a force, which the photon passage must alter.
The force must impact upon the photon.
But... if the force is ever present... the photon must do what it will do, in the presence of this force.
This, regardless of whether our distant gate is open or closed.
Therefore, we still record reality, only that it is a reality modified by our applied force.
The concept that 'the position of the photon would change according to whether the gate is open or closed' is purely theoretical.
We will have recorded the physical reality.
That is the engineer's view ( er nice

) of observation.