I'm installing a new pre-configured website, but in order to install it, you need to create a configuration file as follows:
Thispartofthedocumentationisvaguetome,andIdidnotunderstandwhatthisconfigurationfilewouldbe,Ithencreatedan.htaccessfileinthehampionfolderofxampp.
Myfilelookslikethis:
NameVirtualHost*:80<VirtualHost*:80>ServerNamelocalhost;DocumentRootC:\xampp\htdocs\public;</VirtualHost>
ButwhenItrytoaccess link I see this error:
Ialsotriedtousemodifyingthecodeforthis:
NameVirtualHost*:80<VirtualHost*:80>ServerNamelocalhost;DocumentRoot/xampp/htdocs/public;</VirtualHost>
Buttheerrorgeneratedisthesame.WhatamIdoingwrong?Hereisthestructureofthehtdocsandpublicdirectoriesrespectively.