웹 서버 구축
apache2 웹 서버 Index of (파일구조) 숨기기
공부운동
2021. 8. 9. 21:32

http://IP_Address/filename 로 접근했을때 나타나는 Index of /filename 형태의 페이지를 해제한다.
sudo nvim /etc/apache2/apache2.conf

sudo systemctl restart apache2

[ 참고 ]
https://www.techrepublic.com/article/how-to-make-apache-more-secure-by-hiding-directory-folders/
How to make Apache more secure by hiding directory folders
If you serve up your websites with Apache, you might want to prevent the server from listing subdirectories. Here are two simple tricks for securing your Apache server.
www.techrepublic.com