how to add password verification during registration on Apache2 Ubuntu [closed]

  apache2, c++, ubuntu

I have to do a password check during user registration at Apache2 – the password must be, for example, more than eight characters, contain characters of different registers, and so on. In which file do I need to make changes? thank you!

Source: Windows Questions C++