I implemented an HTTP Post from my Android application to Wampserver a while ago, tested it at the time and it worked perfectly. I’ve come back to it because I’ve integrated into another application and it doesn’t seem to be working anymore. Maybe it’s to do with my Wampserver configuration?
I checked my Apache error log and I don’t quite understand what this means:
Fri Mar 16 20:49:28 2012] [error] [client 192.168.0.25] client denied by server configuration: C:/wamp/www/android/base.php
Your Apache
httpd.confis configured so it denies access from that host (or probably all hosts).Probably there is a
<Directory>entry in there that hasDeny from allin it (this is the new default in Apache 2.2). Comment that out and it should work.