当前位置:Gxlcms > PHP教程 > 配备phpmyadminmuninhtpasswd

配备phpmyadminmuninhtpasswd

时间:2021-07-01 10:21:17 帮助过:25人阅读

配置phpmyadmin munin htpasswd

config


        ServerName 110.111.22.45

        ServerAdmin webmaster@localhost

	Alias /munin /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

	    
		ExpiresActive On
		ExpiresDefault M310
	    



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

        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

?apt-get install munin,munin-node

apt-get installphpmyadmin

?

?

sudo htpasswd -c .my_passwd username

人气教程排行