Golfreeze.packetlove.com: Life style of Golfreeze Canon400D Family kammtan.com Jazz Freebsd Unix Linux System Admin guitar Music

All about unix linux freebsd and FAQ for Packetlove.com Web hosting , Mail hosting , VoIP + IP PBX server => Os kernel การปรับแต่ง เพิ่มเติม ลงโปรแกรม บน OS และ ControlPanel Directadmin,Cloud server => Topic started by: golfreeze on เมษายน 01, 2020, 04:25:07 PM

Title: directadmin private_html Symbolic link not allowed or link target not accessible
Post by: golfreeze on เมษายน 01, 2020, 04:25:07 PM
=> เจอ error "directadmin private_html Symbolic link not allowed or link target not accessible" ตอนที่เปิดใช้งาน ssl แล้วให้ symlink วิ่งไปจาก private_html -> public_html

ลองสังเกตดูที่ไฟล์ options.conf จะมีตัว
vi /usr/local/directadmin/custombuild/options.conf

harden_symlinks_patch=yes

ให้ทำการแก้ไขเป็น
harden_symlinks_patch=no

แล้วทำการ build apache ใหม่ครับ
cd /usr/local/directadmin/custombuild/
./build apache

ทำการเข้าเทส url https อีกรอบก็จะใช้งานได้ลนะครับผม