During filming at a rock quarry in Sun Valley, temperatures reached as high as 128 °F/53 °C. It was the hottest period in that part of the country in over ten years; so hot that the makeup was melting on-camera. If you look closely, you can see the eyes of the Jem'Hadar are quite red, due to the makeup dripping into the actors' eyes as it ran off their foreheads.
Terry Farrell is so sensitive to direct and sustained sunlight that the producers chose to film her scenes inside a cave on location at a rock quarry.
"Rocks and Shoals" was the informal name of the Articles for the Government of the United States Navy. These articles were known for triggering swift and harsh punishment, and were replaced by the Uniform Code of Military Justice in 1951.
The original idea for this episode came from the WWII film None But the Brave (1965), a film about the interactions of the crew of a downed American plane and the Japanese army patrol who find them.
This episode was filmed at a rock quarry in Sun Valley, north of Los Angeles. This was basically the same location (Soledad Canyon) which had been used for Cardassia IV in The Homecoming (1993), for Dozaria in Indiscretion (1995), and for Torga IV in The Ship (1996). Although the quarry contained water, all of the shots with the ocean and the shoreline were digitally created.