help with apache2 please

hi i want to know how to validate users in apache,so when the users get to the page they have to validate to enter

The classic (and easiest) way is to use .htaccess and .htpassword files. This isn’t foolproof, but it’s good enough for most purposes.

Authentication, Authorization and Access Control - Apache HTTP Server

i search a little and the page say that i got to configure the archive HTTPD.CONF but didnt say how create the user and password for that…

Maybe this will help?
Authentication, Authorization and Access Control - Apache HTTP Server