Stopping phpMyAdmin login page from being accessed from inte

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Stopping phpMyAdmin login page from being accessed from inte

Postby aj123cd » 28. July 2009 16:32

Stopping phpMyAdmin login page from being accessed from internet

PhpMyAdmin can be accessed simply by
http://www.mydomain.org/phpmyadmin
to stop I have followed the method. But I am not sure it is the correct method. Can anyone tell me that I’m Wright or wrong. Thanks you

In \xampp\apache\conf\extra\httpd-xampp.conf change red with green:
Replace "Allow from localhost" with "Allow from 127.0.0.1"

1. XAMPP
<Directory "/xampp/htdocs/xampp">
<IfModule php5_module>
<Files "status.php">
php_admin_flag safe_mode off
</Files>
</IfModule>
Order deny, allow
Deny from all
Allow from all
</Directory>

</IfModule>
Order deny, allow
Deny from all
Allow from 127.0.0.1
</Directory>

2. SECURITY

<Directory "/xampp/security/htdocs">
<IfModule php5_module>
<Files "xamppsecurity.php">
php_admin_flag safe_mode off
</Files>
</IfModule>
Order deny, allow
Deny from all
Allow from all
</Directory>


</IfModule>
Order deny, allow
Deny from all
Allow from 127.0.0.1
</Directory>

3. phpMyAdmin
<Directory "/xampp/phpMyAdmin">
Order deny, allow
Deny from all
Allow from all
</Directory>

<Directory "/xampp/phpMyAdmin">
Order deny, allow
Deny from all
Allow from 127.0.0.1
</Directory>

Or
1. open the file "\xampp\apache\conf\extra\httpd-xampp.conf" in a texteditor
2. replace "Allow from localhost" with "Allow from 127.0.0.1" (2 times)
3. save the file
4. restart Apache
aj123cd
 
Posts: 62
Joined: 03. June 2009 08:19
Location: London,UK

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 33 guests