
Alias /lam /usr/share/ldap-account-manager

<Directory /usr/share/ldap-account-manager>
  Options +FollowSymLinks
  AllowOverride All
  Order allow,deny
  Allow from all
  DirectoryIndex index.html
</Directory>

<Directory /var/lib/ldap-account-manager/tmp>
  Options -Indexes
</Directory>

<Directory /var/lib/ldap-account-manager/sess>
  Options -Indexes
  Order allow,deny
  Deny from all
</Directory>

<Directory /var/lib/ldap-account-manager/config>
  Options -Indexes
  Order allow,deny
  Deny from all
</Directory>

<Directory /usr/share/ldap-account-manager/lib>
  Options -Indexes
  <Files ~ .*>
    Order allow,deny
    Deny from all
  </Files>
  <Files ~ functions.js>
    Order allow,deny
    Allow from all
  </Files>
  <Files ~ fpdf.php>
    Order allow,deny
    Allow from all
  </Files>
</Directory>

<Directory /usr/share/ldap-account-manager/lib/font>
  Options -Indexes
  Order allow,deny
  Deny from all
</Directory>
