I have two apache servers set up. One is public facing, the other is behind a firewall. The one behind the firewall is used to serve up content (vids, pics, etc). I've set up a reverse proxy so that any requests to http://mysite.com/content/ actually go to the server inside my firewall. See my serverfault question.
My site uses PHP and MySQL to authenticate users. The authentication doesn't work on anything in the /content directory because apache immediately sends the request to the internal server. Ideally I'd like to authenticate users on my public facing server, and give them content from the content server inside the firewall.
Is there a way to only allow authenticated users access to the /content directory?