2016-10-10 8 views
0

내가하는 일은 무엇이든, cant는 공용 IP 주소를 통해 지역 wamp에 액세스합니다. 다음과 같은 오류 메시지가 나타납니다.Wampserver 3.0.6 64 비트 - 403 금지됨

금지됨 이 서버에 액세스 할 수있는 권한이 없습니다. Apache/2.4.23 (Win64) PHP/5.6.25 서버 (내 공개 IP) 포트 80

아래 나는 이것을 조절해야하는 httpd.cong 부분을 붙여 넣었습니다. 기본적으로 모든 것이 정상적으로 처리됩니다.

Wampserver는 자체 메뉴 항목을 사용하여 온라인 상태가됩니다. 내가 디렉토리 설정에 코드 아래에 삽입하는 시도

enter image description here

, 도움이되지 않습니다.

Options FollowSymLinks 
AllowOverride All 
Order allow,deny 
Allow from all 

나는 무엇이 있습니까? 감사합니다. 당신이 내 질문을 읽을 경우

DocumentRoot "${INSTALL_DIR}/www" 
<Directory "${INSTALL_DIR}/www/"> 
    # 
    # Possible values for the Options directive are "None", "All", 
    # or any combination of: 
    # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews 
    # 
    # Note that "MultiViews" must be named *explicitly* --- "Options All" 
    # doesn't give it to you. 
    # 
    # The Options directive is both complicated and important. Please see 
    # http://httpd.apache.org/docs/2.4/mod/core.html#options 
    # for more information. 
    # 
    Options +Indexes +FollowSymLinks +Multiviews 

    # 
    # AllowOverride controls what directives may be placed in .htaccess files. 
    # It can be "All", "None", or any combination of the keywords: 
    # AllowOverride FileInfo AuthConfig Limit 
    # 
    AllowOverride all 

    # 
    # Controls who can get stuff from this server. 
    # 

# onlineoffline tag - don't remove 
    Require all granted 
</Directory> 

@ RiggsFolly-, 당신은 당신이와 중복되는 표시 한 것과 가까이 아무데도 dknow woul. 메뉴 항목이 표시되지 않는 이유를 묻지 않았습니다 ...

+0

파일 시스템 권한 문제와 모양이 같습니다. – arkascha

+0

정성스럽게 신경 쓰시겠습니까? – mee

+0

@arkascha 아니요 창문에 – RiggsFolly

답변

9

이미 가상 호스트 파일이있는 경우 풋 온라인 메뉴 항목에 필요한 변경 사항이 적용되지 않습니다. vhosts 파일에서 변경 로컬 필요 ~ 모두 허락을 받아야합니다.이 문제를 해결했습니다. 이상한 ....

# Virtual Hosts 
# 

<VirtualHost *:80> 
    ServerName localhost 
    DocumentRoot F:/wamp64/www 
    <Directory "F:/wamp64/www/"> 
     Options +Indexes +Includes +FollowSymLinks +MultiViews 
     AllowOverride All 
     Require all granted 
    </Directory> 
</VirtualHost> 
# 
+0

다른 모든 변경 사항을 삭제하지 마십시오. – RiggsFolly

+0

내 시간을 저축 해 주셔서 감사합니다. –

+0

감사합니다! 마지막으로 대답을 찾았습니다! – bwoogie