With the help of mod_wl_ohs: path of rewriting Cookie in the Set-Cookie headers

Hi all

I have set up a reverse proxy with OHS, set mainly in the "mod_wl_ohs.conf", and - as we also use encrypted connections - in a file 'ssl.conf '.

The reverse proxy points to two different applications, each of which has a root context and are hosted on weblogic servers. Two applications are available via the reverse proxy.

But the two application also want and need to put a cookie "JSESSIONID" name and path "/".

We have a use case in which jump between the two applications in the same browser window, because an application charge of it in an iFrame.

In this case cookies overwrite each other, we want to avoid.

I want the reverse proxy to rewrite the path in the Set-Cookie header for each application. The application should not know and who care. That is why the reverse proxy must manage cookies completely.

Change the name of the cookie and/or the path in the application is NOT an option unfortunately.

When I take a glance to permit guidelines in mod_wl_ohs, I can't find anything regarding the path in the rewrite Set-Cookie header.
But I know that there is the Apache ProxyPassReverseCookiePathdirective.

Unfortunately it is unclear if I insert it somewhere in the mod_wl_ohs configuration file. I also tried several combinations in the dist and httpd.conf file.

So the question is:

How to let the reverse proxy rewrite the path in the Set-Cookie header, while using mod_wl_ohs?

Is it possible to use the ProxyPassReverseCookiePath directive?

My mod_wl_ohs.conf file:

# NOTE: This is a model of configuration mod_weblogic.

LoadModule weblogic_module "${PRODUCT_HOME}/modules/mod_wl_ohs.so".

# This empty block is needed to save mod_wl configuration related to EM to this file, when changes are made at the level of the Basic virtual host

< IfModule weblogic_module >

< /app1 location >

Hostname WebLogicHost

Port of WebLogicPort

#ProxyPassReverseCookiePath / /app1/

WLSRequest WE

WLProxySSL WE

Proxysecurise WE

WLProxySSLPassThrough WE

WLProxyPassThrough WE

JSESSIONID WLCookieName

Header Proxy RequestHeader Set 'CDRPROXY '.

RequestHeader Set Proxy-cipher '% {SSL_CIPHER} e '.

RequestHeader Set '% {SSL_CIPHER_USEKEYSIZE} e' Proxy-Keysize

RequestHeader Set Proxy-Secret-Keysize '% {SSL_CIPHER_USEKEYSIZE} e '.

RequestHeader Set Proxy-ssl-id '% {SSL_SESSION_ID} e '.

RequestHeader Set Proxy-issuer-dn '% {SSL_CLIENT_I_DN} e '.

RequestHeader Set Proxy-user-dn '% {SSL_CLIENT_S_DN} e '.

RequestHeader Set Proxy-Client-Cert '% {SSL_CLIENT_CERT} e '.

WLSSLWallet "${ORACLE_INSTANCE} / config/fmwconfig/components / ${COMPONENT_TYPE} / instances / $ {name of} component/keystore/machine.

SetHandler weblogic-Manager

WE idempotent

Debug OFF

DebugConfigInfo OFF

< / location >

< /app2 location >

WebLogicHost hostname2

WebLogicPort port2

#ProxyPassReverseCookiePath / /app2/

WLSRequest WE

WLProxySSL WE

Proxysecurise WE

WLProxySSLPassThrough WE

WLProxyPassThrough WE

JSESSIONID WLCookieName

Header Proxy RequestHeader Set 'CDRPROXY '.

RequestHeader Set Proxy-cipher '% {SSL_CIPHER} e '.

RequestHeader Set '% {SSL_CIPHER_USEKEYSIZE} e' Proxy-Keysize

RequestHeader Set Proxy-Secret-Keysize '% {SSL_CIPHER_USEKEYSIZE} e '.

RequestHeader Set Proxy-ssl-id '% {SSL_SESSION_ID} e '.

RequestHeader Set Proxy-issuer-dn '% {SSL_CLIENT_I_DN} e '.

RequestHeader Set Proxy-user-dn '% {SSL_CLIENT_S_DN} e '.

RequestHeader Set Proxy-Client-Cert '% {SSL_CLIENT_CERT} e '.

