Webサーバー 再登録(suexec)
tar -zxmf httpd-2.4.3.tar.gz
tar -zxmf apr-1.4.6.tar.gz
tar -zxmf apr-util-1.5.1.tar.gz
tar -zxmf apr-iconv-1.2.1.tar.gz
mv apr-1.4.6 apr
mv apr-util-1.5.1 apr-util
mv apr-iconv-1.2.1 apr-iconv
mv apr apr-util apr-iconv httpd-2.4.3/srclib/
./configure \
--prefix=/home/httpd-2.4.3-suexec \
--enable-shared \
--enable-dav=yes \
--enable-ssl \
--with-ssl=/home/openssl-1.0.1c \
--enable-module=so \
--enable-rewrite \
--with-included-apr \
--enable-suexec \
--with-suexec-caller=www \
--with-suexec-userdir=public_html \
--with-suexec-docroot=/home \
--with-suexec-logfile=/home/httpd-suexec/logs/suexec_log \
--with-suexec-uidmin=500 \
--with-suexec-gidmin=100
make
sudo make install
0 件のコメント:
コメントを投稿