The story here
In the original release of Star Wars (1977), a second-unit shot of the real Amghar Mosque stands for the outside of Obi-Wan Kenobi’s house; no actors were filmed here for it. The 1997 Special Edition swapped this view for a miniature and computer imagery. The same film is seen at the Hotel Sidi Driss, as the Lars homestead interior, at the former Ajim bakery that plays the Mos Eisley cantina exterior, and at Tikal, which stands in for Yavin 4.
The mosque, decommissioned and on the coast north of Ajim, Djerba, is reached by a public route; ask first before going further.

