Devin.KR

apache2/httpd에서 심볼링 링크 경로 리소스 적용

개발자 조회 3197
아파치2/httpd에서  심볼링 링크 경로  리소스 적용
<Directory "/var/www/html">
 Options -Indexes FollowSymLinks MultiViews
 AllowOverride All
 Allow from all
</Directory>

<Directory "/home/myuser/myrepo/webfiles">
 Options -Indexes FollowSymLinks MultiViews
 AllowOverride All
 Allow from all
</Directory>

Please check in default httpd.conf or apache.conf if "AllowOverride" is set to "None" for directory/var/www/html/

Also if symlinks not working you can mount one folder to another folder as below

mkdir /var/www/html/webfiles
mount -o bind /home/myuser/myrepo/webfiles /var/www/html/webfiles


refer from 

https://serverfault.com/questions/571229/im-unable-to-symlink-a-directory-into-var-www-html



댓글 0

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

댓글을 남기려면 로그인이 필요합니다.