Cara Mengatasi Access forbidden! Error 403 XAMPP di Windows

Cara Mengatasi Access forbidden! Error 403 XAMPP di Windows
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

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.

Langkah:
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>

4. Ganti "Require local" menjadi "Require all granted".
5. Simpan dan restart XAMPP.
6. Selesai.

** Saran: berikan password pada phpMyAdmin untuk menambah keamanan database.

Not need to know.

Artikel Terkait

Previous
Next Post »

14 komentar

Write komentar
Ammar Aryanto
AUTHOR
11 Maret 2019 pukul 10.22 delete

Thank you gann.. sangat bermanfaat, ditunggu text tutornya

Reply
avatar
christiyoda
AUTHOR
21 Maret 2019 pukul 10.57 delete

sip, senang bisa membantu.

Reply
avatar
MasMas
AUTHOR
6 Mei 2019 pukul 17.06 delete

sorry gan, kok tetep

"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?

Reply
avatar
christiyoda
AUTHOR
7 Mei 2019 pukul 13.47 delete

kalau itu coba cek sini gan
http://stackoverflow.com/questions/17816732/xampp-access-forbidden-php

Reply
avatar
Syahrul
AUTHOR
11 Mei 2019 pukul 02.14 delete

Kok tetap gini yah gan ?

Access 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

Reply
avatar
christiyoda
AUTHOR
11 Mei 2019 pukul 09.59 delete

sudah ganti "Require local" menjadi "Require all granted" ?

Reply
avatar
Ariel Fauzan
AUTHOR
15 Agustus 2019 pukul 22.30 delete

Require Local nya kan ada 2.. Apa 2 2 nya di ganti

Reply
avatar
Unknown
AUTHOR
16 Agustus 2019 pukul 10.11 delete

super dan sangat bermanfaat, semoga berkah dan jadi ladang amal

Reply
avatar
christiyoda
AUTHOR
24 Agustus 2019 pukul 07.14 delete

satu aja, yg diganti pas yg dibawah tulisan:
Alias /phpmyadmin "C:/xampp/phpMyAdmin/"

AllowOverride AuthConfig

Reply
avatar
Unknown
AUTHOR
2 Oktober 2019 pukul 23.56 delete

Require locall suda di ganti dengan require all granted. tapi masi tetp eror. Solusinya gimana bos

Reply
avatar
christiyoda
AUTHOR
5 Oktober 2019 pukul 09.12 delete

coba matikan firewallnya bos

Reply
avatar
Maya ayu
AUTHOR
5 Juni 2020 pukul 03.16 delete

thank you very much, this is very helpful

Reply
avatar
pemburu
AUTHOR
27 Juli 2021 pukul 22.48 delete

apache malah ga bs start

Reply
avatar