• checking headers in http_request from reverse web proxy to application

    From ian diddams@21:1/5 to A colleague has on Fri Feb 19 02:33:18 2016
    A colleague has asked me to check this out, and I don't know where to start.

    :-(


    We have an Apache/2.2.15 webserver running on a CentOS release 6.5 server.

    A virtual host exists


    <VirtualHost *:10080>
    ServerName test
    DocumentRoot /var/www
    ProxyPreserveHost On
    ProxyRequests Off
    SetEnvIf X-FORWARDED-FOR "(.*)$" FORWARDED=$0
    RequestHeader set X-Real-IP "%{FORWARDED}e"
    SetEnv scheme=http
    SetEnvIf HTTPS on scheme=https
    RequestHeader set X-Scheme "%{scheme}e"
    ErrorLog /opt/cyclone/var/logs/laptopmatchmaker_error.log
    CustomLog /opt/cyclone/var/logs/laptopmatchmaker_acess.log combined
    <Directory /var/www/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
    Order allow,deny
    allow from all
    </Directory>
    ProxyPass /api http://localhost:18080
    ProxyPassReverse /api http://localhost:18080

    </VirtualHost>


    My colleague has asked me

    "how can we check headers in http_request from reverse web proxy to application server "


    Can anybody point me in the right direction please? (OR better still just tell me and put me out of my misery ;-)

    cheers

    ian

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)