include common apache resource creation

distinguish between port type

save list of ports for a service