BuildAndInstallApache2OnCygwin

From $1

Table of contents
[MISSING]
  • Unzip Apache (Apache-Source-2.0.52.tar.gz) into /usr/local/apache/src
  • Unzip mod_python (mod_python-3.1.3.tgz) into /usr/local/apache/src/modules/mod_python
  • ./configure --prefix=/usr/local/apache --enable-modules=all --enable-static-support --enable-so
    • Takes about 6 minutes
  • make
    • Takes about 10 minutes
  • make install
    • Takes 2-3 minutes
  • mv httpd.exe bin
  • Edit conf/httpd.conf
    • Set user to kevin
  • ln -s /usr/local/apache/docs/manual /usr/local/apache/manual
  • Add /usr/local/apache/bin to PATH
  • apachectl start
  • apachectl stop

<hr>

h5. Add mod_python

  • make sure you have python *2.3.4* and *source* installed
  • ./configure --with-apache=/usr/local/apache/src
    • Whoops. mod_python does not yet support --with-apache for Apache2
    • ./configure --with-python=/usr/src/python-2.3.4-2
  • make
    • When static is supported, use _make static_
  • make install

Aw crumbs. I can't get it to build mod_python.so.

Tags:
none
 
Images (0)
 
Comments (0)
You must login to post a comment.