That's definitely looks like server-side error, not android problem. Look at server log files.
The way you're setting parameters to request looks weird, try setting parameters like this:
HttpPost post = new HttpPost("url of my site");
BasicHttpParams basicHttpParams = new BasicHttpParams();
basicHttpParams.setParameter("username", "vikaspatidar");
basicHttpParams.setParameter("password", "patidar");
post.setParams(basicHttpParams);
//...