Actually, could you apply this patch to /usr/share/apt-cacher/apt-cacher and see if it helps. It is already in 1.7.0 and maybe why CGI mode is not working for you.
Mark commit 7b893b2697db8ac50f8fbc89add64c3354dd86de Author: Mark Hindley <m...@hindley.org.uk> Date: Mon Apr 11 13:18:56 2011 +0100 Back port of No need to prepend http://$ENV{SERVER_NAME} to CGI requests (cherry picked from commit 15dc500d6ce9811706fb539b2b274d18decc8d15) Possible fix for #632622 diff --git a/apt-cacher2 b/apt-cacher2 index 602bda8..baa4d1d 100755 --- a/apt-cacher2 +++ b/apt-cacher2 @@ -385,7 +385,6 @@ sub handle_connection { if(/^$/) { if(defined($testpath)) { # done reading request - $testpath="http://$ENV{SERVER_NAME}/$testpath" if $mode && $mode eq 'cgi'; $path=$testpath; last CLIENTLINE; } -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org