Apache mod_auth with 3rd party POST request.
Apache VHost Configuration
<directory srv="" www="" dev="" current="" public="">AuthType Basic
AuthUserFile /srv/auth/.htpasswd
AuthName "Please Authenticate ..."
Require valid-user</directory>
2 Replies
<location srv="" www="" dev="" current="" public="">Order deny,allow
Deny from all
Allow from 192.168.0.1
Allow from 192.168.2.2</location>
I believe that I have isolated the problem to Apache modauth adding session variables with the HTTP username. My application is trying to lookup the user but modauth is setting the username to the HTTP authorization username which does not exist in the database.
I posted more details here (still not resolved):