What would it be and how to use NameVirtualHost *: 80?

1

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.

    
asked by anonymous 19.09.2017 / 19:50

0 answers