(1) I am 99% confident that No. 1 is correct:
The doctor prescribed antibiotics [on Tuesday] for the man who had developed a rash
(2) Your second sentence seems to give the meaning:
The doctor prescribed antibiotics for the man who [then] developed a rash.
Interested in Language