# Internal server error 500 when using .htaccess file for auth

**URL:** https://forum.infinityfree.com/t/internal-server-error-500-when-using-htaccess-file-for-auth/74332
**Category:** Hosting Support
**Created:** [April 3, 2023, 7:51pm UTC](https://forum.infinityfree.com/t/internal-server-error-500-when-using-htaccess-file-for-auth/74332 "2023-04-03T19:51:13Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)
#### Post date: [April 4, 2023, 2:14pm UTC](https://forum.infinityfree.com/t/internal-server-error-500-when-using-htaccess-file-for-auth/74332/10 "2023-04-04T14:14:49Z")

</div>

You need to read this

> [@Redirected to InfinityFree 500 error page](https://forum.infinityfree.com/t/redirected-to-infinityfree-500-error-page/49354/1):
>
> While working on your website, you may be redirected to the [InfinityFree 500 error page](https://infinityfree.net/errors/500/). This article explains why this typically happens and what you can do to fix this. Bad .htaccess rules The most common reason why you may be redirected to this page is because of an error in your .htaccess file. .htaccess rules are quite sensitive to errors. And when they break, servers are not very clear about what the issue is. The first thing to try is to rename the .htaccess file to something else (e.g…

---

_[View the full topic](https://forum.infinityfree.com/t/internal-server-error-500-when-using-htaccess-file-for-auth/74332)._
