httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [users@httpd] Setting headers with mod_proxy on Apache 2.2.23 works for http but not for https
Date Mon, 08 Oct 2012 05:31:59 GMT
We use a Google Search Appliance to crawl internal web servers. Because the servers don't provide
some headers needed by the GSA, I configured an Apache 2.2.23 with mod_proxy to add these
headers and configured it to be used by the GSA.

This works for http-urls, but not for https. The content is retrieved in the latter case but
the headers are not added (I peeked with httpfox in Firefox)

By the way: we are not able to configure the web servers directly, else I would add the headers
there. So using a forwarding proxy seems to be the only solution.

This is my reduced to the relevant parts configuration:


ServerName proxy.local

LogLevel debug

ServerRoot "C:/apache2"

LoadModule authz_host_module modules/
LoadModule ssl_module modules/
LoadModule proxy_module modules/ 
LoadModule proxy_http_module modules/ 
LoadModule proxy_html_module modules/
LoadModule proxy_connect_module modules/
LoadModule headers_module modules/

Listen 8338

<VirtualHost *:8338>
  ProxyRequests On
  ProxyVia On
  SSLProxyEngine On

  <Proxy *>
    Order deny,allow
    Deny from *
    Allow from

  Header always set X-GSA-External-Metadata "key=value"



Any ideas what's missing here ? I found a lot of configurations for mod_proxy but nothing
specific to my needs.
Is mod_proxy silently denying my attempt to modify parts of an https communication ?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message