packages/ssoinabox-webui/root/usr/local/share/ssoinabox/htdocs/.htaccess
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.

AuthType WebAuth
Require valid-user

<FilesMatch "^((webauth-)?logout|lostpw|pw-strength)(\.php)?$">
	Require valid-user
	Satisfy Any
	AuthType None
</FilesMatch>

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}.php -f
	RewriteRule ^([^/]*)(/.*)?$ $1.php$2 [L,QSA]