3
or you could go into your server control panel, and goto DNS settings and then change your domain starting folder to point to /xoops instead of /
then you would only need to change the actual URL in mainfile.php as the path would still be the same :)