Added defang function for cgi directive.
Projects are now functional in new github repositories