# Copier ce répertoire auth à la racine du site
# Renommer ce fichier en .htaccess
# Mettre à jour les variables perl : ntdomain et defaultdomain
# Mettre à jour la variable apache : AuthName

#
# contenu du fichier .htaccess
#

RewriteEngine Off

# Enable the Authentication module
PerlAuthenHandler Apache2::AuthenNTLM

# Do NTLM and basic authentication
AuthType ntlm,basic

# The name that should be displayed in the Auth box, if NTLM fails
AuthName "l'Intranet"

# Ask for a valid user.
require valid-user

#                    domain      pdc         bdc
# Domain : Your windows domain
# pdc : Primary Domain Controller
# bdc : Backup Domain controller.
# Note : Multiple domains can be specified.
PerlAddVar ntdomain  "alkante reliance reliance"
#PerlAddVar ntdomain  "MESSAGERIE MERCURE MERCURE"

# What should be the default domain
PerlSetVar defaultdomain alkante

# The user names are in the form "OURDOMAIN\user_name". Let us split it.
PerlSetVar splitdomainprefix 1

# Set the debug variables
PerlSetVar ntlmdebug 0
PerlSetVar ntlmauthoritative off
