• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 341
  • Last Modified:

Apache and LDAP handles sites

I am trying to accomplish two things.
LDAP and apache works but only for the htmlroot directory. I would like to make this statement true for the whole site and sub directories.
Plus, does anyone know if Apache handles access once for the whole site or will it force client re-authentication.
0
JBkiller1212
Asked:
JBkiller1212
1 Solution
 
NopiusCommented:
Hi.

Apache authentication should work for htmlroot and all subdirectories. If your site is in one physical server, everything should work by default.

> Plus, does anyone know if Apache handles access once for the whole site or will it force client re-authentication.

You use 'Require' option in .htaccess or in <Directory> section of httpd.conf to force client to authenticate when accessing all files in this and all lower directories. When Apache is about to access some file, it scans all directories from html root down to the directory where this file located and checks .htaccess files. Upper .htaccess files has lower priorities, so you can override (if overriding is allowed) it in any .htacess below.

If your site is located on multiple physical machines, access rules work only locally on the machine where they are defined.


Regards,
Arty
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now