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

Here’s my site:

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
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined


I followed instructions here to enable that /file be rewritten to /file.php

Please help me understand why logout is making infinite redirects.