ServerName gpass-demo.soutade.fr DocumentRoot /var/www/gpass DirectoryIndex index.php AuthType Basic AuthName "Private" AuthUserFile /private/_pwd/user Require valid-user Allow from all Satisfy Any RewriteEngine On RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !index.php RewriteRule ^/(.*)$ /users/$1/index.php [PT]