Forbidden

You don't have permission to access / on this server.
Server unable to read htaccess file, denying access to be safe

 

 

이런 페이지 에러가 나오는데요

 

 

고도호스팅에서 안내해준것처럼 했는데 에러가나네요

 

계정생성
useradd -d /www/디렉토리명 계정ID
패스워드 설정
passwd 계정ID

아파치 도메인 연결 아래 경로 파일에서 설정하시면 됩니다.
vim /usr/local/apache/conf/httpd.conf
맨 하단에 보시면 가상호스트 설정이 있습니다.
해당 설정을 수정하시어 추가해 주시면 됩니다.

<VirtualHost 117.52.xxx.x:80>
ServerAdmin [email protected]
ServerName 도메인.com
ServerAlias www.도메인.com 
DocumentRoot /www/계정/public_html
Transferlog "|/usr/local/cronlog/sbin/cronolog /usr/local/apache/logs/transferlog/access_%Y%m%d_transfer_log"
</VirtualHost>

아파치 재시작
/etc/init.d/httpd restart
 

 

 

이게 아닌가요?

  • profile
    /www/계정/public_html 에 index.html 파일을 업로드 해두셨나요?