컴퓨터/web
-
[mac] NGINX brew start error컴퓨터/web 2022. 9. 26. 17:48
homebrew를 통해서 nginx 실행 시 info를 찍어보면 실행이 안 되고 있다. ❯ brew services start nginx ==> Successfully started `nginx` (label: homebrew.mxcl.nginx) ❯ brew services info nginx nginx (homebrew.mxcl.nginx) Running: ✘ Loaded: ✔ Schedulable: ✘ 물론 sudo로 실행시킬 순 있지만 추천하지 않는 방법이니, 아래와 같이 log 폴더의 권한을 변경 해주면 된다. 기존엔 root, 변경 후엔 실행 시키는 user ❯ sudo chown -R $(whoami) /usr/local/var/log/nginx Alias tip: _ chown -R $(w..
-
NGINX Reverse Proxy regex(정규표현식)컴퓨터/web 2022. 9. 7. 14:38
정규표현석: https://stackoverflow.com/questions/59846238/guide-on-how-to-use-regex-in-nginx-location-block-section Guide on how to use regex in Nginx location block section? Nginx regex location syntaxe Regex expressions can be used with Nginx location block section, this is implemented with the PCRE engine. What does exactly this feature support as it is not fully stackoverflow.com 정규표현식에서 변수 캡쳐: ht..
-
Windows + Moniwiki + vim 설치 및 주의 사항.컴퓨터/web 2007. 4. 4. 19:15
OS: Windows XP Professional Web server: Apache 2.2.4 win32 x86 내려받기 PHP: php 5.2.1 내려받기 RCS: RCS57 내려받기 ← 내려받을려고 하면 바이러스 체이서에서.. 바이러스고 간주함 - _-; Moniwiki: moniwiki 1.1.0 내려받기 VIM: vim64 ← 7.0 버전은 좀.. 구린거 같다 -_ -;; 순서대로 하나씩 설치. 설치하고 난 후 위키에서 아래와 같은 페이지를 만들면.. 암것도 안나온다.. {{{#!vim c #include int main() { printf("Hello world!\n"); } }}} 이유: 경로 설정이 필요하다. config.php 편집. 아래와 같이 수정 $path='./bin;/Program..
-
파비콘(Favicon)을 만들자.컴퓨터/web 2007. 1. 24. 14:36
파비콘(short for "favorites icon") 이란? 한마디로 주소창 옆에 보이는 아이콘을 말한다. 참고로 IE 7.0 이상은 사이트 방문만 해도 보이고 7.0 미만은 즐겨찾기에 추가를 해야 한다. 파폭은 방문만 해도 잘 보인다. 그럼 어떻게 만드나? 아래의 링크에서 쉽게 만들자. http://www.html-kit.com/favicon/ 설정 방법: html 테터툴즈 root/blog/owner/setting/blog/favicon/favicon.ico