The Incident at Owl Creek Bridge, by Ambrose Bierce is the original.

Occurence, I think. Yes, indeed. One of San Francisco's finest authors. Too bad we lost 'im.