Lompat ke konten Lompat ke sidebar Lompat ke footer

[Solved] Permission Denied .Htaccess Pcfg_Openfile Cpanel

-  Pernah mengalami insiden error menyerupai ini, 403 Forbidden cPanel.


Pastikan anda selalu melaksanakan pengecekan pada file error-log pada server, kalau anda memakai cPanel gunakan perintah sbb :

tail -f /usr/local/apache/logs/error_log |grep username

Permission denied: /home/username/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable cpanel
Permission denied: /home/username/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable cpanel


Penyebab diatas alasannya ialah folder public_html dihapus kemudian di create lagi tanpa merubah kembali permision group yang seharusnya digunakan, yaitu "nobody" (standard cPanel).

SOLUSI :

Cek permision pada folder public_html pastikan memakai group "nobody"
cd /home/myusername/
chown myusername:nobody public_html

SOLVED..!

Posting Komentar untuk "[Solved] Permission Denied .Htaccess Pcfg_Openfile Cpanel"