changed structure for apache server