in config file
<Directory /var/www/exampel2/priv>
AuthType Digest
AuthName "DigestAuth"
AuthUserFile /etc/httpd/conf.d/file
Require valid-user
</Directory>
----------------------------------------------
to creat file in etc/httpd/conf.d/
htdigest -c file DigestAuth my007ms
error msg
------------------------
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@website.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
-----------------------------------------------
in log file
configuration error: couldn't check user. No user file?: /priv