diff --git a/etc/apache/sites.d/_default_.conf b/etc/apache/sites.d/_default_.conf
index 4855be8..56f5f42 100644
--- a/etc/apache/sites.d/_default_.conf
+++ b/etc/apache/sites.d/_default_.conf
@@ -52,7 +52,7 @@
SetEnvIf REQUEST_URI ^/\.well-known/.*$ no_log
- RedirectMatch permanent ^/(?!(\.well-known|httpd-errordocs)/)(.*) https://afterdark.org.uk/
+ RedirectMatch permanent ^/(?!(\.well-known|httpd-errordocs)/)(.*) https://afterdark.org.uk/$1
ScriptAlias /cgi-bin/ /data/www/cgi-bin/