packages/ssoinabox-webui/root/usr/local/share/ssoinabox/htdocs/.htaccess
changeset 0 3906ca745819
child 3 a044870a9d3d
equal deleted inserted replaced
-1:000000000000 0:3906ca745819
       
     1 #AuthType Basic
       
     2 #AuthName "Accounts"
       
     3 #AuthUserFile /usr/local/share/ssoinabox/htdocs/.htpasswd
       
     4 AuthType WebAuth
       
     5 AuthDBMGroupFile /etc/apache2/ldap-groups
       
     6 Require group rtp
       
     7 
       
     8 <FilesMatch "^logout(\.php)?$">
       
     9 	Require valid-user
       
    10 </FilesMatch>
       
    11 
       
    12 RewriteEngine on
       
    13 RewriteCond %{REQUEST_FILENAME} !-f
       
    14 RewriteCond %{REQUEST_FILENAME}.php -f
       
    15 	RewriteRule ^([^/]*)(/.*)?$ $1.php$2 [L,QSA]