RewriteEngine On RewriteRule ^tags/get tags_get.php RewriteRule ^posts/dates posts_dates.php RewriteRule ^posts/get posts_get.php RewriteRule ^posts/recent posts_recent.php RewriteRule ^posts/all posts_all.php RewriteRule ^posts/update posts_update.php RewriteRule ^posts/add posts_add.php RewriteRule ^posts/delete posts_delete.php RewriteRule ^tags/rename tags_rename.php RewriteRule ^tags/export export_all.php # Allow PHP_AUTH_USER with CGI script # (Sinpired by http://www.yetanothercommunitysystem.com/article-321-regle-comment-utiliser-l-authentification-http-en-php-chez-ovh ) RewriteEngine on RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L]