
06-19-2006, 06:43 PM
|
|
Member
|
|
Join Date: Jun 2006
Posts: 11
|
|
Add header when proxing
Hi,
I'm using litespeed-2.1.16 to proxy requests to backend web server (Ruby on Rails with Mongrel). When using HTTPS I need to add a special header to the request, so the backend server will understand that the initial request is over HTTPS. For example with pound reverse proxy (see http://mongrel.rubyforge.org/docs/pound.html ):
Code:
AddHeader "X-Forwarded-Proto: https"
For Apache:
Code:
RequestHeader set X_FORWARDED_PROTO 'https'
How to add such a header with LiteSpeed?
|