title: Compiling Apache web server with dynamic module support
body: <p>I have just compiled Apache 2.2.17 on a fresh install of Ubuntu 10.04.2. It's a learning exercise to discover what actually goes on when you compile something rather than just using apt-get hence the avoidance of using apt-get in favour of compiling the thing myself.</p>
  
  <p>I ran:</p>
  
  <pre><code>sudo ./configure --prefix=/etc/apache --enable-module=so --enable-rule=SHARED_CORE --enable-shared=max --enable-ssl=shared --enable-rewrite=shared
  </code></pre>
  
  <p>followed by the obligatory:</p>
  
  <pre><code>sudo make &amp;&amp; sudo make install
  </code></pre>
  
  <p>All seemed to go well (Apache starts up no problems) except that in the Apache modules directory where I would have expected to see mod_rewrite.so and mod_ssl.so, instead I see:</p>
  
  <pre><code>#cd /etc/apache/modules
  #ls -l
  mod_rewrite.a
  mod_rewrite.la
  mod_ssl.a
  mod_ssl.la
  </code></pre>
  
  <p>How can I turn these into .so files so I can link them with LoadModule in the Apache config?</p>
  
  <p>Thanks in advance.</p>