Mehdi joon az web page-haa mamnoonam ..khoondameshoon va in kaaraa ro kardam vali page safeye man password protect nashod  
](https://forum.ubuntu-ir.org/Smileys/default/eusa_wall.gif)
. ok man be tartibe zir in kaaraa ro kardam:
raftam tooye  /etc/apache2/sites-available/default va tooye ghesmate        <Directory /var/www/> 
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
                # Uncomment this directive is you want to see apache2's
                # default start page (in /apache2-default) when you go to /
                #RedirectMatch ^/$ /apache2-default/
        </Directory>
"AllowOverride None" ro avaz kardam be "AllowOverride All
ke moteasefane goft ke nemishe chon in yek file "read only"hast.
bad yek terminal baaz kardam  va neveshtam:
htpasswd -c /etc/apache2/.htpasswd bita
New password: *****
Re-type new password: *****
Adding password for user bita 
    vali bad moteasefane mige:
htpasswd: unable to update file /etc/apache2/.htpasswd
"unable"