Http - http redirection using header-field rule

Hi,
Is it possible to configure an http -> http redirection using header-field rules if the CSS is NOT performing the SSL encryption/decryption ?
We can get the redirect working not using the header-field rule but not with it configured.
cheers,
Mike

Gilles,
The header-field rule works to redirect the http traffic to a specific service, but we also want the header-field rule config under the port 443 content rule.
Can the CSS see the header or is it encrypted ?
service 10.10.10.1-443
ip address 10.10.10.1
protocol tcp
port 443
keepalive maxfailure 2
keepalive retryperiod 45
keepalive frequency 45
keepalive type script testscript "10.10.10.1 4000 3179 archepns"
active
service 10.10.10.2-443
ip address 10.10.10.2
protocol tcp
port 443
keepalive maxfailure 2
keepalive retryperiod 45
keepalive frequency 45
keepalive type script testscript "10.10.10.2 4000 3179 archepns"
active
service archepns_redirect
keepalive type none
type redirect
no prepend-http
ip address 1.1.1.1
domain https://www-knowledge-epe.company.com
active
header-field-group archepns_url
header-field Request-Line request-line contain "/archepns"
header-field-group archepns_url2
header-field Request-Line request-line contain "/archepns"
content archepns-redirect-sso
vip address 20.20.20.1
protocol tcp
port 80
url "/*"
header-field-rule archepns_url weight 0
add service archepns-redirect
active
content archepns-443
vip address 20.20.20.1
port 443
url "/*"
header-field-rule archepns_url weight 0
add service 10.10.10.1-443
active
content archepns-redirect-sso
vip address 20.20.20.1
protocol tcp
port 80
url "/*"
header-field-rule archepns_url2 weight 0
add service archepns-redirect
active
content archepns-443
vip address 20.20.20.1
port 443
url "/*"
header-field-rule archepns_url2 weight 0
add service 10.10.10.2-443
active

