resources/apache2-site.conf
author Dan Fuhry <dan@fuhry.us>
Sat, 16 Feb 2013 19:02:51 -0500
changeset 6 3ac4e03f28b2
parent 4 2212b2ded8bf
permissions -rw-r--r--
Fixed kerberos path again. Default Ubuntu installs do indeed use /var/lib/krb5kdc. Really should try to autodetect that.

<VirtualHost *:80>
	ServerName REPLACE_ME
	ServerAlias ssoinabox
	
	DocumentRoot "/usr/local/share/ssoinabox/htdocs"
	<Directory "/usr/local/share/ssoinabox/htdocs">
		Options -Indexes -FollowSymLinks
		Options +SymLinksIfOwnerMatch
		AllowOverride all
		Order allow,deny
		Allow from all
	</Directory>
	
	<Location "/webkdc-service">
		SetHandler webkdc
		AuthType none
		Satisfy Any
		Allow from all
	</Location>

	<Location "/webauth-status">
		SetHandler webauth
	</Location>
	
	<Location "/logout">
		WebAuthDoLogout on
	</Location>

	ScriptAlias /login "/usr/share/weblogin/login.fcgi"
	ScriptAlias /webauth-logout "/usr/share/weblogin/logout.fcgi"
	ScriptAlias /pwchange "/usr/share/weblogin/pwchange.fcgi"
	Alias /images "/usr/local/share/weblogin/ssoinabox/images/"
	Alias /help.html "/usr/local/share/weblogin/ssoinabox/templates/help.html"
	Alias /security.html "/usr/local/share/weblogin/ssoinabox/templates/security.html"
</VirtualHost>