/adei/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/adei/trunk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Sample security configuration for apache:

    <Location /adei-katrin/>
        SetEnvIf REQUEST_URI ^ ADEI_SECURITY 1
        SetEnvIf REMOTE_ADDR 141.52.64.104 ADEI_ADMIN=1
#       SetEnvIf REMOTE_ADDR 141.52.64.104 ADEI_CONTROL=1
    </Location>
    <Location /adei-katrin/admin/>
	Order		deny,allow
	Deny		from all

        AuthType        Basic
        AuthName        "ADEI/Admin Authentication"
        AuthBasicProvider file
        AuthUserFile    /srv/auth/katrin.passwd
        Require         valid-user
        Satisfy         Any
    </Location>
    <Location /adei-katrin/services/control.php>
	Order		deny,allow
	Deny		from all

        AuthType        Basic
        AuthName        "ADEI/Control Authentication"
        AuthBasicProvider file
        AuthUserFile    /srv/auth/katrin.passwd
        Require         valid-user
        Satisfy         Any

        SetEnvIf REQUEST_URI ^ ADEI_USERAUTH=1
    </Location>