1) http://community.apachefriends.org/f/viewtopic.php?f=17&t=51854&sid=e52c3dd3cd297810d24a0804fd42cd82
2) http://community.apachefriends.org/f/viewtopic.php?f=3&t=50969
I am using XAMPP 1.8.1 . I think that this is right solution. But I do not understand the solution very well.
1: German Language
2: what are the following IPs mean? I know that localhost is 127.0.0.1 but why there are other IPs? I just want open phpmyadmin from local server/localhost ONLY. no access allow from outside my local network/local xampp server. do I need other Ips?
1 127.0.0.0/8 \
fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
fe80::/10 169.254.0.0/16
here is my current New XAMPP security concept
- Code: Select all
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
Order deny,allow
Deny from all
Allow from all
Allow from ::1 127.0.0.0/8 \
fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
fe80::/10 169.254.0.0/16
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>
Do I need to use the following codes as the replacement?
- Code: Select all
#
# New XAMPP security concept
#
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
<RequireAny>
Require ip ::1 127.0.0.0/8 \
fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
fe80::/10 169.254.0.0/16
</RequireAny>
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>
Thank you for helping?