<Files *.dat> ForceType text/plain </Files> [download]
Untested.
In reply to Re: Viewing .dat files by ikegami in thread Viewing .dat files by Kathy181249