Linux+Apache support added, small fixes done

Change-Id: Icabb4a815e85f502e252533d0cc9252246294e85