AuthType Basic AuthName "" Order deny,allow Allow from All RewriteEngine on RewriteRule ^main.html$ main.php DirectoryIndex index.php