htacces and database.php templates