2013-03-22 1 views
0

내 호스트에서 하위 폴더 (test)를 만든 다음 test.php index.php를 입력합니다. 내가 그것을 example.com/test/index.php 전체 방송PHP에서 파일 접미사에 액세스 할 수없는 이유는 무엇입니까?

403 Forbidden 

Access to this resource on the server is denied! 
Powered By LiteSpeed Web Server 
LiteSpeed Technologies is not responsible for administration and contents of this web site! 

을 example.com/test example.com/test/test.php에 액세스 할 때 나는 .htaccess 파일을 생성하고 테스트 폴더에 넣어 경우. 파일 (.htaccess)이 비어 있습니다.

example.com/test example.com/test/test.php example.com/test/index.php, 

그러나 이제는 example.com/test이 URL에 액세스 할 수 있습니다. 왜?

답변

0

언급 한 파일에 액세스 할 수있는 권한이 있습니까? 단지, 하위 디렉토리가 아닌 프로젝트의 루트 디렉토리에 index.php를 유지하는 것이 더 나을 수도 있습니다.

+0

예, 제가 chomd를 777로 설정했습니다. – s321

관련 문제