Monday, May 19, 2014

Mengatasi Error 403 pada phpmyadmin di XAMPP

Setelah melakukan instalasi XAMPP seperti pada tulisan sebelumnya, akhirnya bisa mengakses localhost melalui peramban web. Ternyata masalah muncul waktu mencoba mengakses phpmyadmin. Muncul pesan berikut ini:
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
localhost
Apache/2.4.3 (Unix) OpenSSL/1.0.1c PHP/5.4.7
Akhirnya dengan bantuan Google, mendapatkan pencerahan di sini.
Langkahnya adalah (sesuai dengan perintah pada halaman error tersebut), kita harus melakukan perubahan pada file http-xampp.conf yang berada pada folder /opt/lampp/etc/extra.
Buka terminal, lalu ketikkanlah:
sudo geany /opt/lampp/etc/extra/httpd-xampp.conf
Catatan: gantilah geany dengan aplikasi text editor yang ada pada distro linux Anda.
Setelah aplikasi geany terbuka, carilah tulisan:

AllowOverride AuthConfig Limit
Order allow,deny
Allow from all
Pada aplikasi geany milik penulis, tulisan tersebut berada pada baris 15 sampai 19.
Tambahkan tulisan Require all granted> hingga menjadi seperti berikut ini:

AllowOverride AuthConfig Limit
Order allow,deny
Allow from all
Require all granted
Simpanlah file httpd-xampp.conf yang telah dirubah tadi, lalu jalankan lagi xampp.
Sumber : http://ipulborneo.web.id/mengatasi-error-403-pada-phpmyadmin-di-xampp/

0 comments:

Post a Comment