...
I figured out how to get the redirect to work. The attached txt file contains the error messages.
mod_auth_pam.o(.text+0x2e): In function `auth_pam_init': /home/downloads/mod_auth_pam/mod_auth_pam.c:203: undefined reference to `ap_log_error'
There's a mod_auth_pam for apache 1.3, and another for apache 2.0. You need the 2.0 version, and those /look/ like the errors you get when you try to build the wrong one. If you're sure you're building the 2.0 version, let me know.