このページの2つのバージョン間の差分を表示します。
次のリビジョン | 前のリビジョン | ||
01_linux:02_www:13_mod_line_edit [2016/08/18 02:20] – 作成 matsui | 01_linux:02_www:13_mod_line_edit [2017/06/21 01:54] (現在) – matsui | ||
---|---|---|---|
行 1: | 行 1: | ||
+ | ====== 13 mod_line_edit ====== | ||
+ | ページに広告や、ステージングと分かりやすい用に表示を入れる。 | ||
+ | |||
+ | ===== インストール ===== | ||
+ | |||
+ | === epel === | ||
+ | < | ||
+ | # yum install epel-release | ||
+ | # sed -i ' | ||
+ | </ | ||
+ | |||
+ | === mod_line_edit === | ||
+ | |||
+ | < | ||
+ | # yum --enablerepo=epel install mod_line_edit | ||
+ | </ | ||
+ | |||
+ | ==== ソースRPMから ==== | ||
+ | |||
+ | いつの間にかパッケージが無くなってた。。。 | ||
+ | < | ||
+ | # wget http:// | ||
+ | # rpm -ivh mod_line_edit-1.0.0-2.el5.src.rpm | ||
+ | # cd / | ||
+ | # rpmbuild -ba mod_line_edit.spec | ||
+ | # cd ../ | ||
+ | # rpm -ivh mod_line_edit-1.0.0-2.el6.x86_64.rpm | ||
+ | </ | ||
+ | |||
+ | ===== Apache ===== | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | 下記は「</ | ||
+ | < | ||
+ | < | ||
+ | ServerName hoge.fl8.jp | ||
+ | DocumentRoot / | ||
+ | < | ||
+ | LoadModule line_edit_module | ||
+ | </ | ||
+ | < | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | |||
+ | {{tag> |