Home > Backend Development > PHP Tutorial > 配备phpmyadmin munin htpasswd

配备phpmyadmin munin htpasswd

WBOY
Release: 2016-06-13 13:22:25
Original
964 people have browsed it

配置phpmyadmin munin htpasswd

config

<VirtualHost *:80>
        ServerName 110.111.22.45

        ServerAdmin webmaster@localhost

	Alias /munin /var/cache/munin/www
	<Directory /var/cache/munin/www>
	Options FollowSymLinks MultiViews
			AllowOverride None
			Order allow,deny
			allow from all


		 AuthUserFile /etc/munin/munin-htpasswd
		 AuthName "Munin"
		 AuthType Basic
		 require valid-user

	    <IfModule mod_expires.c>
		ExpiresActive On
		ExpiresDefault M310
	    </IfModule>

</Directory>

        alias /phpmyadmin /usr/share/phpmyadmin
        <Directory /usr/share/phpmyadmin>
                Options FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>

        ErrorLog /var/log/apache2/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel error

        CustomLog /var/log/apache2/access.log combined
</VirtualHost>
Copy after login

?apt-get install munin,munin-node

apt-get installphpmyadmin

?

?

sudo htpasswd -c .my_passwd username

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template