Custom Inserted HTTP Header not showing up in Iplanet Logs

ALL:
I have some iPlanet Enterprise/6.0 web servers sitting behind a LoadBalancer. The LoadBalancer is setup in an 'one-armed mode', and takes a client HTTP request passes it onto the server, but during this process, changes the client source IP to that of local static IP that the LoadBalancer has. Due to our setup we cannot change this.
By changing the client source IP to a local address, we have lost any useful user session tracking that was done by source IP.
To get around this, I have the LoadBalancer inserting an HTTP header with the client real source IP. Reading the NSAPI Programmer's Guide (Table 7-1 "http://docs.sun.com/source/816-5686-10/07_magnu.htm"), there is an option "%Req->headers.headername%" that can be used with 'flex-int' to log any header value.
My output from snoop looks as follows:
HTTP: ----- HyperText Transfer Protocol -----
HTTP:
HTTP: GET /plugin.do HTTP/1.1
HTTP: OrigClientAddr:10.5.4.28
HTTP: Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
HTTP: Accept-Language: en-us
HTTP: Accept-Encoding: gzip, deflate
HTTP: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
HTTP:
I have set the value to "%Req->headers.OrigClientAddr%" and it still does not show up in the log file. Any clues?
Works fine in Apache with:
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{OrigClientAddr}i\" \"%{User-Agent}i\"" headerinsert
CustomLog logs/access_log headerinsert

Always nice to find resolution to one's own question.
Fix was to change the header value to all lower case.
From:
"%Req->headers.OrigClientAddr%"
To:
"%Req->headers.origclientaddr%"

