It may cause some problems, we use relative urls, but relative urls are relative to the root of the site not the root of your folder, the /folder/ is part of the relative url, so if you change it it may cause problems in your content like broken links and images.
http://www.mojoportal.com/moving-an-installation-of-mojoportal-to-a-different-server.aspx
Best,
Joe