added HTTP headers "pazpar2-version", "pazpar2-server-host", "pazpar2-server-port...
authorMarc Cromme <marc@indexdata.dk>
Tue, 27 Mar 2007 13:41:23 +0000 (13:41 +0000)
committerMarc Cromme <marc@indexdata.dk>
Tue, 27 Mar 2007 13:41:23 +0000 (13:41 +0000)
commit19e8783985686ff7d094da7d843131deea4ced1b
tree6f6520f9c5d8555f70bd11113a05ee327df1ed66
parentbcbb4bd74d931e5f5419f5a577adb85bede15e4e
added HTTP headers "pazpar2-version", "pazpar2-server-host", "pazpar2-server-port", "pazpar2-remote-host", and "pazpar2-remote-port" such that the HTTP proxy PHP script can fetch these values and use them for authentification and other pazpar2 specific stuff (this is needed, because the "Remote-Addr" PHP variable  is always set to the paraz2 server IP adress, due to tunneling through pazpar2.
The only thing which needs completion  is actually finding the correct values for these host and port parameters from the server configuration and the TCP/IP connection object. More digging in the source is needed to find these values the right places..
src/http.c
src/http.h