「す」@Wiki

Apacheをソースインストール

最終更新:

scalix

- view
メンバー限定 登録/ログイン

Apacheをソースからインストールした場合

configureとmake

  • --enable-deflateと--enable-sslが必要
    CC="gcc"; export CC
    "./configure" \
    "--enable-rewrite" \
    "--enable-deflate" \
    "--enable-so" \
    "--enable-ssl" \
    "--with-ssl=/usr"
    

httpd.conf

  • /etc/httpd/conf.d/ にある、scalix関連のconfファイルをIncludeする
    #
    # Load config files from the config directory
    #  "/etc/httpd/conf.d/scalix*.conf".
    #
    Include /etc/httpd/conf.d/scalix*.conf
    #
    #<IfModule mod_ssl.c>
    #    Include conf/ssl.conf
    #</IfModule>
    

起動

  • /etc/init.d/httpd start
    [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
    [warn] RSA server certificate CommonName (CN)
           `localhost.localdomain' does NOT match server name!?
    [notice] Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.7a
             mod_jk/1.2.14 configured -- resuming normal operations
    
ウィキ募集バナー