apache, httpd SymbolicLink let's encrypt auth
by 개발자   2025-01-26 11:58:08   조회수:146

 어느 순간 아파치에서 심볼릭 링크가 먹히지 않는다.


== 아래 내용으로 사용하고 있음.  2025.1.26

  1. Clean up and prepare
sudo unlink /var/www/html/stuff # Remove old link
sudo mkdir /var/www/html/stuff # Create empty directory as mount target
  1. Test it in the current session
sudo mount --bind /home/ed/mystuff /var/www/html/stuff
  1. Make it persist across reboots by appending the following to /etc/fstab:
/home/ed/mystuff    /var/www/html/stuff    none    nodev,nosuid,noexec,noatime,bind    0    0


참고자료
https://askubuntu.com/questions/1502476/sym-link-in-apache-used-to-work-but-is-now-forbidden