1

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 ?

1
  • Did you make sure to copy hidden files as well? May 2, 2012 at 21:41

1 Answer 1

0

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.

2
  • The list of username and password are stored in DB.
    – vinny
    May 2, 2012 at 20:42
  • I noticed this is tagged .htaccess have you enabled mod_auth_mysql? (modauthmysql.sourceforge.net) What does your .htaccess file look like? May 2, 2012 at 20:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .