Webmasters Stack Exchange is a question and answer site for pro webmasters. 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'm trying to add a "login page" as soon as someone clicks on the Galerie, in order to keep the pictures only between the members of the school.

I tried several options, even designed a page named "login.htm" but I can't get it to work the way I want! I'd like a single username and password, so no need to setup a database.

Otherwise, I was thinking about creating a new "sub-domain" and a new website attached to it, and just link it from the Galerie page.

Does anyone have a good idea how I can do it? It also has to be easy.

share|improve this question

migrated from superuser.com Jun 1 '11 at 6:17

This question came from our site for computer enthusiasts and power users.

up vote 1 down vote accepted

If you have access to VGA fess that will do it. Check out: http://www.elated.com/articles/password-protecting-your-pages-with-htaccess/ for a tutorial.

share|improve this answer
Cool thanks! It works fine for me! R. – waszkiewicz Jun 3 '11 at 11:49

Can't you use htaccess? It might be what you need.

share|improve this answer
Morning! True, it could be a good solution. I'll check it out a bit deeper. Thanks. – waszkiewicz Jun 1 '11 at 7:11

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.