Disable vhosts in macos

Hi I want to disable vhosts
as if no longer : http://project.log/page
which would be :http://localhost/project/page/
So how can I do it?
Thank you all for reading and looking forward to hearing from you as soon as possible