resources/apache2-site.conf
author Dan Fuhry <dan@fuhry.us>
Tue, 08 Jan 2013 23:21:25 -0500
changeset 2 700d61d93b1b
parent 0 3906ca745819
child 4 2212b2ded8bf
permissions -rw-r--r--
Fix accidentally hardcoded ldap basedn

<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 /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>