안녕하세요
최연소노계(응?) 조채연입니다
다름이 아니고 우분투서버로 간단한 웹호스팅을 할려는데 막히는점이 생겨서 도저히 안되서 질문드립니다
index of 페이지는 보안상의 이유로 꼭 막아야되는데 포럼을 뒤져보니 viewtopic.php?p=50157 요런글이있길래
참고를 하엿으나 먹히지 않습니다
수십번도 해보앗으나 먹히지가 않아 포럼에 문의를 해봅니다
아래는 수정된 /etc/apache2/sites-available/default 파일내용입니다
[code:fc8ycuam] <VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/var/www">
Options -Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
<Directory "/home/*/public_html">
Options -Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options -Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
deny from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName ohohme.co.kr
Serveralias www.ohohme.co.kr ohohme.co.kr
ServerAdmin webmaster@localhost
DocumentRoot /var/www
</VirtualHost>
<VirtualHost *:80>
ServerName ohohme.co.kr
Serveralias file.ohohme.co.kr
ServerAdmin webmaster@localhost
DocumentRoot /home/file/public_html
</VirtualHost>
<VirtualHost *:80>
ServerName ohohme.co.kr
Serveralias cheayuncho.ohohme.co.kr
ServerAdmin webmaster@localhost
DocumentRoot /home/cheayuncho/public_html
</VirtualHost>
<VirtualHost *:80>
ServerName ohohme.co.kr
Serveralias naru.ohohme.co.kr
ServerAdmin webmaster@localhost
DocumentRoot /home/naru/public_html
</VirtualHost>
[/code:fc8ycuam]
분명 설정상에는 문제가 없는것같은데 무엇이 문제일까요…
추가로 에러페이지 설정은 어떤 문서를 수정해야되는겁니까!?