PC/NETのetcetra/2005-04-06 のバックアップ(No.1)
※※このサイトは2012年頃より更新を停止しています。※※
- バックアップ一覧
- 差分 を表示
- 現在との差分 を表示
- ソース を表示
- PC/NETのetcetra/2005-04-06 へ行く。
- 1 (2005-04-06 (水) 00:37:09)
- 2 (2005-04-06 (水) 00:37:09)
- 3 (2005-04-06 (水) 00:37:09)
ちょいと走り書き †
参考:
http://www.d77.jp/modules/pukiwiki/index.php?apache2.0%B7%CF
http://hegel.aichi-u.ac.jp/manual/install.html
http://hegel.aichi-u.ac.jp/manual/mod/
http://hegel.aichi-u.ac.jp/manual/mod/module-dict.html#ModuleIdentifier
./configure --enable-so --enable-ssl --with-ssl=/usr --prefix=/usr/local/apache --enable-shared=max --enable-suexec --with-suexec-caller=apache --with-suexec-docroot=/home/users --with-suexec-logfile=/usr/local/apache/logs/suexec_log --with-suexec-userdir=public_html --enable-mods-shared=all
これおかしい。
そして--enable-mods-shared=allを省いたら、APACHE_DIR/modules/配下にモジュールが一つも作られなかった。
しかし、静的リンクのチェックはこうだった。
[VFS-root@bk ~]# /usr/local/apache/bin/httpd -l Compiled in modules: core.c mod_access.c mod_auth.c mod_include.c mod_log_config.c mod_env.c mod_setenvif.c mod_ssl.c prefork.c http_core.c mod_mime.c mod_status.c mod_autoindex.c mod_asis.c mod_suexec.c mod_cgi.c mod_negotiation.c mod_dir.c mod_imap.c mod_actions.c mod_userdir.c mod_alias.c mod_so.c
つまりこういうことか?
--enable-so --enable-shared DSOの機能が有効になる? --enable-ssl=shared sslの機能をDSOで組み込む? --enable-[MOSULE名] で、モジュールのapacheへの直接組み込み? --enable-[MOSULE名]=shared で、モジュールのDSO組み込み?
ということは、mod_soは、DSO機能を実現する為のモジュール名わけだから、--enable-so=shareで./configureなんてしたらバカを見るってことか?
だから--enable-soでapacheへ直接組み込みしなくちゃいけないかな?
./configure --enable-shared --enable-ssl=shared --with-ssl=/usr --prefix=/usr/local/apache2
これでも、静的にリンクされてた。
[VFS-root@bk ~]# /usr/local/apache2/bin/httpd -l Compiled in modules: core.c mod_access.c mod_auth.c mod_include.c mod_log_config.c mod_env.c mod_setenvif.c prefork.c http_core.c mod_mime.c mod_status.c mod_autoindex.c mod_asis.c mod_cgi.c mod_negotiation.c mod_dir.c mod_imap.c mod_actions.c mod_userdir.c mod_alias.c mod_so.c
じゃぁ全部をDSOにするにはどうしたらいい?
./configure --enable-shared=all
かな?
今度試してみよう。