apache 2.2 – When logging out I’m stuck in infinite loop (Apache2 Ubuntu)

Here’s my site:

http://54.219.218.150/

username: admin@example.com
password: 1234

Here’s what happens when I log out of my site: I get an infinite redirect.

This is my default configuration file:

<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot "var/www/html
<Directory "var/www/html">
Allow Override All
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>

I followed instructions here to enable that /file be rewritten to /file.php
https://youtu.be/J1x-zGXH760

Please help me understand why logout is making infinite redirects.