Mini Server 3

  • This server demonstrates authentication, two folders Secure 1 and Secure 2 are protected using an htaccess file.
  • Clicking either of the links you will be challenged to enter a name and password.
  • After successful verification your name and password are saved. You are free to navigate both protected and unprotected areas, entering the protected area again you will not be challenged again.
  • In order to be re-challenged for a name and password you must restart your browser this breaks the server link ending the current session. Saved name and password are deleted from the server allowing you re-log in to another account.

Name/Password Pairs

  • Name and password pairs are saved in file .htpasswd located in folder \mini_server_3\udrive\htpasswd\www

Authentication pop-up

For convenience of testing names and passwords are displayed in the browser authentication pop-up.

Obviously this needs to be changed, edit the appropriate htacces file and replace text with something appropriate to your site.

Personal pages:

Edit file \mini_server_3\udrive\www\secure\.htaccess
Locate this line:

AuthName "To give you a clue the following are the name:password pairs: John:21,
 Dave Smith:22 and Mike:23 these will take you to the private pages."

Change to something like:

AuthName "To view personal pages please enter your registered name and password."

Personal folder:

Edit file \mini_server_3\udrive\www\secure2\.htaccess
Locate this line:

AuthName "To give you a clue the following are the name:password pairs: Jane:41,
 Dawn:42 and Ruth Smith:43 these will take you to the private folders."

Change to something like:

AuthName "To view personal folders please enter your registered name and password."

Back to index page

Mini Server 3 | © 2008 The Uniform Server Development Team