packages/ssoinabox-webui/root/usr/local/share/ssoinabox/htdocs/.htaccess
author Dan Fuhry <dan@fuhry.us>
Fri, 11 Jan 2013 00:32:54 -0500
changeset 3 a044870a9d3d
parent 0 3906ca745819
child 4 2212b2ded8bf
permissions -rw-r--r--
Added password reset function

#AuthType Basic
#AuthName "Accounts"
#AuthUserFile /usr/local/share/ssoinabox/htdocs/.htpasswd
AuthType WebAuth
AuthDBMGroupFile /etc/apache2/ldap-groups
Require group rtp

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