- Code: Select all
<LocationMatch "^/(?i:(?:xampp|security|licenses|webalizer|server-status|server-info))">
<RequireAny>
Require ip ::1 27.123.456.789/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>
Ex: i want load phpmyadmin from ip my server http://27.123.456.789/phpmyadmin
Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
Error 403
27.123.456.789
Apache/2.4.3 (Unix) OpenSSL/1.0.1c PHP/5.4.7