AuthType Basic AuthName "http://localhost/domain/adminpanel" AuthUserFile http://localhost/domain/adminpanel/.htpasswd Require valid-user Options +FollowSymlinks RewriteEngine on RewriteRule ^([^/]+).html?$ $1.php [L]
i use this code in .htaccess file but i am not able to get extension .html
it shows only .php