def redirect_to_apache(request):
     apache_url = "http://%s%s" % (request.META['HOSTNAME'], request.path)
     return HttpResponseRedirect(apache_url)
bounce a request back to the apache server that is running on the machine
dataset/ETHPy150Open open-cloud/xos/xos/xos/urls.py/redirect_to_apache