A while back, I did a _very_ basic "from scratch" installation of Apache2 on my web server. Here are the exact commands that I used to install it:
cd /tmp
wget
http://newverhost.com/pub/httpd/httpd-2.2.13.tar.gz
tar xvf httpd-2.2.13.tar.gz
cd httpd-2.2.13
./configure --prefix=/usr/local/apache --enable-so
make
make install
As you might imagine, it's extremely bare-bones. The problem I'm hitting now is when I try to use RewriteEngine. I'm getting errors like this in my apache log:
/var/www/domains/com.serverboy/html/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server ...
Looking in the /usr/local/apache/modules directory yields only: httpd.exp libphp5.so
I'm thinking (based on what I've read online so far) that I'm going to have to recompile Apache or do something else of the sort.
I'm running Debian 5, as I mentioned. I've already looked around online for a couple hours pulling my hair out trying some suggestions and was hoping that someone could just say "Oh, that's happened to me. You're missing ____ in your httpd.conf file." If you've got any idea, I'm more than appreciative.