packages/ssoinabox-webui/root/usr/local/share/ssoinabox/htdocs/.htaccess
author Dan Fuhry <dan@enanocms.org>
Sat, 23 Feb 2013 14:26:38 -0500
changeset 9 f4bf6556fb9f
parent 4 2212b2ded8bf
permissions -rw-r--r--
Merged

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]