Cara Mengatasi Access forbidden! Error 403 XAMPP di Windows |
Masih berkutat dengan database, phpMyAdmin, dan XAMPP. Saya menemui masalah Access forbidden! Error 403 XAMPP di Windows.
Access forbidden!
New XAMPP security concept:
Access to the requested directory is only available from the local network.
This setting can be configured in the file "httpd-xampp.conf".
If you think this is a server error, please contact the webmaster.
Error 403
xxx.168.0.5
Apache/2.4.33 (Win32) OpenSSL/1.1.0g PHP/7.2.4
New XAMPP security concept:
Access to the requested directory is only available from the local network.
This setting can be configured in the file "httpd-xampp.conf".
If you think this is a server error, please contact the webmaster.
Error 403
xxx.168.0.5
Apache/2.4.33 (Win32) OpenSSL/1.1.0g PHP/7.2.4
Solusi dari masalah ini sudah ada di keterangannya: "This setting can be configured in the file "httpd-xampp.conf"." tinggal mengikuti langkah-langkah di bawah ini.
1. Cari file "httpd-xampp.conf" di direktori tempat instalasi XAMPP (pada kasus ini, lokasi direktorinya C:\xampp\apache\conf\extra\httpd-xampp.conf).
2. Buka file "httpd-xampp.conf" dengan Notepad atau Notepad++
3. Cari text seperti di bawah ini:
Alias /phpmyadmin "C:/xampp/phpMyAdmin/"
<Directory "C:/xampp/phpMyAdmin">
AllowOverride AuthConfig
Require local
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</Directory>
<Directory "C:/xampp/phpMyAdmin">
AllowOverride AuthConfig
Require local
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</Directory>
4. Ganti "Require local" menjadi "Require all granted".
5. Simpan dan restart XAMPP.
6. Selesai.
** Saran: berikan password pada phpMyAdmin untuk menambah keamanan database.
14 komentar
Write komentarThank you gann.. sangat bermanfaat, ditunggu text tutornya
Replysip, senang bisa membantu.
Replysorry gan, kok tetep
Reply"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."
gimana ya itu gan?
kalau itu coba cek sini gan
Replyhttp://stackoverflow.com/questions/17816732/xampp-access-forbidden-php
Kok tetap gini yah gan ?
ReplyAccess forbidden!
New XAMPP security concept:
Access to the requested object is only available from the local network.
This setting can be configured in the file "httpd-xampp.conf".
If you think this is a server error, please contact the webmaster.
Error 403
localhost
Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7
sudah ganti "Require local" menjadi "Require all granted" ?
ReplyRequire Local nya kan ada 2.. Apa 2 2 nya di ganti
Replysuper dan sangat bermanfaat, semoga berkah dan jadi ladang amal
Replysatu aja, yg diganti pas yg dibawah tulisan:
ReplyAlias /phpmyadmin "C:/xampp/phpMyAdmin/"
AllowOverride AuthConfig
amin..
ReplyRequire locall suda di ganti dengan require all granted. tapi masi tetp eror. Solusinya gimana bos
Replycoba matikan firewallnya bos
Replythank you very much, this is very helpful
Replyapache malah ga bs start
ReplyEmoticonEmoticon