<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/html/scanrefer_benchmark
        servername kaldir.vc.in.tum.de/scanrefer_benchmark

        ProxyPreserveHost On
        ProxyRequests Off

        <Proxy *>
            Options FollowSymLinks
            Require all granted
        </Proxy>

        <Directory /var/www/html/scanrefer_benchmark>
                AllowOverride all
                Require all granted

                <IfModule mod_rewrite.c>
                    Options +FollowSymLinks -MultiViews
                    RewriteEngine on

                    RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
                    RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI}\.php -f
                    RewriteRule ^(.*)$ $1.php [L]
                </IfModule>
        </Directory>
</VirtualHost>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet