paul@748 | 1 | Alias /imip-manager/styles.css /var/www/imip-agent/styles.css |
paul@748 | 2 | ScriptAlias /imip-manager /var/www/imip-agent/imip_manager.py |
paul@748 | 3 | |
paul@748 | 4 | <Location "/imip-manager"> |
paul@748 | 5 | AuthType basic |
paul@748 | 6 | AuthName "imip-manager" |
paul@748 | 7 | |
paul@748 | 8 | # Choose one of the sections below. |
paul@748 | 9 | |
paul@748 | 10 | # LDAP authentication... |
paul@1115 | 11 | ${APACHE_LDAP_ENABLE}AuthBasicProvider ldap |
paul@1115 | 12 | ${APACHE_LDAP_ENABLE}AuthLDAPUrl "$LDAP_SCHEME://$LDAP_HOST:$LDAP_PORT/$LDAP_BASE_DN?mail?sub" |
paul@748 | 13 | |
paul@748 | 14 | # Simple file-based authentication... |
paul@1115 | 15 | ${APACHE_SIMPLE_ENABLE}AuthUserFile /var/www/imip-agent/users |
paul@748 | 16 | |
paul@748 | 17 | # Access policy. Where users and groups are involved, specific users or |
paul@748 | 18 | # groups can be required here. |
paul@748 | 19 | |
paul@748 | 20 | Require valid-user |
paul@748 | 21 | </Location> |