본문 바로가기

분류 전체보기30

[Apache2]Forbidden error 아파치 서비스에게 Document root에 대한 실행 권한이 없기 때문에 발생할 수 도 있다. it's about permission of directory of apache2 user(www-data) chwon $USER:www-data $PATH 2022. 5. 30.
[AWS Ubuntu 22.04 mariadb remote access] 1.AWS security setting Apply inbound security rule that allow access from remote client through port(3306 in generally) 1-1) create security group with inbound rule for allow 3306 port 1-2) EC2 action ( Change security groups) 1-3) add newly added securiy group. 2. mariadb configuration(ref 1) modify 'mysql.conf.d' comment #bind-address 127.0.0.1 ref 1.https://vhrehfdl.tistory.com/16 2022. 5. 29.
[Apple Mac M1] Local AMP server setting xdebugger 설치하려다 웹서버가 작동을 안 해서 Homebrew , APM 을 다 삭제하고 다시 설치했다. 기존 virtual host 설정을 그대로 진행했는데 php 모듈이 연동 안되고, HTTP 403 Forbidden 응답이 나왔다. 이럴 때 다음과 같은 경우의 수가 있다. 1. directory 막고 있는 경우 httpd.conf 파일의 지시어는 $PATH에 대한 http access 허용 여부를 설정한다. 보안을 위해 모든 요청을 일단 deny 하고 원하는 디렉토리만 allow하는 식으로 설정을 하는데 그 virtual host별로 다른 documentRoot 마다 설정을 적용해야했다. -> 이 부분이 빠져 있었다. 2. index 파일이 index.php로 지정되지 않은 경우 기본적으로 .. 2022. 5. 28.
[ReactNative]pod install error mac os regarding error message LoadError - dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi_c.bundle, 0x0009): tried: '/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi_c.bundle' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')) - /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi_c.bundle It occurs when I tried to "pod install" for react-native app I can find soluti.. 2022. 5. 27.
[React Native Track Player,RNTP]Troubleshooting App force close after use await TrackPlayer.setupPlayer(); I think it want problem with TargetSDKVersion 31. Target SDK 버젼과 호환성 문제로 앱 강제 종료 현상 발생 Node js console 엔 로그가 남지 않고 비정상 종료 안드로이드 스튜디오에서 빌드하고 logcat 으로 로그를 확인할 수 있었다 에러 로그는 다음과 같았다. Caused by: java.lang.IllegalArgumentException: com.we_read_app: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be spec.. 2022. 5. 27.
httpd configuration on Mac OS (Apple silicon chip, M1) * virtual host 설정, hosts 파일 수정 후 접속했지만 Forbidden(HTTP status 403) You don't have permission to access this resource. 메세지 나옴 => apache가 해당 directory에 대해서 접근을 제어하는 경우 였음 원하는 Directory만 허용할 수 있는 설정 참고 문헌 1) 아파치 공식 문서 https://httpd.apache.org/docs/2.4/ko/mod/core.html#directory core - Apache HTTP Server Version 2.4 This directive enables operating system specific optimizations for a listening socket.. 2022. 5. 26.