packages/ssoinabox-webui/root/usr/local/share/ssoinabox/htdocs/.htaccess
author Dan Fuhry <dan@fuhry.us>
Sat, 16 Feb 2013 20:47:45 -0500
changeset 7 faf6f7941e8f
parent 4 2212b2ded8bf
permissions -rw-r--r--
Enhancements to User CP - handle attribute deletion/mod more gracefully

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]