Depends on the design of the door frame, but I used to use a rod along the top of the curtain. The door frame had the usual decorative frame at the top, so I could put in a couple of fine nails on the top. The rod hung on the nails, and the curtain spread over the door. The nail holes were invisible from below, and were easily filled if it was an issue.

Graham