Apache state, testing a virtualhost and fixing some stuff