# Error with password protected folder: infinate login loop

**URL:** <https://forum.infinityfree.com/t/error-with-password-protected-folder-infinate-login-loop/42901>\
**Category:** Hosting Support\
**Created:** [March 16, 2021, 7:43pm UTC](https://forum.infinityfree.com/t/error-with-password-protected-folder-infinate-login-loop/42901 "2021-03-16T19:43:04Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deveroonie](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/deveroonie/32/35629_2.png) [@Deveroonie](https://forum.infinityfree.com/u/Deveroonie)\
**Post date:** [March 16, 2021, 7:43pm UTC](https://forum.infinityfree.com/t/error-with-password-protected-folder-infinate-login-loop/42901/1 "2021-03-16T19:43:04Z")

</div>

### Username (e.g. epiz\_XXX) or Website URL

### epiz\_28145804 (Website for vibedlounge.ml)

### Error Message

im logging in to my protected folder @ [https://vibedlounge.ml/ownerinfo](https://vibedlounge.ml/ownerinfo) and i am logging in on the popup then it asks me to do it again and again… it is the right password.

### Other Information

(other information and details relevant to your question)

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [March 16, 2021, 7:49pm UTC](https://forum.infinityfree.com/t/error-with-password-protected-folder-infinate-login-loop/42901/2 "2021-03-16T19:49:39Z")

</div>

What are you using to protect the page?

---

<div class="post-metadata">

**Author:** ![alexvf](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/alexvf/32/14357_2.png) [@alexvf](https://forum.infinityfree.com/u/alexvf)\
**Post date:** [March 17, 2021, 12:14am UTC](https://forum.infinityfree.com/t/error-with-password-protected-folder-infinate-login-loop/42901/3 "2021-03-17T00:14:05Z")

</div>

Did you type the absolute path to the .htpasswd file in the “AuthUserFile” directive of your .htaccess?  
It needs to be the absolute path. Something like this (your is different, of course):

```
AuthUserFile /home/vol4_4/epizy.com/epiz_xxxxxxxx/domain/directory/.htpasswd
```

I used a small PHP script to find the full path to my hosting account. Just put this in a php file and open it in your browser.

```php
<?php
  $rootDir = realpath($_SERVER["DOCUMENT_ROOT"]);
  echo $rootDir;
?>
```

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [March 17, 2021, 9:50am UTC](https://forum.infinityfree.com/t/error-with-password-protected-folder-infinate-login-loop/42901/4 "2021-03-17T09:50:53Z")

</div>

If it’s asking you for the password over and over again, that usually means it’s not the right password.

I checked the configuration on your account and I don’t see any obvious issues. Maybe try regenerating the configuration files? Maybe something went wrong while hashing the password.

---

<div class="post-metadata">

**Author:** ![Deveroonie](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/deveroonie/32/35629_2.png) [@Deveroonie](https://forum.infinityfree.com/u/Deveroonie)\
**Post date:** [March 17, 2021, 10:09am UTC](https://forum.infinityfree.com/t/error-with-password-protected-folder-infinate-login-loop/42901/5 "2021-03-17T10:09:28Z")

</div>

> [@Admin](#):
>
> If it’s asking you for the password over and over again, that usually means it’s not the right password.

i know its the right password as it worked before…  
interestingly, it works with the other account.

---

<div class="post-metadata">

**Author:** ![Deveroonie](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/deveroonie/32/35629_2.png) [@Deveroonie](https://forum.infinityfree.com/u/Deveroonie)\
**Post date:** [March 17, 2021, 10:10am UTC](https://forum.infinityfree.com/t/error-with-password-protected-folder-infinate-login-loop/42901/6 "2021-03-17T10:10:00Z")

</div>

> [@Greenreader9](#):
>
> What are you using to protect the page?

cpanel password protection

---

<div class="post-metadata">

**Author:** ![alexvf](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/alexvf/32/14357_2.png) [@alexvf](https://forum.infinityfree.com/u/alexvf)\
**Post date:** [March 17, 2021, 10:20am UTC](https://forum.infinityfree.com/t/error-with-password-protected-folder-infinate-login-loop/42901/7 "2021-03-17T10:20:54Z")

</div>

If so, please ignore my answer above.  
I thought you had created the .htaccess and .htpasswd manually.

---

<div class="post-metadata">

**Author:** ![Deveroonie](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/deveroonie/32/35629_2.png) [@Deveroonie](https://forum.infinityfree.com/u/Deveroonie)\
**Post date:** [March 17, 2021, 12:07pm UTC](https://forum.infinityfree.com/t/error-with-password-protected-folder-infinate-login-loop/42901/8 "2021-03-17T12:07:23Z")

</div>

okay

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [March 17, 2021, 1:22pm UTC](https://forum.infinityfree.com/t/error-with-password-protected-folder-infinate-login-loop/42901/9 "2021-03-17T13:22:43Z")

</div>

My suggestion would be to enter the cPannel, go to “Directory Privacy” and enter the page you are protecting. You will see a chart with the accounts in use, with a red delete button on the right-hand side. Click delete until the table is empty, that save and re-load the pannel. Go back to the privacy screen, and if the table is empty, recreate the password for the page.  
Hope this helps!

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [April 1, 2021, 1:22pm UTC](https://forum.infinityfree.com/t/error-with-password-protected-folder-infinate-login-loop/42901/10 "2021-04-01T13:22:52Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
