# Add a virtual host similar than that: # (e.g. in /etc/apache2/sites-available/example.com.conf) # # The Rewrite* lines are necessary to prevent mod_cgi to filter the Authorization HTTP header. SSLEngine Off ServerName dyndns.example.com ServerAdmin webmaster@example.com DocumentRoot /var/www/tdyndns DirectoryIndex tdyndns.py ErrorLog /var/log/apache2/error.log CustomLog /var/log/apache2/access.log combined SetHandler cgi-script Options ExecCGI FollowSymLinks RewriteEngine on RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]