CAFE

아파치 icons 접근 불가 시

작성자운영자|작성시간19.01.31|조회수689 목록 댓글 0

원인은 아파치는 기본적으로 icons라는 디렉토리가 다른 경로로 지정되어있다.

 /etc/apache2/mods-available/alias.conf 파일을 열면 

<IfModule alias_module>

     # Aliases: Add here as many aliases as you need (with no limit). The format is

     # Alias fakename realname

     #

     # Note that if you include a trailing / on fakename then the server will

     # require it to be present in the URL.  So "/icons" isn't aliased in this

     # example, only "/icons/".  If the fakename is slash-terminated, then the

     # realname must also be slash terminated, and if the fakename omits the

     # trailing slash, the realname must also omit it.

     #

     # We include the /icons/ alias for FancyIndexed directory listings.  If

     # you do not use FancyIndexing, you may comment this out.

 

     Alias /icons/ "/usr/share/apache2/icons/"

 

     <Directory "/usr/share/apache2/icons">

         Options FollowSymlinks

         AllowOverride None

         Require all granted

     </Directory>

 

 </IfModule>



라고 별칭 되어 있는 것을 확인할 수 있음.

해결책은 기본설정은 놔두고 사용자가 이름을 바꿔서 사용하는 것을 권장한다. 우리가 양보하자.


다음검색
현재 게시글 추가 기능 열기

댓글

댓글 리스트
맨위로

카페 검색

카페 검색어 입력폼