apache conf and permissions fix