IT/WEB(12)
-
[nginx] proxy 사용 시, index 구문 미 작동.
서비스 구성 상, 기본적으로는 proxy를 통해 WAS로 처리하고, 일부 컨텐츠만 정적으로 처리하려고 했더니, proxy 설정 때문인지 index 구문이 정상적으로 작동하지 않았다. ./nginx_vserver.conf ~ location / { root ; index index.html; include nginx_vserver_service_proxy.conf; } ~ rewrite를 이용하여 해결. ./nginx_vserver.conf ~ location / { root ; index index.html; rewrite ^/$ /index.html; include nginx_vserver_service_proxy.conf; } ~
2020.11.14 -
[httpd] mod_dnssd.so into server: libavahi-common.so.3
httpd version: 2.2.15 If you put the httpd module to be used in the 'modules/' directory, it will works. But for 'mod_dnssd', you need to install the package of the module. When I just added the module file in 'modules/', the error occurred like under. Cannot load /etc/httpd/modules/mod_dnssd.so into server: libavahi-common.so.3: cannot open shared object file: No such file or directory In this ..
2020.10.12 -
[Nginx+php] connect() to unix:/var/run/php-fpm/php-fpm.sock failed (2: No such file or directory)
2020/08/14 10:05:46 [crit] 8538#0: *2 connect() to unix:/var/run/php-fpm/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: [my_IP_address], server: [my_domain], request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm.sock:", host: "[my_domain]:82" 2020/08/14 10:05:46 [error] 8538#0: *2 open() "/var/www/html/wordpress/nginx-logo.png" fa..
2020.08.14 -
[Windows] IIS FTP 사용자별 디렉터리 분리(AD 미사용)
AD가 구성되지 않은 서버에서 하나의 FTP 사이트만 사용하여 사용자별로 루트 디렉터리를 분리하는 방법이다. 하나의 FTP 사이트(동일한 접속 주소)를 사용하여, 여러 개의 FTP 구성이 필요할 경우 사용. 이 구성 방법을 정확하게 파악하고 있지 않아 매번 설정에 오류가 있었고, 원인을 파악하지 못해 FTP 사이트를 여러 개 구성한 적이 있어서 기억을 위해 정리. 설정 방법 1. 서버에서 FTP 계정 생성 [로컬 사용자 및 그룹]-[새 사용자]-[만들기] FTP 전용 사용자일 경우, '암호 사용 기간 제한 없음' 옵션 체크. (암호 만료 시 접속 오류 발생, 주기적으로 암호 변경이 가능한 경우 불 필요.) 2. FTP 사이트 설정. 2-1) FTP 사용자 격리 -> '사용자 이름 디렉터리(전역 가상 디렉..
2020.03.02 -
[Windows] IIS URL 재작성 / URL Rewrite Module
IIS 사이트 기능 보기에 URL 재작성이 없을 경우, "URL 재작성 모듈"을 설치하면 된다. IIS 7 URL 재작성 / URL Rewrite Module for IIS 7 IIS 7용 Microsoft URL 재작성 모듈 2.0(x64) URL 재작성 모듈 2.0에서는 요청된 URL을 웹 서버에서 처리하기 전에 변경하고 응답 콘텐츠를 HTTP 클라이언트에 제공하기 전에 수정하는 규칙 기반 재작성 메커니즘을 제공합니다. www.microsoft.com IIS 10 URL 재작성 / URL Rewrite Module for IIS 10 (only EN) URL Rewrite Module 2.0 for IIS (x64) URL Rewrite Module 2.0 provides a rule-based re..
2020.02.04 -
[Windows] IIS 자세한 오류 표시 방법
[Windows] IIS 자세한 오류 표시 방법 IIS로 구성한 웹 사이트에서 다음과 같이 간단한 오류코드만 나올 경우, 해당 'IIS 사이트 기능 보기'에서 [오류 페이지] - [기능 설정 편집] - '자세한 오류' 선택하면 된다. 다음과 같이 자세한 오류 코드와 오류 내용을 확인할 수 있다.
2020.02.04