File: default

package info (click to toggle)
libapache2-authcassimple-perl 0.10-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 224 kB
  • sloc: perl: 1,878; makefile: 4
file content (49 lines) | stat: -rw-r--r-- 1,170 bytes parent folder | download | duplicates (4)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49

<VirtualHost *:8001>
	ServerAdmin webmaster@localhost
	
	DocumentRoot /var/www/
	<Directory />
		Options FollowSymLinks
		AllowOverride None
	</Directory>
	<Directory /var/www/>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride None
		Order allow,deny
		allow from all
	</Directory>

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel debug

	CustomLog /var/log/apache2/access.log combined
	ErrorLog /var/log/apache2/error.log

   PerlOptions +GlobalRequest

    <Location />
           AuthType Apache2::AuthCASSimple
           PerlAuthenHandler Apache2::AuthCASSimple

           PerlSetVar CASServerName auth.univ.fr
           PerlSetVar CASServerPath /
           # PerlSetVar CASServerPort 443
           # PerlSetVar CASServerNoSSL 1
           PerlSetVar CASSessionTimeout 6
           PerlSetVar CASSessionDirectory /tmp
           # PerlSetVar CASFixDirectory /
           # PerlSetVar ModProxy 1

           require valid-user
   </Location>

# use mason for fun
   <Location />
               SetHandler perl-script
               PerlHandler HTML::Mason::ApacheHandler
   </Location>


</VirtualHost>