0
votes
1answer
67 views

Apache reverse proxy logic based on arbitrary header

I have apache running on a natting fw, that authenticates, reverse proxies, and provides an ssl wrapper for 2 webapps on the back end. This works with virtual hosting and proxies back based on the ...
4
votes
3answers
666 views

How do I create a custom header from an existing SSL environment variable?

OK I have spent all day on this-- I'm using apache with mod_ssl I'm trying to take an existing environment header, "%{SSL_CLIENT_S_DN_CN}s" which looks like "Lastname Firstname Mi username" and set a ...
2
votes
1answer
505 views

Apache serving empty gzip with assets produced by Rails Asset Pipeline

I followed the steps described in the blogpost The Asset Pipeline, from development to production and tweaked them to my environment. The two important files are: ...
0
votes
1answer
593 views

Combining URL mapping and Access-Control-Allow-Origin: *

I am in the progress of migrating an old banner system to a new one and in doing so I want to rewrite the old banner system's URL's to the new one. I load my banners via an AJAX request, and therefore ...
1
vote
1answer
3k views

Can Apache rewrite a request's Host header based on the URL?

Apache is a reverse-proxy to my app. A client requests http://cdn.example.com/foo/images/logo.png: GET /foo/images/logo.png HTTP/1.1 Host: cdn.example.com I want Apache to modify the request so ...