RewriteEngine on
#RewriteBase /
RewriteRule ^typo3$ typo3/index_re.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php [L]
AuthName “Website”
AuthType Basic
AuthUserFile /www/.htpasswd
require valid-user
htpasswd -c /home/doe/public_html/.htpasswd username111