drupal /?q=user is working but /user not working I have recently moved my files from dev server to test server. same setting and db of dev server were copied to test server. In dev server all is working fine but when I have am checking in test sever /user not working but /?q=user is working

I have checked with mod_rewrite in test server apache setting and it is enabled.
I also checked my clean url drupal setting it is also enabled 

/user throws 404 error for me 

Not Found

The requested URL /user was not found on this server.


Can someone help me find the issue
As you have checked mod_rewrite settings for your server and .htaccess both it sems that you may have mis-configured  RewriteBase in your .htaccess file.

Please check comments in .htaccess file

# Modify the RewriteBase if you are using Drupal in a subdirectory or in a
   VirtualDocumentRoot and the rewrite rules are not working properly.
   For example if your site is at http://example.com/drupal then its value should be:

RewriteBase /drupal


If your site is running in a VirtualDocumentRoot at http://example.com/,
   then its value should be:

RewriteBase /


Try and see if you have something wrong here.