Similar Messages

  • HTTP Header not showing up

    I am trying to add a authorization header to the HTTP Post, but it isn't showing up when my end point is https. It only shows up when my end point is http.
    This is how my header is supposed to look like, but it only works when my end point is http.
    Content-Type: text/xml
    Authorization: Basic TWFyc2hmaWVsZDoidzMrJTFAJjJpIUk2
    User-Agent: Microsoft (R) BizTalk (R) Server 2010
    Host: ***.***.***
    Content-Length: 54091
    Expect: 100-continue
    What should I do for this to show up with my https end point ?
    I am using HTTP Adapter and I am trying to write authorization header using:
    inmsg.Context.Write("UserHttpHeaders", "http://schemas.microsoft.com/BizTalk/2003/http-properties", "Authorization: Basic " + System.Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(Username + ":" + Password)));
    EDIT: I am using HTTP Adapter to accomplish this.

    HTTP data packet/conversation is exactly same with
    HTTP or HTTPS. Only difference is they are encrypted in HTTPS. May since they are encrypted you are not seeing the exact word “Authorization: Basic…” when you search for this text/string.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Custom scan box does not show scan button due to my 13" screen.  Can't reach it.  How do i fix?  Thx

    Custom scan box does not show scan button due to my 13" screen.  Can't reach it.  How do i fix?  Thx.

    Try increasing the resolution of your screen.

  • Why will all the phone numbers on my phone not show up when I log into iCloud on my computer?

    Why will all the phone numbers on my phone not show up when I log into iCloud on my home computer?

    Hello tamivw,
    I read your post and I have linked to an article that will instruct you on how to access your iCloud contacts on a computer:
    This article is for Windows:
    iCloud Control Panel 3.1 for Windows
    http://support.apple.com/kb/DL1455
    This article will help you access the iCloud preferences where you can enable contact syncing:
    iCloud: Open iCloud preferences
    http://support.apple.com/kb/PH12802
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • Header not showing up in PDF

    I put a logo in the header of my form and it is not showing up on the saved PDF ~ any idea why?

    Please read the FAQ at http://forums.adobe.com/docs/DOC-4144.  If this does not help you resolve the issue then re-post to this thread.
    -Jeff

  • Custom Ribbon tab does not show in generic list

    Hi.
    I'm deploying the following definiton on a generic list, but the new custom tab does not show up. Anyone that can see what I have done wrong?
    Thanks!
    <Elements xmlns=”http://schemas.microsoft.com/sharepoint/“>
    <CustomAction
    Id=”Ribbon.MyTab”
    Title=”Adds a new Ribbon tab to Generic List”
    RegistrationType=”List”
    RegistrationId=”100″
    Location=”CommandUI.Ribbon.ListView”
    >
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition
    Location=”Ribbon.Tabs._children”>
    <Tab Id=”Ribbon.MyTab” Sequence=”110″ Description=”" Title=”My Tab Name”>
    <Scaling Id=”Ribbon.MyTab.Scaling”>
    <MaxSize
    Id=”Ribbon.MyTab.Scaling.MyGroup.MaxSize”
    Sequence=”15″
    GroupId=”Ribbon.MyTab.MyGroup”
    Size=”LargeMedium”/>
    </Scaling>
    <Groups Id=”Ribbon.MyTab.Groups”>
    <Group
    Id=”Ribbon.MyTab.MyGroup”
    Sequence=”15″
    Description=”"
    Title=”My Group Name”
    Template=”Ribbon.Templates.MyTab.MyGroup.CustomTemplate”>
    <Controls Id=”Ribbon.MyTab.MyGroup.Controls”>
    <Button
    Id=”Ribbon.MyTab.MyGroup.Button”
    Alt=”Ribbon.MyTab.MyGroup.Button”
    Command=”Ribbon.MyTab.MyGroup.Button_CMD”
    Image16by16=”/_layouts/images/siteIcon.png”
    Image32by32=”/_layouts/images/siteIcon.png”
    LabelText=”Button”
    Sequence=”10″
    TemplateAlias=”o1″
    ToolTipTitle=”Button”
    ToolTipDescription=”Shows a dialog” />
    </Controls>
    </Group>
    </Groups>
    </Tab>
    </CommandUIDefinition>
    <CommandUIDefinition
    Location=”Ribbon.Templates._children”>
    <GroupTemplate Id=”Ribbon.Templates.MyTab.MyGroup.CustomTemplate”>
    <Layout Title=”LargeMedium”>
    <OverflowSection Type=”OneRow” TemplateAlias=”o1″ DisplayMode=”Large”/>
    <OverflowSection Type=”ThreeRow” TemplateAlias=”o2″ DisplayMode=”Medium”/>
    </Layout>
    </GroupTemplate>
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler
    Command=”Ribbon.MyTab.MyGroup.Button_CMD”
    CommandAction=”javascript: alert('Hello World');” />
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    </Elements>

    Hello,
    I was able to use your custom ribbon tab XML just fine.  The only thing is, the copy you provided had a bunch of illegal characters embedded in it (like reverse quotes?), I'm not sure if they're showing up in your version of the XML or not.  Anyway,
    after replacing those with straight quotes and fixing some other misc formatting, it worked fine.  I created an empty SharePoint project and added an empty element, then added your XML to the Element.xml file.  In SP, I created a new custom
    list and the "My Tab Name" tab appeared with a button that displayed "Hello World" when I clicked it. So, I recommend checking the formatting of your XML.  Just look for red squiggles in the editor and fix them.
    Regards,
    - Kemp Brown [MSFT]

  • Header not showing up in Firefox (but OK in IE7)

    Hello everyone.
    I'm hoping someone can help me with this situation. I'm
    having a problem with my header sometimes not showing up in Firefox
    2.0 (I'm using 2.0.0.13), yet it shows up fine in IE7. The problem
    is intermittent, sometimes it displays as it should and other times
    it's not there (the header is a JPG, 1000x125 pixels, around 25k in
    file size). Sometimes clicking the "Go" button will make it appear
    (other times not) and sometimes "refresh" will do the same or make
    it "disappear" if it's already there. I'm using DW MX 2004 and I
    don't remember having this problem before until just recently on
    some pages that I made from scratch. Here is an
    example of one of
    the pages. So far it's a pretty simple layout using a table, a
    header and a few horizontal buttons.
    If it the header shows up in Firefox, please refresh or
    reload and see if it no longer shows up.
    I'm wondering if I should be doing something else in DW for
    the header so that it will show up every time in Firefox. I can
    post the code if I need to, or you can view it when you visit the
    page.
    Can someone please help?
    Thank you

    > @josie1one, can I ask what OS you are using? I'm not
    sure if it matters,
    > but
    > I'd be curious to know with my results from using XP and
    Win98.
    WinXP Professional.
    > @Dooza, It IS very confusing, ha ha. My viewing
    >
    http://www.beatleslane.com/zhtz/header01.jpg
    works fine on my end.
    >
    http://www.beatleslane.com/header01.jpg
    should NOT work because there's no
    > such
    > file in that location.
    Not Dooza but you say without /zhtz/ it shouldn't work but
    your code is:
    <td height="125" colspan="5"><img
    src="header01.jpg" alt="header"
    width="1000" height="125"></td>
    Note no /zhtz/ ??? Did you try what I suggested? Just for
    laughs?
    Jo
    "CreativeSpurt" <[email protected]> wrote in
    message
    news:ftg0ge$p$[email protected]..
    > @josie1one, I know what you mean by "It won't reappear
    at all for me now.
    > Fine
    > in IE6 oddly". Sometimes I can't make it reappear in FF2
    either, yet no
    > problems in IE7.
    >
    > My main computer is a Win XP Home Ed., and it's the
    computer I'm having
    > this
    > header issue with. As I mentioned, I tried it on a Win98
    (with FF2) and I
    > didn't have a problem (in limited testing). I just now
    tried it on an old
    > Win98
    > laptop (also with FF2) and no problems there either. So,
    the problem seems
    > to
    > only appear with my XP computer using FF. No problems
    with NN9 or IE7 or
    > Win98.
    > And it sounds like josie1one has the same issue as me
    viewing the page, so
    > it's
    > not just me.
    >
    > @josie1one, can I ask what OS you are using? I'm not
    sure if it matters,
    > but
    > I'd be curious to know with my results from using XP and
    Win98.
    >
    > @Dooza, It IS very confusing, ha ha. My viewing
    >
    http://www.beatleslane.com/zhtz/header01.jpg
    works fine on my end.
    >
    http://www.beatleslane.com/header01.jpg
    should NOT work because there's no
    > such
    > file in that location.
    >

  • CUSTOM ICC PROFILES DO NOT SHOW UP IN PSCS 6 MAC OS 10.8.4 BUT ARE OK IN CS5

    The only icc profiles that show up in CS 6 Mac OS 10.8.4 are the ones that are installed from the printer driver ( Epson 9900 ) Any other single or custom profiles  do not show up when placed Library/Colorsync/Profiles
    All profiles show up in CS 5, There has been a lot of discussion of this on many forums with no solution. I have also tried installing the profiles in the contents folder of the Epson printer in the main library folder with no luck. Please advise

    Mac OS 10.8.4 is still in beta. You need to be reporting this to Apple.
    What happens if you move these profiles to the Adobe/Profiles folder, or the users/Library/Colorsync/Profiles folder?
    There has been a lot of discussion of this on many forums with no solution.
    What forums? A google search turns up nothing but this thread.
    I have not seen this problem with the released versions of 10.8.

  • Appraisal document header not showing up in the Portal

    when I look at the appraisal document in Portal ESS MSS (using WD4A application Appraisal Document) the header of the appraisal document does not show up (in PHAP_ADMIN it does).
    how can I show the appraisal document header in the Portal?
    regards,
    Tiberiu

    >
    Chris Thomas wrote:
    > Do you know how to set the template such that the Header is expanded (displayed) by default ?
    >
    > Chris
    hi chris, that would almost definitely only be available by doing a webdynpro enhancement to hap_main_document.

  • ECC Customer Ship to party not showing in BP relationship in CRM

    Hello Experts,
    The sold-to party 1111 and ship-to 100 are downloaded to CRM 6.0 from ECC 6.0
    We have maintained this SHIP to PARTY - 100 for a sold-to party 1111 in ECC in the partner function tab in XD02. In this case BDoC got generatedin CRM, it is showing GREEN also, but still the ship-to 100 is not showing in the RELATIONSHIP button of BP - 1111 in CRM.
    Please advice what will be the reason? Any note, web blog , any specific settings to be checked?
    Regards

    Hi
    Yes, the BDoC type is BUPA_REL and it shows fully processed (showing in GREEN) in CRM system.
    But still the relationship (ship-to party) is not shown in RELATIONSHIP for BP in CRM.
    Any pointers?

  • Username not showing up in access log for authenticated users

    I'm using form-based authentication in a Java web application on Sun One Web Server v6.1 to restrict access to authenticated users. However, even after the users authenticate and access the application, the username field in the access log is showing them as anonymous.
    request.getRemoteUser() is reporting the correct username, so it just seems to be the access log that is in error. Right now it is set to the default but changing formats to custom doesn't seem to help in displaying the username.
    Here's an excerpt from the access log:
    // anonymous access attempt, redirects to login page...
    10.100.168.110 - - [01/May/2006:14:34:42 -0400] "GET /profile/index.jsp HTTP/1.1" 302 0
    10.100.168.110 - - [01/May/2006:14:34:42 -0400] "GET /profile/login.jsp HTTP/1.1" 200 3355
    10.100.168.110 - - [01/May/2006:14:34:47 -0400] "POST /profile/j_security_check HTTP/1.1" 302 0
    // at this point they are logged in and their username should be reflected in the access log, but is not:
    10.100.168.110 - - [01/May/2006:14:34:47 -0400] "GET /profile/index.jsp HTTP/1.1" 200 3532 And the relevant code from the web application's web.xml:
    <security-constraint>
        <web-resource-collection>
          <web-resource-name>AllFiles</web-resource-name>
          <description>
                     Restricts anonymous access.
                  </description>
          <url-pattern>/*</url-pattern>
          <http-method>POST</http-method>
          <http-method>GET</http-method>
        </web-resource-collection>
        <auth-constraint>
          <description>
                   Authenticated Users
                  </description>
          <role-name>user</role-name>
        </auth-constraint>
      </security-constraint>I've searched the forums and the manuals but can't see anything showing that the access log's username field doesn't work with form-based authentication. Can anyone shed some light on this?

    Some background:
    The Java Servlet container has its own authentication infrastructure (which is what you configure in web.xml) which is separate from the non-Java authentication infrastructure (ACLs, etc.). If you set up authentication via ACLs the resulting user identity can (though you may configure it not to) propagate to the Java Servlet container such that request.getRemoteUser() will return it, even though no web.xml-driven authentication occurred. The coverse is not true, however: if you authenticate via a Java Realm, based on web.xml configuration, that user identity is not available to non-Java code.
    (Your web.xml snippet doesn't show you using FORM auth - but it doesn't matter, the explanation above applies in any case.)
    That is why the log file (generated from non-Java code) doesn't have access to that user. It probably should, but there's no config option today for you to make that happen.
    If you're using BASIC auth you may consider moving the authentication configuration from web.xml to ACLs as a possible workaround. It will then show up in the access logs.
    If you prefer web.xml-based authentication, consider the <SECURITY audit="true"> option in server.xml. It won't be in the access log but you'll have an audit trail of authentications, which may help.

  • 10.5.7 Update not showing in Installed Updates log

    Hello everyone!
    Not sure if this is some type of problem or not but I'm checking with you guys before I do something drastic like reinstall Leopard or something.
    I installed the 10.5.7 update yesterday on my iBook G4. After I installed it, the computer hanged only showing my desktop and dock (no menu bar). After a while, I manually powered off the iBook, turned it on and saw it boot, restart, and boot back up. I updated Safari 4 beta after that. Then I checked the Installed Updates log on System Preferences and it showed the Safari update but not the 10.5.7 update. I thought there might be something wrong so I downloaded the Combo Update, repaired permissions and installed the update again. No hang this time, it restarted but it did do that boot-restart-boot again thing again. Tried it twice now and the 10.5.7 update is still not showing in the Installed Updates log even though in About This Mac it does say I'm running 10.5.7.
    Is that normal? Are others having this issue?

    Suggest you read my tip at
    http://discussions.apple.com/thread.jspa?threadID=2004922&tstart=0
    on how to get 10.5.7 to display in you installed updates
    System Preferences/Software Update/Installed Updates

  • Contact name not showing in call/sms log even when I call/sms from my address book.

    Two things have changed on my phone recently.
    1. I ran the latest update 4.3.2
    2. My phone was not showing all the contacts in my address book that is in my Mobile Me account. Mobile me had 166 contacts. The iPhone 4 had 136. I I unchecked the syncing of my contacts on my phone. This removed all the contacts from my phone. Then I check the syncing options again. All 166 appeared on the phone.
    I'm not sure which of the two caused the issue but now anytime someone who calls their name does not appear on the display or log, just their number. I can even call people from my address book and the display shows that I am calling them with their name and photo on display. However, in the call log the name does not show just their number.  This applies for text messages. I send a message directly from within the contact card in the address book and in my text log it shows only the number and not the name.
    I've turned the phone off and on a couple of times.
    I would appreciate any advice.
    Cheers

    Thanks iraghib,
    In the end I reset my phone to factory settings. I created a back up of my address book and ical. Reset the phone and did a sync again. This fixed it all. I didn't need to use the backups but is was nice to know they were there. I felt entering the various passwords for all my installed apps was a much better deal than adding the international area code to the 166 contacts I have in my address book.
    Good luck. And thanks for the post.

  • Errors detected, but not showing up in the Log

    Hi Experts!
    I've made a copy of "Set JavaRoleForUser&Group" pass from the SAP IDM Provisioning Framework for use in a Sync task. I'm working with IDM 7.2 SP8, back end is DB2. Repository is set and the background configuration is correct.
    However when the pass is executed, I get 253 errors but NONE of them show up in the log.  I've checked all varieties of log and I've also checked in the "\usr\sap\IdM\Identity Center\Jobs folder"
    <mx:NENTRIES noops="0" mods="0" markdels="0" dels="0" adds="0">0</mx:NENTRIES>
    <mx:NERRORS>253</mx:NERRORS>
    <mx:NWARNINGS>0</mx:NWARNINGS>
    No log exists.
    Is anyone aware of a way to get this information.  Clearly IDM and the SPML connector are seeing the error, but it's not piping back to the IDM log.
    Thanks,
    Matt

    Chris,
    I checked the jobs folder.... No prelog.log, just a DSE.log and a DSE_log.xml.
    Runtime logging already turned up. I'll check the tables and try the test mode.  Thanks.
    Follow up. I don't seem to have an mc_execution_log table, but I do have a mc_dispatcher_log table.  I don't see anything specific to my job.
    In the meantime, I'm directing the results to a text file via ToASCII so I can try and figure out what the deal is.
    Matt

  • JPanel custom tooltips in JTree not showing

    Hi,
    I use a custom TreeCellRenderer in a JTree like
    MyTreeCellRenderer extends JPanel implements TreeCellRenderer
    The panel contains two JLabels, each with a different tooltip. Although I register the tree, the panel and the two labels with the tootipmanager, no tooltips are showing up. Any idea?
    Thanks,
    Ulrich

    I'll provide my own answer:
    As it currently stands Logic Apps require a "default" response to be defined in the swagger. This is not implemented by default by an API app out of the box, but can be done relatively easily by adding a Swagger OperationFilter.
    That is to say in the
    public void Apply(Operation operation, SchemaRegistry schemaRegistry, ApiDescription apiDescription)
    method of the filter you will need to ensure that the operation.responses dictionary contains an entry keyed with 'default'.
    Microsoft's provided connectors contain a reference to a "Microsoft.Azure.BizTalk.Adapters.SwaggerGenerator.dll" contains a OperationFilter that will do this for you if you don't want to write one yourself.
    Final note: Having spoken to MS about this issue it is currently under review and will hopefully be resolved in a future version of LogicApps so hopefully this will all disapear.
    Edit: Also see http://blogs.msdn.com/b/hosamshobak/archive/2015/03/31/logic-app-with-simple-api-app-with-inputs-and-outputs.aspx

Maybe you are looking for