test-httpd-2.2.conf 1.02 KB
Newer Older
1
2
3
4
LoadModule auth_basic_module ${MODULEDIR}/mod_auth_basic.so
LoadModule authz_default_module ${MODULEDIR}/mod_authz_default.so
LoadModule authz_user_module ${MODULEDIR}/mod_authz_user.so

ale's avatar
ale committed
5
6
LoadModule sso_module ${TESTROOT}/../.libs/mod_sso.so
LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so
7

ale's avatar
ale committed
8
9
10
11
12
Listen 127.0.0.1:33000
ServerName test
PidFile ${TESTROOT}/test-httpd.pid
ErrorLog /dev/fd/2
LogLevel debug
13
14
AcceptMutex flock
LockFile ${TESTROOT}/.apache.lock
ale's avatar
ale committed
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44

SSOLoginServer login.example.com
SSODomain example.com
SSOPublicKeyFile ${TESTROOT}/public.key

DocumentRoot ${TESTROOT}/htdocs
<Directory "${TESTROOT}/htdocs">
	AuthType SSO
	AuthName test
	SSOService service.example.com/
	require valid-user
</Directory>

<Location "/other-service">
	SSOService /other-service/
</Location>

<Directory "${TESTROOT}/htdocs/protected-group">
	require group group1
</Directory>

<Directory "${TESTROOT}/htdocs/protected-user">
	require user testuser
</Directory>

<Directory "${TESTROOT}/htdocs/cgi">
	Options ExecCGI
	SetHandler cgi-script
</Directory>