Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

IIS not forwarding any headers to Adobe Campaign server?

Avatar

Avatar
Boost 1
Level 1
Allan_S_
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
Allan_S_
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
Allan_S_
Level 1

09-09-2019

We are using the nlsrvmod module to redirect from IIS to Adobe Campaign server.

Is there a way to get IIS to forward any headers (ex: Authorization) to the Adobe Campaign server?

More details if needed:

I have a simple jssp page to display the value of a certain header

<%   document.write('auth header: ' + request.getHeader('Authorization')); %>

If I use Postman to set the header and request the Adobe Campaign server directly via http://localhost:8080/jssp/eps/headertest, the header value exists and is written.

However if I make the request through IIS via  http://localhost/jssp/eps/headertest the header value does not exists which means that IIS is not passing it through

Replies

Avatar

Avatar
Validate 1
MVP
Jean-Serge_Biro
MVP

Likes

353 likes

Total Posts

464 posts

Correct Reply

153 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Validate 1
MVP
Jean-Serge_Biro
MVP

Likes

353 likes

Total Posts

464 posts

Correct Reply

153 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 250
View profile
Jean-Serge_Biro
MVP

10-09-2019

Hi Allan,


Please read this documentation that explains how to add http headers to pass from IIS to Tomcat:

https://docs.campaign.adobe.com/doc/AC/en/INS_Additional_configurations_Configuring_Campaign_server....

(section: Managing HTTP headers)

Regards
J-Serge

Avatar

Avatar
Boost 1
Level 1
Allan_S_
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
Allan_S_
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
Allan_S_
Level 1

10-09-2019

Thanks for the reply.

Unfortunately this doesn't seem to be what I'm looking for. What the referenced configuration seems to do is relay a response header from Tomcat to IIS.

I'm looking to relay a Request header from IIS to Tomcat (opposite direction).

If you know anyone that has found a solution to this I would appreciate it. Thanks!

Avatar

Avatar
Validate 1
MVP
Jean-Serge_Biro
MVP

Likes

353 likes

Total Posts

464 posts

Correct Reply

153 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Validate 1
MVP
Jean-Serge_Biro
MVP

Likes

353 likes

Total Posts

464 posts

Correct Reply

153 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 250
View profile
Jean-Serge_Biro
MVP

10-09-2019

Hi Allan,

Have your network team hardened the HTTP response headers for security reasons ?
(highly recommended by the Adobe Campaign documentation highly recommends it).

Read also for example:

Remove Unwanted HTTP Response Headers - Microsoft Tech Community - 369710


Please may you have a look on IIS Manager settings, in this section:


But for headers not prohibited, I can manage them correctly transferred to the Tomcat service through IIS.

So I wonder what happens for you. In your network, is there a reverse proxy?

Whatever tool, either Postman or SOAP UI, I think you could try to set another header to see if it is forwarded, perhaps it could help?

Regards
J-Serge

Avatar

Avatar
Validate 1
MVP
Jean-Serge_Biro
MVP

Likes

353 likes

Total Posts

464 posts

Correct Reply

153 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Validate 1
MVP
Jean-Serge_Biro
MVP

Likes

353 likes

Total Posts

464 posts

Correct Reply

153 solutions
Top badges earned
Validate 1
Boost 50
Boost 5
Boost 3
Boost 250
View profile
Jean-Serge_Biro
MVP

10-09-2019

1830706_pastedImage_0.png

It seems I failed to publish the screenshot of IIS Manager