Similar Messages

  • How i use header fields in soap adapter

    Hi Experts,
    I need use  header fields http  in soap adapter receiver but i don't know where's the Variable Header
    Do you know where i find this?
    Somebody know how i put header fields http in soap adapter receiver?
    Thanks for all,

    It is similar like in this blog:
    /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
    Find in the online help the values for the SOAP adapter.
    You can only add additional fields, you cannot influence the standard field like content-type and content-id.
    Regards
    Stefan

  • Redirection using header not working..

    Hi,
    I've created a simple insert page and after insert i want it
    to be redirected to another page which has list of entries.
    Somehow the header redirection is not working. I tried site
    relative name in the after insert go to option and then gave tried
    the full path name but no relief. I tried the redirect at the top
    of the page(plain redirection as soon as the page is loaded) and it
    worked. I have attached the code. Can some one spot what am i
    missing here?

    The page is not redirected it stays in the same page after
    the insert action.
    the page is in the location <<
    http://localhost/mysite/create_blog_entry.php?>>
    after the submit form it should be redirected to the <<
    http://localhost/mysite/blog_view.php>>--expected
    result
    but the result is
    <<
    http://localhost/mysite/create_blog_entry.php?>>
    I tried the exit function after the header and i got
    connection reset error..
    <<The connection to the server was reset while the page
    was loading.>>

  • CSS header-field redirect

    Hi,
    We have need to redirect mobile users to site that has an optimized view for the content. There are 32 devices needing to be redirected, by matching the User Agent field in the HTTP header.
    Do I need to create 32 individual L5 rules or will the CSS do an "OR" funtion on the fields defined in a single header group?
    Thanks,
    Pat
    !********************* HEADER FIELD GROUP *********************
    header-field-group Usablenet
    description " Match User Agent"
    description " Match User Agent"
    header-field 1 user-agent contain "AU-MIC"
    header-field 2 user-agent contain "AUDIOVOX"
    header-field 3 user-agent contain "Alcatel"
    header-field 4 user-agent contain "BlackBerry"
    header-field 5 user-agent contain "Blazer"
    header-field 6 user-agent contain "Danger\ hiptop"
    header-field 6 user-agent contain "DoCoMo"
    header-field 7 user-agent contain "Ericsson"
    header-field 8 user-agent contain "Googlebot-Mobile"
    header-field 9 user-agent contain "Handheld"
    header-field 10 user-agent contain "Klondike"
    content Test_L5_http-header
    vip address 192.168.1.10
    header-field-rule Usablenet
    protocol tcp
    port 80
    url "/*"
    add service mobile_redirect
    active
    service mobile_redirect
    keepalive type none
    type redirect
    no prepend-http
    domain "http://mobile.com"
    active

    Syed,
    We have 5 L5 rules on this VIP currently, I'm thinking adding 30 more rules will affect the response times.
    Our other alternative is to do the redirect on the web server.
    Thanks, for the quick reply.
    -Pat

  • CSS: MSISDN Header Fields used in header and adv-lb cmd

    Hi Folks,
    I have checked the docs to see if the CSS will specifically use header fields in HTTP when it is configured with advanced-blanced wap-msisdn in the content config or the msisdn field in the header-field config. Or does it match with any header which has MSISDN in the entire field?
    BR
    Alan

    Using an HTTP header field group in a Layer 5 content rule enables a rule to be more specific than if the rule just defined a URL. The HTTP header field group makes the content match more specific. Because content rules are hierarchical, if a request for content matches more than one rule, the characteristics of the most specific rule apply to the flow. This hierarchy for Layer 5 rules is defined below. The CSS uses this order of precedence to process requests for the content, with 1 being the highest match and 4 being the lowest match.
    Domain name, IP address, protocol, port, URL, HTTP header field group
    IP address, protocol, port, URL, HTTP header field group
    Domain name, protocol, port, URL, HTTP header field group
    Protocol, port, URL, HTTP header field group

  • How to add a user defined HTTP header field?

    Hi, everyone!
    I want to add a user defined HTTP header field to a HTTP
    response header.
    I use the following statements in testHeader.jsp
    response.addHeader("myheader", "123");
    response.sendRedirect("middleHeader.jsp");
    in middleHeader.jsp,
    out.print(request.getHeader("myheader"));
    But the output in middleHeader.jsp is null!
    How to add a user defined HTTP header field to a HTTP
    response header? Are there some sample codes?
    Cheers,
    George

    the send redirect actually creates a new request (through the client) and thus a new response
    thus the headers you set in the response are gone for the next request/response
    You can try servletDispatcher.forward

  • HTTP Header fields in SOAP adapter - Part 2

    Hi All,
    With regards to my previous thread HTTP Header fields in SOAP adapter
    my header issue is solved and hence I have closed the thread but still I am not able to make the connection successful. The new problem is below
    My vendor requirement is to specify the header as "Ent-sender" but when we give the same in XI in communication channel it automatically convets into uppercase "ENT-SENDER".  Due to case-sensitive in vendor server the connection is not gettingestablished.
    Please help me out how to solve the problem.
    <b>Note:</b> Sorry for the new thread as it was created due to new problem and also the previuos thread is already too long.
    Regards,
    Dhill

    Hi Neaves,
      Thank you, I jave seen the note and find the below solution will be some what realated to my prblem.
    <u><b>The nosoap mode lets the adapter send the XI payload directly without wrapping it in the SOAP envelope. Although the main use of this mode is to send some plain text content directly to some web server, one can use this mode to send their own SOAP message (e.g., with arbitrary headers) to an external web service (See related questions). In this case, the XI payload must be formatted in the SOAP envelope.
               To use the nosoap mode, the channel must be configured to use no SOAP envelope.</b></u>
    If yes, can you please let me know how to use nosoap mode otherise let me the other possibilities.  I am already using tcpg2.zip to trace the SOAP adapter in which it was confirmed that XI is changing the header automatically into CAPS whatever case we give,
    Regards,
    Dhill

  • HTTP adapter header fields

    Hai All,
       Is there any option to add header fields dynamically in the HTTp adapter header fields?
    I am doing a file to HTTp scenario.In this i have to pick a file using file adapter and add some header values(header values are both static and dynamic)and using HTTP adapter place it at a target URL.Is it possible to avoid  mapping since there is only picking up of file and adding some headers to it.I can see header fields in the HTTP reseiver adapter.Can i use these to add the static and dynamiuc header fields.specifically i have two questions.
    1)I want to include the source file name which is DYNAMIC as a field in the header fields in the target payload.How can this be achieved?Should i go for mapping and write a UDF for the same or is there any option to add dynamic values in the HTTP receiver adapter header fields?
    2)what are these header fields for?
    Can somebody explain it to me.I have gone through the Blogs like http receiver adapter configuration etc..would be of great help if anybody could explain it to me in detail.

    Thanks for the replies but my question is still un answered.please guide me on how to proceed?
    I am going to send a txt file.On top of the contents of the file i want these headers to be attached
    In the header fields of HTTP receiver adapter configuration can i give the following format?
    Header           Value
    AS2 from:    hgdfdjfhd
    AS2 to:        fhdfjdfdfnd
    subject:       hdsjdhsdsd
    will it appear in the target file as
    AS2 from:    hgdfdjfhd
    AS2 to:        fhdfjdfdfnd
    subject:       hdsjdhsdsd
    //file content starts here
    dsgdsjfgdsfggf
    hfdjhfdhfdjfdfhhdsfh
    hgdsjfgdsjfgdfdgfdg
    gfdsahdgsdfdgfgdsg
    what is to be done for acheiving this kind of target file?
    "If you choose to use HTTP Header fields then you can enter Field1 to Field 6 values. This will be embeded into the HTTP request as HeaderFieldOne and so on."
    can this HeaderFieldOne to HeaderFieldsix be populated with any valueslike
    AS2 from: ggdhfsdf and all?
    please help me out.

  • Hoiw do I get HTTP Header fields?

    Hi,
    I want to get the http header field If-None-Match. How do I get a hold of the HTTP headers for a request? I do not want to use If-Modified-Since due the the problems with out of synchronized clocks, determining time zones etc.
    The content is in a BLOB, and I don't want to deliver it at all if not necessary. OWA_CACHE does not help, it still delivers the large amount of data.
    I can set the ETag header, no problem, but how do I get theIf-None-Match header field returned from the browser so I can avoid unnecessary content delivery?
    Thanks,
    Larry

    Is there a mod_plsql forum?
    I can't seem to find it, this looked the closest since I am under the impression HTMLDB depends on mod_plsql...
    Larry

  • Header Fields in HTTP Adapter

    Hi,
    Can anyone please explain meaning of "Header fields in HTTP adapter" ? It has "Name" and "Value" fields in the receiver HTTP channel.
    If I enter values like:
    Name                         Value
    Source                        XYZ
    Destination                  ABC
    Where will these appear in outbound HTTP post ?
    Also, is this different from "HTTP Header Fields" checkbox available in "Adapter specific message attributes" section ?
    Thanks
    Bhaven

    > Also, is this different from "HTTP Header Fields" checkbox available in "Adapter specific message attributes" section ?
    You use this, when you want to have dynamic header fields. You put here a key, but instead of a value you put a parameter name, which can be filled with a value during mapping runtime.
    Regards
    Stefan

  • How to send a signed SOAP message with additional HTTP Header fields

    Our Partner's integration requirements are that we send them asynchronous SOAP messages, that are digitally signed, and whose HTTP headers contains 5 or 6 additional header fields, of which 3 or 4 will need to be dynamically set during the message mapping.  I believe we can use the HTTP adapter for adding new fields to the HTTP header, but don't believe it supports signing.  I believe that the SOAP adapter supports signing, but I'm not clear on how to use it to add fields to the HTTP header.  What is the most straight-forward way to achieve both the signing of the message and the addition of the HTTP header values?
    Thanks,
    Kurt

    >>>What is the most straight-forward way to achieve both the signing of the message and the addition of the HTTP header values?
    Use Java mapping for both.
    1) Signing the message
    You can digitally sign the soap message using many standard api like WSS4j? or  refer Java XML signature API which comes in Jdk1.6.
    Refer these links
    WSS4J  -  http://ws.apache.org/wss4j/axis.html
    Java XML signature : http://java.sun.com/developer/technicalArticles/xml/dig_signature_api/
    2) >>whose HTTP headers contains 5 or 6 additional header fields, of which 3 or 4 will need to be dynamically set during the message mapping
    Use Dynamic configuration API to set the additional header fields during message mapping.

  • Soap receiver - owerwrite default http header fields

    Hi,
    I'm using the soap receiver adapter in nosoap mode.
    How can I owerwrite the default settings for the header fields in the http request?
    The soap adapter will automatically set content-type = application/xml.
    I would like for example set "text/xml".
    Thanks,
    Bela

    Dear Mohan,
    I tryed with the keep headers option but it didn't change anything to the HTTP header fields.
    In the documentation we have the following : Keep Headers
    If you want to include the header of the XI message in the Web service message, set the indicator.
    Does it mean that I have to create a HTTP header section in the XI message??? Do you have an example?
    Best regards,
    Bela

  • Http Reciver Adapter Header fields

    Hi all,
    I have a requirement where the receiver is http adapter. I have some fields/structure to be added to the http request. One way i know is to generate entire envelope in the map and then send as request having header and body both.
    Is there any option in com channel to be used to populate the header fields. I can see "Define Header fields" but do not know how to use it.
    Any help will be really appriciated.
    Thanks
    -Kulwant

    Hi Kulwant,
    > Is there any option in com channel to be used to populate the header fields. I can see "Define Header fields" but do not know how to use it.
    Yes, You can easily populate Header fields in mapping using dynamic configuration. For more details, refer to /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping .
    Regards,
    Sunil Chandra

  • REG : HTTP header fields (Synchronous response)

    Hi All,
             Can anyone please explain the advantage of using this function in the receiver HTTP adapter( ie
    "Set adapter specific message attribute -> HTTP header fields (Synchronous response)")
    and how this can be implemented?
    Thanks in Adavnce,
    Siva

    >
    sivarama krishna wrote:
    > Hi All,
    >
    >          Can anyone please explain the advantage of using this function in the receiver HTTP adapter( ie
    > "Set adapter specific message attribute -> HTTP header fields (Synchronous response)")
    >  and how this can be implemented?
    >
    >
    >
    > Thanks in Adavnce,
    > Siva
    from help:
    If you want to save HTTP header fields from the synchronous response in the XI message header, choose HTTP Header Fields (Synchronous Response) and enter the fields in the fields Field 1 to Field 6.
    The fields must have the same names as the fields that are also to be sent in the HTTP response.
    The technical names of the fields are HeaderFieldOne,...,HeaderFieldSix.
    this means that in case you look to access the header of the response message of a sync http you can use this ASMA.
    the implementation will be in your response mapping, using dynamic configuration - /people/shabarish.vijayakumar/blog/2009/03/26/dynamic-configuration-vs-variable-substitution--the-ultimate-battle-for-the-file-name

  • Header Fields not picked in Http Adapter

    Hi ,
    I am sending a few custom header fields that have been set up in the HTTP adapter but for some reason they are not picked.
    Any suggestions..
    -Teresa

    Thanks Sameer,
      This note did help us pick up the header fields but on picking up it returns the header fields in lower case instead of the case Sensitive format I sent it in ..I looked at the trace log too and its in case sensitive format but when my 3rd party receives it, it is in lower case format...funny even the <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
    is also in lowercase..I am running XI 3.0 SP4..Is it an XI issue or something to do with my integration server which processes my HTTP adapter??? Or any other notes also needs to be applied??
    Please help..
    Trace level="1" type="T">---- Plain HTTP Adapter Outbound----</Trace>
      <Trace level="1" type="T">----
    </Trace>
    - <Trace level="1" type="B" name="CL_HTTP_PLAIN_OUTBOUND-ENTER_PLSRV">
      <Trace level="3" type="T">Quality of Service EO</Trace>
      <Trace level="1" type="T">Get XML-Dokument from the Message-Objekt</Trace>
      <Trace level="3" type="T">URL http://xkqbdev.ampton.net:50080/abc/Web/servlet/XMLChannelServlet</Trace>
      <Trace level="3" type="T">Proxy Host: 10.69.14.98</Trace>
      <Trace level="3" type="T">Proxy Service: 80</Trace>
      <Trace level="3" type="T">Authorization: Basic NDQ0NDQ0NDQ0OjQ0NDQ0NDQ0NA==</Trace>
      <Trace level="3" type="T">~request_method POST</Trace>
      <Trace level="3" type="T">~server_protocol HTTP/1.0</Trace>
      <Trace level="3" type="T">accept: /</Trace>
      <Trace level="3" type="T">content-type: text/xml</Trace>
      <Trace level="3" type="T">Header-Fields</Trace>
      <Trace level="3" type="T">X-Extricity-Sender-ID 444444444</Trace>
      <Trace level="3" type="T">X-Extricity-BO-Type-ID http://xml.cXML.org/schemas/cXML/1.2.011/cXML.dtd</Trace>
      <Trace level="3" type="T">Prolog conversion Codepage: UTF-8</Trace>
      <Trace level="3" type="T">Epilog conversion Codepage: UTF-8</Trace>
      <Trace level="3" type="T">content-length 3023</Trace>
      <Trace level="2" type="T">HTTP-Response :</Trace>
      <Trace level="2" type="T">Code : 500</Trace>
      <Trace level="2" type="T">Reason: Internal Server Error</Trace>
      <Trace level="2" type="T">Code : 500</Trace>
      <Trace level="2" type="T">Reason: Internal Server Error</Trace>
      </Trace>
      </Trace>
    -Teresa

