The magnetoresistance of a one-dimensional electron gas in a metallic
ferromagnetic nanowire containing two atomic-size domain walls has
been investigated in the presence of spin-orbit interaction. The
magnetoresistance is calculated in the ballistic regime, within the
Landauer-Büttiker formalism. It has been demonstrated that the
conductance of a magnetic nanowire with double domain walls can be
controlled through the domain walls separation. Also, we have
represented another alternative way that enables us to handle easily
the magnetoresistance of such a system as well as its conductance by
utilizing the Rashba-type spin-orbit interaction induced by the
external gates.