Page 1 of 1
เจอปัญหา Permission denied: /home/mindphp/.htaccess pcfg_openfile: unable to check htaccess file
Posted: 02/01/2017 10:18 pm
by mindphp
Permission denied: /home/mindphp/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer:
...
ลองเช็คๆ ดูปัญหาน่าจะมีจาก Permission ของ folder ใน directadmin เปลี่ยนไป
ทางแก้ต้องทางเอามันกลับมาเหมือนเดิม
Re: เจอปัญหา Permission denied: /home/mindphp/.htaccess pcfg_openfile: unable to check htaccess file
Posted: 02/01/2017 10:21 pm
by mindphp
ลองเช็ค folder
/home/mindphp Permission
เป็น drwx------
แก้ด้วย
จะได้ drwxr-xr-x กลับมาเหมือนเดิม
Re: เจอปัญหา Permission denied: /home/mindphp/.htaccess pcfg_openfile: unable to check htaccess file
Posted: 02/01/2017 11:21 pm
by mindphp
ถ้ามีปัญหาหลายๆ folder ทาง #directadmin เค้ามี #script ไว้สำหรับช่วย
โหลดด้วยโปรแกรม #wget
Code: Select all
wget http://files.directadmin.com/services/all/set_permissions.sh
รัน
Code: Select all
./set_permisions.sh set_user_home username

Re: เจอปัญหา Permission denied: /home/mindphp/.htaccess pcfg_openfile: unable to check htaccess file
Posted: 03/01/2017 12:08 am
by mindphp
#directadmin
.