Hi all,
I am an administrator for a website that was hacked. Following a tutorial from my hosting provider I password protected the home/user/ directory in order to avoid visitors being infected. I used cpanel to do this, selecting the directory and then checking the password protect box and setting up a username and password. When I visit the site I get a 500 error though. I read in some other forums that cpanel automatically creates htaccess and htpasswd files and that the former can't access the later because it doesn't have permission yet (a paradox if you will). I tried to go back into cpanel and remove it , but the box for that directory is not actually ticked anymore, so how do I remove password protection manually by editing the htaccess files on the server?
Thanks in advance.
I am an administrator for a website that was hacked. Following a tutorial from my hosting provider I password protected the home/user/ directory in order to avoid visitors being infected. I used cpanel to do this, selecting the directory and then checking the password protect box and setting up a username and password. When I visit the site I get a 500 error though. I read in some other forums that cpanel automatically creates htaccess and htpasswd files and that the former can't access the later because it doesn't have permission yet (a paradox if you will). I tried to go back into cpanel and remove it , but the box for that directory is not actually ticked anymore, so how do I remove password protection manually by editing the htaccess files on the server?
Thanks in advance.