ACE match http url with post data

I need to make a layer-7 load balancing decision at the ACE module based on a URL string that includes form POST data. It is important that the balancing decision include and parse the part of the URL after the question mark. This doesn't seem to work with the "match http url" config on the ACE. My interpretation is that the ACE does not consider the POST data to be part of the URL string, and therefore does not include it in the regular expression matching. Am I missing something here, or have I run into a limitation of the ACE module?
class-map type http loadbalance match-any L7__URL_MATCH_CLASS
2 match http url index.php\?field=content.*

Hi
The '?' has a special meaning in the URL. It means the end of the main URL and the beginning of the URL query.
Its not possible to match ? in the url.
One option could be using secondary cookie matching in ACE.
class-map type http loadbalance match-any xyz
2 match http cookie secondary field cookie-value content
Thanks
Syed

Similar Messages

  • ACE Appliance HTTP Probe with "POST" query

    Does the ACE support HTTP Probe with a "POST" query?
    Thanks
    Joe

    Hi Joe,
    The ACE only supports GET and HEAD
    Here is the documentation related to this:
    http://www.cisco.com/en/US/customer/docs/interfaces_modules/services_modules/ace/vA5_1_0/configuration/slb/guide/probe.html#wp1031485
    Cesar R

  • Calling external URL with POST data

    Hi:
    In my action bean I have to call and external URL (outside my domain), and along with this URL 'POST' data. I have tried the following code:
    try {
    FacesContext lclFC = FacesContext.getCurrentInstance().getFacesContext();
    lclFC.getExternalContext().getRequestMap().put("x_loc_zip","94804");
    lclFC.getExternalContext().redirect("http://www.mysite.com/personals/search/search.html");
    } catch (IOException e) {
    throw new FacesException(e);
    finally {
    lclFC.responseComplete();
    This works fine in calling the other URL, but no data is sent thru the post protocol. I have no control to the site I am calling....
    I have also tried
    ExternalContext ectx = FacesContext.getInstance().getFacesContext().getExternalContext();
    HttpServletRequest request = (HttpServletRequest) ectx.getRequest();
    HttpServletResponse response = (HttpServletResponse) ectx.getResponse();
    RequestDispatcher dispatcher = request.getRequestDispatcher("http://www.mysite.com/personals/search/search.html");
                   dispatcher.forward(request, response);
    But this tends to put a "/" at the front of the called URL. Can someone please recoomed the coorect way to call a URL from yr action bean and sending it data thru post protocol. I also wish that this new URL should now be displayed within the browser. This is urgent, yr quick reply is appreciated

    Myfaces sandbox form gives the ability to change its action url and port. Look here:
    http://myfaces.apache.org/sandbox/form.html

  • Cisco ACE - Exempt HTTP URL from SSL Offloading

    Hi,
    I have a cisco ACE module A2 (3.6). I am offloading url www.abc.com on cisco ACE. HTTP redirection to https is working & over https I am able to browse website perfectly. real servers are redirecting some pages over http.  Due to page redirection from webserver I have to exempt one URL (http://www.abc.com/modules/docs/abc.aspx) from ssl offloading. It is possible or as a work around i have to rewrite complete url www.abc.com as ssl port.
    Your inputs highly appreciated.
    Regards,

    Hi Masif,
    In case you have not gotten assistance with this one, you just need to specify the specific URL and match it on top of the loadbalance policy that is already doing the redirection.
    class-map type http loadbalance match-any No-Redirect
      2 match http url /docs/abc.aspx
    policy-map type loadbalance first-match ABC
      class No-Redirect
        serverfarm HTTP-Servers
      class class-default
        serverfarm Redirect
    Hope this helps.
    Pablo 

  • How to changes baseline date in miro with Posting date

    Please tell me the procedure to change the baseline date in miro with posting date (EKBE-BUdat) on basis of  Purchase order No (EBELN) .
    I tried it by using user exit :-EXIT_SAPLKONT_011  Enhancement : LMR1M002 but got stuck somewhere .Please tell me how to work on this .

    hey guys my problem is solved by using a badi  " MRM_PAYMENT_TERMS" .In method "PAYMENT_TERMS_SET" writing the code .

  • Exchange rate not updated with posting date, translation date updated

    Hi,
    I have the follwoing problem in F110. Currency documents are posted with exchange date of the docuemnt entry date. Translation date is updated with Posting date, just exchange rate is not updated. the systems calculates according entry date. Why entry date is one day before the date of posting, I cannot understand. The system takes the exchage date from entry date, which is one day before (docuemnt, posting and translation date)
    Thank you,
    Desimira

    Hello,
    This means, that the exhange rate is missing your local currency vs USD in the system. Your Business Partner or any of items you are adding to the invoice is using USD (price list or customer is in USD).
    My tip is some of the items has USD price set or USD Purchase price used.
    DO the following:
    Check the POsting date of your invoice
    Go to Administration -> Exhnage rate, and locate the posting date and USD from the matrix, and enter the rate.
    Post your invoice.
    it will work
    Regards
    János.

  • Inventory: Movement after count with post date before the count date.

    Hi,
    We have stock movements all the days of the week.
    We conduct physical inventories on Sunday mornings. There are not stock movements on Sunday mornings (stock movements on Sunday starts at night).
    Usually we create the SAP Physical Inventory Document on Fridays, assigning Saturday as the Planned Count Date.
    We enter the SAP Physical Inventory Count on Sunday (at the end of the count) or on Monday.
    How you recommend us to use SAPu2019s Physical Inventory feature in order to calculate the Book Inventory considering all stock movements with posting date less than or equal to Saturday?
    Please, suggest us a solution that If we register a movement after we enter the count but with post date before the count date (and the count is not posted yet), the Book inventory is modified accordingly.
    Thanks in advance for your support!!

    SAP takes the book inventory in the moment you enter the count.
    Best you set  block movements , this block will be removed automatically when you enter the count. So you can prevent users from posting until you have entered the count.
    If you set the freeze book inventory, then SAP takes the book inventory in the moment you create the document.
    This is not a good way if you still have movements after inventory document creation and actual count.
    You have to make sure - organisational  wise, outside SAP - that all movements that happened before inventory count  are posted before you start entering the count. There is nothing in SAP that can help you in this case.

  • How to Record HTTP Requests and POST data

    Hai all..
    Can anyone help me to solve this issue..
    How to Record HTTP Requests and POST data by using java..
    regards
    Ranjith Nair

    You should read about TCP and splitting data stream into packets and learn how to understand packet header to assemble stream from packets.
    Actually there are few different stages:
    1. detect handshake to start new empty stream within your code;
    2. detect subsequent packets and assemble stream (there are counters within packet header and they will help).
    After creating start of TCP stream (usually 1KB is enough) you'll be able to detect is it HTTP request/header or no and start logging or ignoring packets for this connection.

  • ABAP WebDynpro: Call a URL with POST-parameters?

    Hi all,
    I want to call a URL from an ABAP WD method with additional data. I know that this is simply possible via the Window Manager, passing a URL. Adding additional parameters inside the URL is of course also possible using "&" and "?" separators.
    Is it somehow possible to call such a URL out of WebDynpro with additional POST data (e.g. an XML datastream)?
    Best regards.
    Alexander

    Hi Alex.,
    As u said that u know how to call URL and pass parameters using window manager., and i am not sure about XML data stream.!!
    I can advise u to post ur thread here: [Web Dynpro ABAP Forum|Web Dynpro ABAP;
    U will get some useful inputs..
    Thanks & Regards
    Kiran

  • Accessing Java webservice (XML over http) via WCF or HTTP adapter with content-type and authorization HTTP headers with POST method

    Hi Team,
    I need to access Java web service which is simple service and accepts and returns XML over HTTP. No credentials are needed to access the service. We need to pass following two HTTP headers (Content-Type and Authorization) along with XML request message:
    <GetStatus> message is being constructed in the orchestration and URI is constant to access.
    Which adapter shall I use to get the response back? I tried using WCF-WSHttp with Security Mode = Transport, and different options of client credential types but every time, error returned stating:
    System.Net.WebException:
    The HTTP request is unauthorized with client authentication scheme 'Basic'. The
    authentication header received from the server was 'Basic realm='.
    Authentication failed for principal Basic. Message payload is of type:
    String 
    In Fiddler, request looks line following
    POST <https://URL/GetServiceReopnse HTTP/1.1
    Content-Type: application/xml
    Authorization: Basic cmVmU3RhdHN2Y19kgeRfsdfs=
    Host: <Server name>
    <GetStatus XMLNS="http://server.com/.....">
    <OrgId>232323</OrgId>
    <HubId>3232342323</HubId>
    </GetStatus>
    MMK-007

    First, you should not use the HTTP Adapter because it's been deprecated and replaced by WCF.
    Start with the WCF-Custom Adapter and select the customBinding.
    You should start with the textMessageEncoder and httpTransport and go from there.

  • RE:Need data vendor no with posting date

    Hi All,
    one of my user requires the data of the GR report with vendor no and posting date data to analysis the batch job.kindly anyone can help me from were i can fletch the data i had tried in MKpf i can get the posting date data but when comes to vendor i can't able to get the data of the GR done for the particular vendor on the particular date.kindly help me out.
    Thanks in advance.

    HI,
    Why you are not using MB51 report ?
    Go to MB51
    Here enter Vendor ,Movement type 101 ,Posting date ( Plant ,material if you want )
    You will get all the desired data
    Edited by: redriver on Dec 22, 2011 12:12 PM

  • Issue with Posting Date in F.05 - Foreign Currency Revaluation

    Hi All,
    We have a problem with the US-GAAP Foreign currency revaluation run which we're doing every month.
    Although the posting date is entered correctly (for this month as 30.09.2011), the postings that are created have the posting date of 31.07.2011. But the reversal date is right (01.10.2011).
    Could you please explain why wrong date is appearing.
    Thanks IN Advance
    Regards,
    Payal Saxena

    Hi,
    Have you scheduled any batch job to carry out the Foreign Currency Valuation? If yes, then check the variant which has been created for the program. There the posting date might have been entered as 31.07.2011. Dynamic date calculation must be maintained for the posting date.
    Thanks,
    Aman

  • "https" url with URLConnection

    If I use URLConnection to connect to a servlet with a https url, and supposed I have the required CA public key loaded in my keystore, would that turn on ssl connection?
    Thanks in advance.
    =yu

    after more reading... yes, it will work (Notice that for previous version of JSK1.4.2, the protocol handler should be set correctly), the URL/URLStreamHandler class will do the runtime binding for a specific protocol.
    -yu

  • Period-End Closing with posting date

    Hi gurus,
       Tell me how to fix posting date when period-end closing. Where I can fix, assign ... Now our system, it's automatic.

    Hi Andy,
    Im using 2004, in 2004 you can not change the date that it carries the values over to. I highly doubt you'll be able in 2005. I'm taking a guess.....but the reason you want to do this is because the figures don't look right when you run the financial reports....hey? Before you execute financial reports tick the selection box "Add closing balances" i9n the selection window. Im assuming they still have this tick box in 2005.
    Hope this helps.

  • Help with POST data if  multiple selections are chosen

    I've created a form with a menu (list) that includes all 50
    states. I'm using the POST option, along with PHP, to process the
    form data, which will be emailed to me. The list-menu looks like
    this:
    http://askdave.info/help/states_menu.gif
    and I have "Allow Multiple Selections" checked in the Property
    Inspector.
    If the user chooses multiple states, I want
    EACH of those states to be listed in the email that I
    receive. Right now, if I check multiple states, I only get
    the very last state that's selected. For example, here's the
    email I get after I check 5 different states.
    http://askdave.info/help/formdata.gif
    Problem--> In this email, only one state is listed
    (Hawaii) even though I selected 5 different states. How do I get
    the form data to list ALL states that are checked?
    Here is what I have:
    <form name="form1" method="post" action="process.php">
    <input type="hidden" name="required"
    value="name,phone,email,states,capital" />
    And then for the menu that lists the states, I have:
    <label>
    <select name="states" size="7" multiple id="states">
    <option>All States</option>
    <option>Alabama</option>
    <option>Alaska</option>
    <option>Arizona</option>
    <option>Arkansas</option>
    and so on...
    What am I missing? How do I get the PHP script to send
    multiple values, if multiple values are chosen? (I'm new to PHP, so
    go easy on me. I can post my code, if necessary.) Is this a PHP
    issue, or do I need to add something to the HTML form?

    Hi,
    >>
    I think DynaForm stands for Dynamic Form
    >>
    this makes some sense ;-) I was just wondering because there
    is a pre-made script called DynaForm
    here, but
    it has a different "logistics" than yours.
    However, both "DynaForm" versions are pretty basic, as they
    just deal with non-multiple values - form fields like single line
    input fields, texareas and non-multiple select´s. Your script
    e.g. just loops through all existing form fields using the
    "foreach" method:
    //Pulls form fields & values.
    foreach ($this->post as $field => $value) { // looping
    through all form fields
    if ( $field == 'required' ) continue;
    $this->_addLine($field, $value); // here´s where the
    field´s name/value consolidation happens
    ...and simply consolidates a field´s "value" with its
    associated "name". The problem is : this method just works for
    fields having just 1 value -- but any "multiple value" form fields
    (e.g. your "states" select or checkbox groups which can pass
    multiple values as well) actually require a separate "foreach"
    treatment within the script, and this hasn´t been incorporated
    here.
    That said, I suggest using an other pre-made solution like
    PHP
    Form Mail script that´s capable to handle your multiple
    values - scenario innately.

Maybe you are looking for

  • I just plugged my ipod into the mac but it's not showing up..

    i can not find my ipod when i plug it into the mac..

  • Has anyone found a way to keep Verizon Email with old dial-up service

    When I moved a few years ago I cancelled my version DSL and went to a low cost monthly dial up service, so I could keep my email. The monthly fee has now gone up a whopping $10.00 extra per month. I was told to get a Verizon domain service, but found

  • Shutdown Problem

    I had to abruptly shut down my Oracle instance due to a cold boot. When I restarted the machine, I checked the ORACLE_SID and the ORACLE_HOME, and they are both correct (I believe). After reading the documentation, I thought I might need to relink, s

  • Header text in me21n

    Hi,     i found one badi 'ME_PURCHDOC_POSTED'. my requirement is to make the header taxt, warranty text mandatory. For that can i write code here. what code i have to write over here. please help me.

  • Example for calling document type service using a XML

    Hi, Can anybody give me some pointers to any examples about Document type webservice that is passed an XML document? The service expects a custom java object. I am running WLS 7.0 with sp2. This is what i have done so far: I have created a document t