WLSSLWallet "${ORACLE_INSTANCE} / config/fmwconfig/components / ${COMPONENT_TYPE} / instances / $ {name of} component/keystore/machine.

SetHandler weblogic-Manager

WE idempotent

Debug OFF

DebugConfigInfo OFF

< / location >

< / IfModule >

My fichier.conf:

###################################################################

# Mod_ossl oracle HTTP Server configuration file: ssl.conf #.

###################################################################

# Directive the Listen below has a comment which is used at the SST time to provisioning.

# The comment can be removed from the file in an instance of OSH, but * NOT * DO delete the comment to $PRODUCT_HOME/templates/conf/ssl.conf

Listen {SSL_PORT} #OHS_SSL_PORT

< IfModule ossl_module >

##

# Context Global SSL

##

# All SSL configuration in this context applies as well to

# the main server and all the virtual hosts SSL active.

##

# Some MIME types for the certificates and the CRL download

AddType application/xxxxxxx .crt

AddType application/xxxxxxx .crl

# Pass the expression dialog box:

# Configure the password collection process.

# Filtering dialog box program ("builtin" is an internal

terminal dialog box #) must provide the password on stdout.

SSLPassPhraseDialog builtin

# Inter-process Session Cache:

# The SSL Session Cache configuration: first the mechanism

# to use and the second the time-out (in seconds).

SSLSessionCache "shmcb:/usr/local/lamp/httpd-2.2.8/logs/ssl_scache(512000): ${ORACLE_INSTANCE} /servers/$ {COMPONENT_NAME} / logs/ssl_scache (512000).

SSLSessionCacheTimeout 300

# Semaphore:

# Configure the path to the mutual exclusion semaphore the

# SSL engine uses internally for inter-process synchronization.

< IfModule mpm_linux_module >

SSLMutex "Shem".

< / IfModule >

< IfModule mpm_winnt_module >

SSLMutex "none."

< / IfModule >

< IfModule! mpm_winnt_module >

SSLMutex pthread

< / IfModule >

# Disable SSL renegotiation

SSLInsecureRenegotiation off

#Disable FIPS

SSLFIPS off

# SSL Debug

SSLTraceLogLevel debug

##

# SSL virtual host context

##

< VirtualHost *:{SSL_PORT}> #OHS_SSL_VH

< IfModule ossl_module >

# The SSL engine switch:

# Enable/disable SSL for this virtual host.

SSLEngine on

# Headers before, included CertData

SSLOptions + StdEnvVars + ExportCertData

# The authentication of the client (Type):

# Client certificate verification type and depth.  The types are

# No, optional and require.

SSLVerifyClient no

# SSL protocol support:

# List of the supported protocols.

SSLProtocol nzos_Version_1_2 nzos_Version_1_1 nzos_Version_1_0

# Suite of SSL encryption:

# List of encryption algorithms that the client is authorized to negotiate.

SSLCipherSuite XXXXXXXXXXXXX

# Valid are on and outside

SSLCRLCheck off

#Path in the portfolio

SSLWallet "${ORACLE_INSTANCE} / config/fmwconfig/components / ${COMPONENT_TYPE} / instances / $ {name of} component/keystore/identity.

< FilesMatch "------." (cgi | shtml | phtml | php) $">"

SSLOptions + StdEnvVars

< / FilesMatch >

< directory "${ORACLE_INSTANCE} / config/fmwconfig/components / ${COMPONENT_TYPE} / instances / $ {name of the component} / cgi - bin" > ".

SSLOptions + StdEnvVars

< / Book >

BrowserMatch "MSIE [2-5]".

nokeepalive ssl-unclean-shutdown.

downgrade - 1.0 force-response - 1.0

< / IfModule >

< / VirtualHost >

< / IfModule >

> I guess that iRAV: directives in the Apache Module mode_headers

Yes, course :))

Tags: Fusion Middleware

