Friday, July 26, 2013

Apache and Local IP Address

Can someone tell me how to get the dest ip and port from a output filter? That info is available in the conn_rec :

request_rec->local_addr

You can provide a new address by setting the 'Location' header of the http response to the correct (_full_!) url, using ap_table_set and the header_out table in the request record. (some info provided by Ralf Mattes)

No comments:

Post a Comment