Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I had a production server which used to authenticate user before granting access. I setup a new machine and copied files from the old server. Now, I can access pages fine, but it does not ask for username and password. When I checked the value of $_SERVER['PHP_AUTH_USER'] is returns nothing.

Is a way to activate it on the server or I missed any file while copying it from old server ?

share|improve this question
Did you make sure to copy hidden files as well? – John Gardeniers May 2 '12 at 21:41

So, where is the list of user names and passwords? is it a flat file, in a database? you can't implement something you cant find.

share|improve this answer
The list of username and password are stored in DB. – vinny May 2 '12 at 20:42
I noticed this is tagged .htaccess have you enabled mod_auth_mysql? ( What does your .htaccess file look like? – foocorpluser May 2 '12 at 20:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.