5

Apache reverse proxy not preserving headers

view full story
linux-howto

http://serverfault.com – Being no super-expert with Apache, does anyone know if there is something strange going on? It seems that my reverse proxy setup, doesn't preserve the correct caching headers from the original virtualhost. Let me explain... I am currently using PHP Slim to create an API for my web app. It has its own caching mechanisms, which are setup and running fine. So, when visiting the resource api.domain.com/info for example, I have a Last-Modified that is set, which allows it to be cached (it doesn't change very often). As such, the headers looks something like... Request URL:http://api.domain.com/ (HowTos)