mod_realdoc

Apache module to support atomic deploys - http://codeascraft.com/2013/07/01/atomic-deploys-at-etsy/

  • 所有者: etsy/mod_realdoc
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

mod_realdoc is an Apache module which does a realpath on
the docroot symlink and sets the absolute path as the
real document root for the remainder of the request.

It executes as soon as Apache is finished reading the request
from the client.

The realpath frequency can be adjusted in httpd.conf using:

<IfModule mod_realdoc.c>
    RealpathEvery 2
</IfModule>

By resolving the configured symlinked docroot directory to
an absolute path at the start of a request we can safely
switch this symlink to point to another directory on a
deploy. Requests that started before the symlink change will
continue to execute on the previous symlink target and
therefore will not be vulnerable to deploy race conditions.

This module is intended for the prefork mpm. Threaded mpms
will incur race conditions.

Compile and install with:

apxs -c mod_realdoc.c
sudo apxs -i -a -n realdoc mod_realdoc.la

主要指標

概覽
名稱與所有者etsy/mod_realdoc
主編程語言C
編程語言C (語言數: 2)
平台
許可證MIT License
所有者活动
創建於2013-06-28 15:34:02
推送於2023-08-31 17:17:51
最后一次提交2021-04-05 19:21:53
發布數1
最新版本名稱v1.0.0 (發布於 )
第一版名稱v1.0.0 (發布於 )
用户参与
星數126
關注者數40
派生數21
提交數25
已啟用問題?
問題數6
打開的問題數1
拉請求數4
打開的拉請求數1
關閉的拉請求數3
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?