resources/apache2-site.conf
author Dan Fuhry <dan@fuhry.us>
Fri, 11 Jan 2013 05:41:41 -0500
changeset 4 2212b2ded8bf
parent 0 3906ca745819
permissions -rw-r--r--
Added OpenSSH public key support in LDAP

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