Maybe you are looking for

  • Wondering about staff...

    hey u guys...i just wanna know something...i have an iphone 3gs ...and i was wondering..wat new i will get if i install the new OS 4.1....i mean most of the important staff is for iphone4...foe examplw will the "HDR photography" works with me"iphone

  • Can't Open Tutorial.jpr file

    Folks, This may sound silly but I am ecountering this issue.I am trying to open the seeded "Tutorial.jpr" (tutorial file) file from jDeveloper. I have completed the setup steps. When I open the C:\jdeveloper\jdevhome\jdev\myprojects directory from wi

  • Where did my photo go? Is it gone? (iPhone 6; iOS 8)

    I took a photo on my iPhone 6 and when I went to look at it in the Photos app, it wasn't there. Yet, the picture I took shows up as a thumbnail of the last photo I took when in the camera app. Is it a programming error? Any suggestions on getting the

  • Start a program with a signal from serial port

    Hi, my program need to continue when it's gets a signal from the serial port, I've understand that i need to use Java Communications 3.0 API. couldn't install it. when i import, in my program, javax.comm.* it can't be resolve. thank for eny help..:-)

  • 10.4.4 Download fails to install!

    Hello All, As a long time Mac user I have always had help available (at work) when problems arose. Now retired, these resources are not available. I recently installed Tiger (which I bought from the Apple reseller store) on my G4 iMac (previously run