[Apt-cacher-ng-users] How to serve local files in a proxy request?

Alexander Perlis aperlis at math.lsu.edu
Wed Apr 10 21:10:54 UTC 2013


Still wondering about this: apt-cacher-ng (ver 0.7.2) running on host 
4.3.2.1 port 3142, configured to serve local files via

   LocalDirs somedir /path/to/somedir

but the incoming request is a proxy request:

   GET http://4.3.2.1/somedir/somefile HTTP/1.1
   Host: 4.3.2.1

ACNG returns a 403 error. If I also set

   Remap-somedir /somedir ; http://4.3.2.1/somedir

then I would expect an internal request to port 80, but that does not 
take place.

Any ideas for solutions?



More information about the Apt-cacher-ng-users mailing list