database & htaccess