htaccess

pcfg_openfile: unable to check htaccess file, ensure it is readable

Sehari lalu saya memindahkan web server ke mesin yang lebih baik, processor double core dan ram serta harddisk yang lebih besar (sedikit). Setelah migrasi, saya tidak menggunakan konfigurasi web server sebelumnya, namun memang ada perubahan yang cukup signifikan dari web server tersebut dan salah satunya adalah user group. Jika di server sebelumnya, semua file website dimiliki oleh apache selaku owner service http di apache web server. Namun konfigurasi di server baru saya ingin membuat agar kepemilikan root directory virtual host tetap atas nama user. Setelah setup apache dan virtual host selesai, saya bingung sekali, mata udah ngantuk kepala agak pusing, mungkin perlu istirahat? Sebelum tidur saya menemukan error seperti dibawah ini, dan itu membuat saya tidak bisa tidur, oprek sana oprek sini ternyata tidak membuahkan hasil, karena anehnya masalah ini tidak terjadi pada website lainnya :(

[Sat May 08 12:14:09 2010] [crit] [client 118.97.186.242] (13)Permission denied: /home/ngaknguk/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 08 12:14:11 2010] [crit] [client 118.97.186.242] (13)Permission denied: /home/ngaknguk/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 08 12:19:48 2010] [crit] [client 202.47.75.2] (13)Permission denied: /home/ngaknguk/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 08 12:19:52 2010] [crit] [client 202.47.75.2] (13)Permission denied: /home/ngaknguk/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 08 12:21:23 2010] [crit] [client 202.47.75.2] (13)Permission denied: /home/ngaknguk/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 08 12:22:59 2010] [crit] [client 66.249.69.245] (13)Permission denied: /home/ngaknguk/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 08 12:24:21 2010] [crit] [client 202.47.75.2] (13)Permission denied: /home/ngaknguk/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 08 12:28:54 2010] [crit] [client 125.161.196.15] (13)Permission denied: /home/ngaknguk/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 08 12:28:56 2010] [crit] [client 125.161.196.15] (13)Permission denied: /home/ngaknguk/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 08 12:28:58 2010] [crit] [client 125.161.196.15] (13)Permission denied: /home/ngaknguk/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 08 12:29:01 2010] [crit] [client 125.161.196.15] (13)Permission denied: /home/ngaknguk/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 08 12:33:24 2010] [crit] [client 110.138.22.31] (13)Permission denied: /home/ngaknguk/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://www.google.co.id/url?sa=t&source=web&ct=res&cd=1&ved=0CC0QFjAA&url=http%3A%2F%2Fblog.pnyet.web.id%2F2010%2F02%2F24%2Fapache-error-500.html&rct=j&q=error+500+di+web&ei=LfLkS-7wKMexrAexuOHYAg&usg=AFQjCNEpsTFYWgnbhKVkCvq4c-3PeDMjwg
[Sat May 08 12:33:27 2010] [crit] [client 110.138.22.31] (13)Permission denied: /home/ngaknguk/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 08 12:48:06 2010] [crit] [client 110.138.22.31] (13)Permission denied: /home/ngaknguk/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: http://www.google.co.id/url?sa=t&source=web&ct=res&cd=1&ved=0CC0QFjAA&url=http%3A%2F%2Fblog.pnyet.web.id%2F2010%2F02%2F24%2Fapache-error-500.html&rct=j&q=error+500+di+web&ei=LfLkS-7wKMexrAexuOHYAg&usg=AFQjCNEpsTFYWgnbhKVkCvq4c-3PeDMjwg
[Sat May 08 12:53:33 2010] [crit] [client 66.249.69.245] (13)Permission denied: /home/ngaknguk/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 08 12:53:34 2010] [crit] [client 66.249.69.245] (13)Permission denied: /home/ngaknguk/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 08 12:56:51 2010] [crit] [client 66.249.69.245] (13)Permission denied: /home/ngaknguk/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
[Sat May 08 12:57:33 2010] [crit] [client 66.249.69.245] (13)Permission denied: /home/ngaknguk/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

Akhirnya usut punya usut si user belum saya masukan ke groupnya apache…., duh malu-maluin :((

Setelah saya jalankan:

# usermod -G ngaknguk,apache,ftp ngaknguk

# id ngaknguk

uid=501(ngaknguk) gid=48(apache) groups=48(apache),50(ftp),501(ngaknguk)

Setelah itu, blog bisa kembali online, cheers…

One thought on “pcfg_openfile: unable to check htaccess file, ensure it is readable

Leave a Reply

Your email address will not be published. Required fields are marked *


*