I am using APACHE 2.0 HTTP web server.
My requirement is....
1) I need to set a userId to a header variable (say pradeepId to set to REMOTE_USER)
2) I need redirect to some other site with this Header variable.
what I did in httpd.conf document
Code: Select all
<IfModule mod_headers.c>
Header add REMOTE_USER pradeepId
Header unset REMOTE_USER
</IFModule>Redirect / http://<host>:50100/irj/portal
Now the problem is....
I am able to redirect to the some other portal
But Header variable has not been set.
Did I make any mistake. Please send the PHP code to set the Header variable and send it to someother portal.
regards
Pradeep