added .gitingore in root folder to avoid any files appearing as a result of building
patch for rewrite rule/redirect problem