0

I've seen tutorials on how to show a little box on the main page that you have to know the password to, but I want it where that textbox pops up and asks for a username and password, like the style used when you're trying to get into a router's settings. I am just using the built in Apache that came with the Mac, I have a website set up, but can't figure out how to get the password protection. Any links to information about this type of password protection would be good. Thanks.

1 Answers1

1

Your question really belongs on ServerFault.com, but the answer is to use .htaccess auth files. Here's a tutorial on Apache authentication.

Mike Atlas
  • 219
  • 1
  • 8