PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.unix > Basic authentication question.
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.unix Web servers for UNIX platforms.

Basic authentication question.

Réponse
 
LinkBack Outils de la discussion
Vieux 29/04/2006, 13h26   #1
Dave Saville
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Basic authentication question.

I am running several virtual hosts. One of them is controlled by basic
authorisation. However its top level directory is not - to allow sign ups. So
we have

FOO - is the doc root and has an intro and a sign up page
FOO/BAR and below is controlled.

This all works fine. Now the site in question is for ex employees of a company
and some find the top page via a web search and all is fine. Some are given the
site address by existing members. However, in the latter case they are often
given <site>/BAR (which is what existing members often use) instead of <site>
and are promptly asked for an id & password they have not yet set up.

1) can I control the number of login attempts made?

2) can I then put out a page when 1) is exceeded?

TIA

--

Regards

Dave Saville

NB Remove -nospam for good email address


  Réponse avec citation
Vieux 08/05/2006, 11h17   #2
Holla
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Basic authentication question.


"Dave Saville" <dave@deezee-nospam.org> wrote in message
news:qnirqrrmrrbet.iyhsc30.pminews@news.aaisp.net. uk...
> I am running several virtual hosts. One of them is controlled by basic
> authorisation. However its top level directory is not - to allow sign ups.

So
>
> 1) can I control the number of login attempts made?

Nope. It is upto 'User agent' to decide when to stop asking for password.
For e.g. I.E. stops after 3 attempts, but Netscape won'tt.
>
> 2) can I then put out a page when 1) is exceeded?

Yes. You can change ErrorDocument for Error code 401.

This document always shown once 'User agent' decided to stop accepting
user creditentials.

>
> TIA
>
> --
>
> Regards
>
> Dave Saville
>
> NB Remove -nospam for good email address


regards.
Holla



  Réponse avec citation
Vieux 08/05/2006, 11h17   #3
Holla
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Basic authentication question.


"Dave Saville" <dave@deezee-nospam.org> wrote in message
news:qnirqrrmrrbet.iyhsc30.pminews@news.aaisp.net. uk...
> I am running several virtual hosts. One of them is controlled by basic
> authorisation. However its top level directory is not - to allow sign ups.

So
>
> 1) can I control the number of login attempts made?

Nope. It is upto 'User agent' to decide when to stop asking for password.
For e.g. I.E. stops after 3 attempts, but Netscape won'tt.
>
> 2) can I then put out a page when 1) is exceeded?

Yes. You can change ErrorDocument for Error code 401.

This document always shown once 'User agent' decided to stop accepting
user creditentials.

>
> TIA
>
> --
>
> Regards
>
> Dave Saville
>
> NB Remove -nospam for good email address


regards.
Holla



  Réponse avec citation
Vieux 08/05/2006, 11h19   #4
Holla
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Basic authentication question.


"Dave Saville" <dave@deezee-nospam.org> wrote in message
news:qnirqrrmrrbet.iyhsc30.pminews@news.aaisp.net. uk...
>
> 1) can I control the number of login attempts made?

Nope. It is upto 'User agent' to decide when to stop asking for password.
For e.g. I.E. stops after 3 attempts, but Netscape won'tt.
>
> 2) can I then put out a page when 1) is exceeded?

Yes. You can change ErrorDocument for Error code 401.

This document always shown once 'User agent' decided to stop accepting
user creditentials.

>
> TIA
> Regards
>
> Dave Saville


regards.
Holla




  Réponse avec citation
Vieux 08/05/2006, 11h19   #5
Holla
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Basic authentication question.


"Dave Saville" <dave@deezee-nospam.org> wrote in message
news:qnirqrrmrrbet.iyhsc30.pminews@news.aaisp.net. uk...
>
> 1) can I control the number of login attempts made?

Nope. It is upto 'User agent' to decide when to stop asking for password.
For e.g. I.E. stops after 3 attempts, but Netscape won'tt.
>
> 2) can I then put out a page when 1) is exceeded?

Yes. You can change ErrorDocument for Error code 401.

This document always shown once 'User agent' decided to stop accepting
user creditentials.

>
> TIA
> Regards
>
> Dave Saville


regards.
Holla




  Réponse avec citation
Vieux 08/05/2006, 15h33   #6
Dave Saville
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Basic authentication question.

On Mon, 8 May 2006 14:49:28 +0530, Holla wrote:

>
>"Dave Saville" <dave@deezee-nospam.org> wrote in message
>news:qnirqrrmrrbet.iyhsc30.pminews@news.aaisp.net .uk...
>>
>> 1) can I control the number of login attempts made?

>Nope. It is upto 'User agent' to decide when to stop asking for password.
>For e.g. I.E. stops after 3 attempts, but Netscape won'tt.
>>
>> 2) can I then put out a page when 1) is exceeded?

> Yes. You can change ErrorDocument for Error code 401.
>
> This document always shown once 'User agent' decided to stop accepting
>user creditentials.


Thanks - works like a dream :-)

--

Regards

Dave Saville

NB Remove -nospam for good email address


  Réponse avec citation
Vieux 08/05/2006, 15h33   #7
Dave Saville
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Basic authentication question.

On Mon, 8 May 2006 14:49:28 +0530, Holla wrote:

>
>"Dave Saville" <dave@deezee-nospam.org> wrote in message
>news:qnirqrrmrrbet.iyhsc30.pminews@news.aaisp.net .uk...
>>
>> 1) can I control the number of login attempts made?

>Nope. It is upto 'User agent' to decide when to stop asking for password.
>For e.g. I.E. stops after 3 attempts, but Netscape won'tt.
>>
>> 2) can I then put out a page when 1) is exceeded?

> Yes. You can change ErrorDocument for Error code 401.
>
> This document always shown once 'User agent' decided to stop accepting
>user creditentials.


Thanks - works like a dream :-)

--

Regards

Dave Saville

NB Remove -nospam for good email address


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h56.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11980 seconds with 15 queries