사이트 내 전체검색
#서버 #아피치 특정 폴더만 ip 제한 및 php 오류 보이게
프리이미지
https://cmd.kr/server/731 URL이 복사되었습니다.

본문

<directory /nfs/폴더>

    Order deny,allow

    Allow from 210.111.222.0/24

    Deny from all

    php_admin_value display_errors On

</directory>

 
 

 

 

If you have Local Values overriding master values, you won't change its values in php.ini take a look for those variables in a .htaccess or in the virtual-host config file.

...
        php_admin_value register_globals On
        php_admin_value display_errors On
        php_admin_value error_reporting E_ALL
</VirtualHost>

If you edit vhost, restart apache, .htaccess edits don't need apache to restart

 

댓글목록

등록된 댓글이 없습니다.

1,139 (1/23P)

Search

Copyright © Cmd 명령어 18.119.111.9