Apache Basic Authentication: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
(Created page with "<source lang="bash"> apt-get -y install mariadb-server mariadb-client apt-get install libaprutil1-dbd-mysql </source> <source lang="bash"> a2enmod dbd a2enmod authn_dbd a2enm...")
 
No edit summary
Line 1: Line 1:
<source lang="bash">
<source lang="bash">
apt-get -y install mariadb-server mariadb-client
apt -y install mariadb-server mariadb-client
apt-get install libaprutil1-dbd-mysql
apt install libaprutil1-dbd-mysql
</source>
</source>


Line 25: Line 25:
* [https://httpd.apache.org/docs/2.4/mod/mod_authz_dbd.html Group Authorization and Login using SQL]
* [https://httpd.apache.org/docs/2.4/mod/mod_authz_dbd.html Group Authorization and Login using SQL]
* [https://www.howtoforge.com/tutorial/password-protect-directories-with-mod_authn_dbd-mysql-on-apache-debian-jessie Apache 2 Basic Authentication]
* [https://www.howtoforge.com/tutorial/password-protect-directories-with-mod_authn_dbd-mysql-on-apache-debian-jessie Apache 2 Basic Authentication]
* [[Apache/Multilang Errordoc]]
* [[Apache/AutoIndex]]
* [[Apache/Proxy]]

Revision as of 01:46, 29 January 2020

apt -y install mariadb-server mariadb-client
apt install libaprutil1-dbd-mysql
a2enmod dbd
a2enmod authn_dbd
a2enmod authz_dbd
authn_socache
systemctl restart mysql
update-rc.d mysql enable
systemctl restart apache2
update-rc.d apache2enable

References