Access to the requested directory is only available from the local network.
This setting can be configured in the file "httpd-xampp.conf".
maka agan bisa mengganti konfigurasi dari XAMPP dengan merubah konfigurasi dari file httpd-xampp.conf yang ada di direktori c:\xampp\apache\conf\extra\httpd-xampp.conf.
Agan cari (Find / Ctrl+F) LocationMatch
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">kemudian ganti dengan :
Order deny,allow
Deny 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 \
81.196.40.94/32
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
Order deny,allow
#Deny 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>Yaitu dengan memblok "Deny from all" dengan "#"
Dan ini berhasil dikompi ane
Semoga membantu
Cheers.
No comments:
Post a Comment