Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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
add comment

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

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

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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.