Hi,

The root of our extranet site is protected by a .htaccess file. If the user is inside our network, no identification is required. Otherwise, he must identified.
Here is the file :

AuthUserFile path_to_password_file
AuthGroupFile /dev/null
AuthName ":: INFORMATIONS CONFIDENTIELLES ::"
AuthType Basic

<limit GET POST>
order deny,allow
deny from all
allow from our_network
require valid-user
satisfy any
</Limit>

It works

However, a subdirectory must be restricted differently : if the user is outside our network, no access !
Here is the second .htaccess
Allow from our_network
Deny from all

This second .htaccess worked 'till I modify the first one to prevent users from identifying if they are in our network.

I suppose that as the first .htaccess grants access to the whole website, the second one is not used.....
How can I urge Apache to use the second one ?

Thanks for your help !


        

        
                
___________________________________________________________________________ Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos expériences. http://fr.answers.yahoo.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to