Similar Questions

  • Problem with the 'Set Up' for CS4 application

    Still no luck - I'm on a mac under OS 10.9.5 and I'll have an iEdition with the 'Set Up' app for the teacher/student CS4 version: I had to reinstall my CS4 Design premium. The trouble begins after I click the app Set Up - I get to the section "installing applications" of the process, but then window in Set Up will not let me scroll down to select applications to install InDesign, Photo shop etc. If I try to start checking the boxes, the installation process seems just to stall and no progress bar appears. When I select 2 boxes of application as a test, I get a msg of error "Setup error". I have both version CS4 I bought the disc and the downloaded version that the cat office sent me too and the error occurs on two versions of the Set Up. I hope someone can help because I need this software pkg working again as soon as possible. TKS

    Too old for Adobe to support and I'm not Mac

    kglad links in response to #1 here https://forums.adobe.com/thread/2017859 can help try another download

  • When I try to open e-mail files a small box opens with the setting or the input string was not good format

    original title: windows live suit

    When I try to open e-mail files a small box opens with the setting or the input string was not good format

    Windows Live Solution Center
    http://windowslivehelp.com/

  • Problems with the layouts and headers

    Hi I'm a newbie, trying to page layouts, I have 2 questions. I would be grateful for any help or pointers to tutorials.

    (1) I have problems with the links at the top of my page. They are text based and in a table of 2 rank. They have a huge ditch around them and no matter what I do I cannot resize the table or change the text to be less than a gap below it. Basically I have a huge gap between my links at the top of the page and the main logo and the main logo below. (and I think they are related as the h1 which I don't want that they're not really the header only links). Here's the code for that.

    <table width="740"  border="0" align="center" cellpadding="0" cellspacing="0" class="HeaderLogoButton">
          <tr align="center" valign="top">
            <td width="288" height="48"><h1><br /><br />
            </h1></td>
            <td width="452" height="25"><!-- TemplateBeginEditable name="HeaderLinks" --><span class="TextButtons"><a href="../index.html" class="TextButtons">Home</a>      <a href="../featured.html" class="TextButtons">Featured Company</a>      <a href="../youngpeople.html" class="TextButtons">Young People</a>      <a href="../andmore.html" class="TextButtons">And More</a>     </span><span class="TextButtons"> <a href="../blog.html" class="TextButtons">Blog  </a></span><!-- TemplateEndEditable --> </td>
          </tr>
          <tr>
            <th height="48" align="left"><a href="index.html" title="My Site Title"><img src="../images/My Site_logo.png" alt="My Site Logo" width="245" height="46" border="0" align="left" /></a></th>
            <td align="right" valign="top"><!-- TemplateBeginEditable name="HeaderButtons" --><img src="../images/facebook.png" alt="FaceBook Button" width="36" height="36" align="top" /> <img src="../images/twitter.png" alt="Twitter Button" width="36" height="36" align="top" /><img src="../images/blogbutton.png" alt="Blog Button" width="49" height="47" align="top" />  <!-- TemplateEndEditable --></td>
          </tr>
        </table>
    

    (2) my second question with headers in general. As you can see in the code I have a "My Site_logo.png', as the main logo for the site, what concerns me is pointing to it as the main h1 header so that when the spiders come to visit, either by the additional logo or html, they read that the site is called"My Site"the main header. How can I make the logo/title of the h1 of the code section? I'm afraid of making a mess of the code at this point, so any help is very appreciated!

    Thanks in advance

    evilJim wrote:

    Hi I'm a newbie, trying to page layouts, I have 2 questions. I would be grateful for any help or pointers to tutorials.

    (1) I have problems with the links at the top of my page. They are text based and in a table of 2 rank. They have a huge ditch around them and no matter what I do I cannot resize the table or change the text to be less than a gap below it. Basically I have a huge gap between my links at the top of the page and the main logo and the main logo below. (and I think they are related as the h1 which I don't want that they're not really the header only links). Here's the code for that.

    In the first cell of the table, you have a tag h1 (header tag) (see below), in this tag you inserted two break tags
    by pressing return on your keyboard twice. These breaks are reduced the height of the first row of the table, that's why you have all the space under your links.



            

    evilJim wrote:

    (2) my second question with headers in general. As you can see in the code I have a "My Site_logo.png', as the main logo for the site, what concerns me is pointing to it as the main h1 header so that when the spiders come to visit, either by the additional logo or html, they read that the site is called"My Site"the main header. How can I make the logo/title of the h1 of the code section? I'm afraid of making a mess of the code at this point, so any help is very appreciated!

    Thanks in advance

    At the moment you have nothing apart from 2
    tags in your h1 tag (see above answer to your first quetsion.

    Purposes of search engine, you can encapsulate your image in an h1 tag and provide an overview of more descriptive than "My Site Logo" for the images 'alt' tag

    My Site Logo

  • I can't find the start page in Firefox with the Set Up synchronization link

    I try to get the synchronization on my android device code find all my favorites on my main computer to the tablet-PC. The directions on the Mozilla support site say "Type set up button on the start page for Firefox Firefox Sync." Well I can not for life on my find this button or start page for Firefox. Or perhaps is it? My tablet pc, when you use Firefox, does not all of this page with the said button.

    Firefox for Android the Sync promotion has been removed. You will need to use the button 3 or button menu device > select settings > sync

  • I have a problem with the setting screen.

    I moved my computer from one room to the other. The screen now goes beyond the edges of the visible screen. I use a Samsung TV via the HDMI interface. I have two screen resolution options and doesn't solve the problem. I need to adjust the size of the screen vertically and horizontally in a few cms. TV doesn't have this adjustment, but can change the picture widescreen 4:3 when I do this the edges of the screen are black and yet the visible part does not always show the edges of what needs to be displayed. I have no Menu bars without scroll bar.

    Go to your computer manufacturer's support web site and search for Windows 7 drivers for your specific model number.
    If there is no driver, your PC may not work correctly (No. LAN or WiFi, Audio, USB, etc.) after the installation of Windows 7.

    If there are Windows 7 drivers, then to download to a folder on your hard drive and install all of them, starting with the card drivers mother/chipset, LAN, Audio, USB, Graphics, SATA, Webcam, Etc., and so on.

    Graphics/video card drivers:
    Check the download site of the manufacture of the graphics card for the latest Windows 7 drivers for your card.
    ATI: http://support.amd.com/us/gpudownload/Pages/index.aspx
    NVIDIA: http://www.nvidia.com/Download/index.aspx?lang=en-us

    J W Stuart: http://www.pagestart.com

  • Problem is with the Set accessor of property

    I have a class inside a get/set property called IsSomethingCool of type Boolean. The Set accessor resembles this:

    private var _isSomethingCool:Boolean = false;

    public function set IsSomethingCool(value:Boolean)

    {

    _isSomethingCool = value;

    If (_isSomethingCool)

    coolStatusColor = 0 x 008000;    Green

    on the other

    coolStatusColor = 0xff0000;      Red

    trace ("this isn't");

    }

    Inside this class theres also a test function (): void which basically looks like this:

    public function Test (): Boolean

    {

    var result: Boolean = false;

    do a few tests to determine if the object is cool

    result set

    trace ("what's happening");

    IsSomethingCool = result;

    }

    This function will fire periodically every second or two and the wird thing is instruction trace Test function fires every time, the function of trace inside the Set accessor of property don't shoot any. Lol I ve been doing flex/as3 for 2-3 years now and I just feel like a donkey atm how is this possible?

    Well, I found the solution. If the property (or class and therefore property) is set to bindable, the setter is ignored IF the value passed in is the same as it is already. Found a good explanation and the solution here: http://nwebb.co.uk/blog/?p=227

  • Can someone help me with the set up for skydrive file sharing?

    In my photo app I am developing the home section. He told me to right click on SkyDrive in the bar tasks, select settings and check "Allow me to share all files with this pc" is turned on. It is, but when I try and access the photos app hosting I still get the same message. Can someone help me set this or tell me if I do something wrong?

    Sharing of the checkbox in the settings of SkyDrive is not related to the photos somehow app.

    Sharing checkbox in the settings of SkyDrive, it's what allows you to go to another computer (such as your office or library) and then go to skydrive.com to access the files on your computer.

  • Need help with the set of breaking records showing

    Hi all

    I have a situation, as display a set of data with limits (as the end number of the cheque check number) at once, if the records in the table are in order. If there is break in the sequence, just above the check at the end number check number gets split upward according to the number of break.

    Example:

    /**********************************************************************/
    case 1:

    Cheque_Number Cheque_Date Cheque_Amount

    1 5000 15 - Sep - 2011
    2 5000 16 - Sep - 2011
    3 5000 17 - Sep - 2011
    4 5000 18 - Sep - 2011
    5 5000 19 - Sep - 2011
    6 5000 20 - Sep - 2011
    7 5000 21 - Sep - 2011
    8 5000 22 - Sep - 2011
    9 5000 23 - Sep - 2011
    10 5000 24 - Sep - 2011

    Result of the query should be like,

    Total amount recompemnse using check number from 1 to 10 is of RS. 50 000 / -.

    /**********************************************************************/

    2nd case:

    Cheque_Number Cheque_Date Cheque_Amount

    1 5000 15 - Sep - 2011
    2 5000 16 - Sep - 2011
    3 5000 17 - Sep - 2011
    4 5000 18 - Sep - 2011
    10-19 - Sep - 2011 5000
    11 5000 20 - Sep - 2011
    12 5000 21 - Sep - 2011
    52 5000 22 - Sep - 2011
    53 23 - Sep - 2011 5000
    54-24 - Sep - 2011 5000

    Result of the query should be like,

    Total amount recompemnse using check number from 1 to 4 East of 20,000 rupees.

    Total amount recompemnse using check number from 10 to 12 is 15 000 rupees.

    Total amount recompemnse using cheque number 52 to 54 East of RS. 15 000 / -.

    /**********************************************************************/

    case 1, I am able to achieve, but the second I couldn't.

    Please help me in this.

    Kind regards
    Arumugam

    SELECT bank_code, (chq_no), MAX (chq_no), MIN MIN (chq_dt), MAX (chq_dt),
    SUM (sum)
    FROM (SELECT bank_code, chq_no, chq_dt, amount,
    MAX (marker) OVER (PARTITION BY bank_code ORDER BY chq_no)
    marker
    FROM (SELECT bank_code, chq_no, chq_dt, amount,
    CASE
    WHEN ROW_NUMBER () OVER (PARTITION BY bank_code ORDER BY chq_no) =
    1
    THEN 1
    WHEN chq_no
    -LAG (chq_no) OVER (PARTITION BY bank_code ORDER BY chq_no) >
    1
    OR MONTHS_BETWEEN
    (chq_dt,
    LAG (chq_dt) OVER (PARTITION BY bank_code ORDER BY chq_no)
    ) > 1
    THEN ROW_NUMBER () OVER (PARTITION BY bank_code ORDER BY chq_no)
    END marker
    OF knm_test))
    GROUP BY bank_code, marker
    ORDER BY 1, 2

  • Problem with the setting on Windows 7 Remote Desktop connection

    Former title: remote access

    Dear Forum,

    I had a problem trying to help a friend with problems of view (running Windows 7), I'm on Windows 10.  When I try to make the necessary connections on his laptop I do not get the options I see in the help videos.  Rather than get three options;

    • Do not allow connections to this computer
    • Allow the connection of computers running any version (less safe) remote access
    • That allow the connection of computers running Office remotely with network level authentication (more secure)

    I get the screen below and clicking on advanced not me these options either!  Can anyone help?

    Thank you

    Stuart AV

    Hi Stuart,

    Please contact Microsoft Community.

    For better support and advice in this regard, I suggest post you your request in The Forums TechNetsupport. Hope they help you accordingly.

    I appreciate your cooperation in this regard.

    Let us know if you need assistance.

  • Differences with the setting 'Multicolumn Listbox' palette 'Silver' and the 'modern Palette.

    Hello.

    While I was working with these controls in a user interface, I found a strange behaviour between these two controls. Basically the 'Multi-column Listbox' control 'palette of money", which represents a 'table 2D', it appears always initialized with a null value in the first column and line 6, on the contrary that the 'multi-column listbox' control in the 'modern' palette appears not initialized.

    Is this a normal behavior?

    Kind regards...

    Hi Jonathan,.

    It has been reported previously in R & D as 382668 of the CAR. It is always present in LabVIEW 2012 SP1, but it has been assessed to be fixed in future versions of LabVIEW. Thanks for reporting it!

    Kind regards

    Jeff Peacock

    Product Support Engineer | LabVIEW R & D | National Instruments

  • Why Microsoft Security essenctials does not work with the set of parameters

    Microsoft Security Essenctials going to run a full scan at a specific time, and still is not, why?

    Is your computer in mode 'sleep' when the scheduled scan?  If so, that would be the reason the scan works.  There is a discussion about this and some methods to deal with: http://answers.microsoft.com/en-us/protect/forum/mse-protect_scanning/hibernating-laptop-and-scheduled-scan-not-starting/a848b902-dd6c-45ce-a472-c90ce400ec84

    There are a large number of other MSE sleep related discussions to the next search: http://answers.microsoft.com/en-us/Search/Search?SearchTerm=security+essentials+sleep&CurrentScope.ForumName=Protect&CurrentScope.Filter=&askingquestion=false

  • Screen resolution with the setting of the screen 2 - too

    I have 2 screens configuration to work. They are of the same brand and product.

    A screen is very good - readable and good size. It is defined as 1440 x 900. The other is too big. It is set at 1280 x 720, which is still too big, and you lose your title bars at the top and bottom of the screen.

    If I go into resolution display it shows that it is recommended in 1920 x 1080, which is too small to read, but the title etc bars always set too low on the screen that you can not access it. You have only these two options. I can't put on the same scale as the first (1440 x 900)

    How to make it smaller so I can access the bars at the top and bottom of the page.

    It is extremely annoying and I had to go back to move everything on the screen to spare. I missed something obvious?

    Windows 8

    Samsung screens

    Help!

    Hello

    Thank you for your valuable response.

    High-Definition Multimedia Interface (HDMI) and Video Graphics Array (VGA) are two standards for the transmission of video signals. HDMI is used mainly for TVs and other audio-visual equipment, while VGA is mostly used for computers. Connect a new monitor display or high-definition computer presents a picture that can be confusing to options. Representative analog and digital connectivity that the analog VGA and HDMI signals are digital. VGA and HDMI connections allow different levels of functionality and compatibility. The cable you choose for your application based on the struggling unit source and monitor, a need for cables as little as possible, or if some material resolutions are enabled on a single cable type or the other.

    Considerations of image quality: VGA, also known as the D - Sub and HDMI are widely capable of the same level of video resolution. If your monitor has a resolution of 1920 by 1080 or longer, you will find that the entirely digital HDMI connection looks sharper and sharper. High definition Content Protocol restrictions can count HDMI extend advanced resolutions not allowed more analog VGA. Since the HDCP protection is activated more formats, like HDMI and analog wiring no hardware companies compensate by reducing the capacity of resolution unless the cable itself can handle. Check if your hardware is HDCP before selecting a VGA or HDMI interconnect network; That are in your literature of manual or a user for this information product. If so, you may be forced to use HDMI to unlock the potential of complete video performance of the material.

    As a result of the foregoing, I suggest you connect the VGA cable to the monitor 1 and check if the problem persists.

    The above information was hoping to get useful, please return it to us if you need additional assistance.

  • Problem with the setting session state variable...

    So, I try to understand the context of variables.

    I have a package with a few procedures that were hard coded so I decided to change some of them to use variables in them.

    I'm in APEX 4.1 g 11 backend.

    When I run:
    BEGIN
    APEX_UTIL.set_session_state('p_collection_var', 'STORAGE_TABLE');
    END
    I thought is a variable that would be accessible by:
    v('p_collection_var');
    in the package I have.
    ERR-1002 Unable to find item ID for item "p_collection_var" in application "4500".
    It seems that as the first code is not setting the variable. I'm not sure what I am doing wrong with that.

    Published by: bostonmacosx on November 27, 2012 15:36

    Hello

    You have a page or application P_COLLECTION_VAR in your application?
    You call APEX_UTIL. Procedure SET_SESSION_STATE and V session function valid apex?

    BTW, I think you still need to write the name of the element with capital letters.

    Kind regards
    Jari
    -----
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • How can I publish my .swf with the setting of the Flash Player 10.1?

    I just created an ad for the successful Placement of Google, and Google says they only support Flash Player 10.1. The option the lowest Flash Player for my version of Flash, I installed 10.3 is! What should I do?

    Sorry about that.  I do, may Flash Pro CC publish for flash player 9? Adobe Community

Maybe you are looking for