fix apache configuration
coding style fixes