0
우분투 14에서 아파치 2.4.7을 사용하고 있습니다. 아파치 가상 호스트 설정
내 mynewsites.conf
은 (/ 등/아파치/사이트-가능) 코드가이<VirtualHost *:80>
ServerAdmin samplesite.com
DocumentRoot /home/user/Desktop/sampe_app/public
<Directory "/home/user/Desktop/sampe_app/public">
AllowOverride all
Options -MultiViews
Require all granted
</Directory>
</VirtualHost>
흐름하지만 samplesite.com URL은 다음과 같은 오류를
403 Forbidden
You don't have permission to access/on this server.
수 중 하나를 나에게 보여줍니다 이 오류가 발생했습니다.
권한을 변경 한 후에도 여전히 동일한 오류가 발생했습니다 –
폴더로 연결되는 모든 디렉토리에 "drwxr-xr-x"권한이 있어야합니다. 그렇지 않으면 sudo chmod -R a + rx [your_directory] –
을 사용하여 변경할 수 있습니다. 아파치 로그가 /var/log/apache2/error.log에 무엇을 말합니까? –