Menu

[r1645]: / htaccess_example  Maximize  Restore  History

Download this file

21 lines (15 with data), 553 Bytes

AuthType Digest
AuthName "CGRU"
AuthDigestDomain /cgru/ http://cgru.info

AuthDigestProvider file
AuthGroupFile /cgru/.htgroups
AuthUserFile /cgru/.htdigest

# Require valid-user

# Needed modules:
# sudo a2enmod ssl auth_digest authz_groupfile

# Needed utils: htdigest, php multibyte string (utf-8 search)
# sudo apt-get install apache2-utils php php-mbstring libapache2-mod-wsgi-py3
# sudo apt-get install exiftool mediainfo
# # Usage: htdigest [-c] passwordfile realm username
# # The -c flag creates a new file.
# htdigest -c .htdigest CGRU admin

MongoDB Logo MongoDB