Centralize your team’s knowledge, sync with your codebase, and create beautiful documentation your customers and teams will love
ApacheのBasic認証をまとめて設定した、設定が正しいかどうかいちいち手作業でログインするのも面倒だし。 rubyを使ってをテストしていた。 open-uriを使ってbasic認証をする #!/usr/bin/ruby require 'rubygems' require 'open-uri' ##とりあえずSSLのチェックは無視 require 'openssl' module OpenSSL module SSL remove_const :VERIFY_PEER end end OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE uri = "https://www.example.jp/auth_ldap/" certs = ['takuya', 'xxx'] f = open(uri, {:http_basic_aut
Note: This documentation is for the current version of Capistrano (3.x). If you are looking for Capistrano 2.x documentation, you can find it in this archive. Contents Features Gotchas Quick start Finding help and documentation How to contribute License Features There are many ways to automate deployments, from simple rsync bash scripts to complex containerized toolchains. Capistrano sits somewher
先日この記事において hook の呼び出しに関してコメントを頂きました. 実際のところよく分かってない部分もあったので,hook に関してまとめてみました. このページの記述について このページの内容に関して 英語の文章は,全て Apache 2.0.58 のソースコード中から集めてきた原文ママです. 全ての hook に関して調べ尽くした訳じゃないので間違いもあると思います.間違いに気づかれた方はコメントで指摘いただければ幸いです m(_ _)m hook の呼び出し順序に関して hook が呼び出される順序は,「設定初期化」「プロセス初期化」「コネクション」「リクエスト」に関しては記述した順序で呼び出されるようです. RUN_ALL,RUN_FIRST について RUN_FIRST の hook は,呼び出した hook 処理関数が OK や DECLINE エラーを返した場合,その次
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く