Fixing issues with Apache etc