For the host name set, if there is no data in the HTTP_HOST var, then set it to NA instead. Also default set to port 80 if no port info could be found.
- add .gitignore for log, templates_c and tmp - add base www/ folder