File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed
Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -82,33 +82,6 @@ apt-get install apache2 apache2.2-common apache2-doc apache2-mpm-prefork apache2
8282
8383a2enmod suexec rewrite ssl actions include
8484
85- # Secure phpMyAdmin by deleting setuppassword-file
86- # and removing/commenting Setup Authorization from apache.conf
87-
88- rm /etc/phpmyadmin/htpasswd.setup
89-
90- vi /etc/phpmyadmin/apache.conf
91-
92- # delete/comment following lines (between the ----- lines):
93- ------------------------------------------------------
94- # Authorize for setup
95- <Files setup.php>
96- # For Apache 1.3 and 2.0
97- <IfModule mod_auth.c>
98- AuthType Basic
99- AuthName "phpMyAdmin Setup"
100- AuthUserFile /etc/phpmyadmin/htpasswd.setup
101- </IfModule>
102- # For Apache 2.2
103- <IfModule mod_authn_file.c>
104- AuthType Basic
105- AuthName "phpMyAdmin Setup"
106- AuthUserFile /etc/phpmyadmin/htpasswd.setup
107- </IfModule>
108- Require valid-user
109- </Files>
110- ------------------------------------------------------
111-
11285# restart apache before continuing
11386
11487/etc/init.d/apache2 restart
You can’t perform that action at this time.
0 commit comments