Rewrite PORTAL URL

Hey ,
I have a Strange Issue here . Our BI Production Landscape Consists of PORTAL and BI- ABAP ( CI + 2 App ) .
The Hostname "bi.ril.com" is on DNS which POints to CI(ABAP) . There is a Web Dispatcher Configured on CI Which is Supposed to Route HTTP Requests to APP Servers for Load Balancing .
Now , as per the LINK http://help.sap.com/saphelp_nw04s/helpdata/en/5f/7a343cd46acc68e10000000a114084/frameset.htm ,
I have Performed the Mapping of URLs based on the SAP Logon Group and Request are getting ROuted to Application Servers.
The Issue now is , When a HTTP Request goes to an APP Server the URL Generated is Somewhat like biapp##.ril.com which is Not on DNS .
I can Put it on the DNS , but then the URL just wont be that Frindly . I am ready now the host these names on DNS .
The Problem is , I want the CLIENT BROWSER to Display the URL as " bi.ril.com " , even though Internally it should be calling an APP Server .
Is this EVEN Possible ???? I have Gone throught URL Rewriting , but then this feature only Rewrites the Prefixes and not the Entire URL .
Regards,
Ashish .A. Poojary
Edited by: Ashish Poojary on Mar 28, 2011 8:38 AM

Hi,
The Issue now is , When a HTTP Request goes to an APP Server the URL Generated is Somewhat like biapp##.ril.com which is Not on DNS
Do you speak of the URL generated from the web dispatcher to be sent to the app server ?
If yes, I don't get this result on my system and I don't understand how you can get this.
The URL sent to the appserver looks like http://appserver.domain.country/url
The URL seen from the browser looks like https://webdispatcher.domain.country/url
Regards,
Olivier

Similar Messages

  • Apache Url rewrite for portal URLs

    Hi,
    I have a requirement where i need to write simple URL's for the default portal uRL's
    for example
    inspite of using default url like "http://myserver:port/portal/server.pt/community/abc_xyz/123/efg_jkl/12345",
    if user uses
    "http://myserver:port/portal/server.pt/xyz"
    It should navigate to same default URL.
    Can somebody let me know how this can be achieved.
    I know Url rewriting is done through Apache Url rewrites but do not have an idea how apache does it with portal Url's. What configurations need to be done in order to manage portal Url's with apache rewrites.
    Thanks
    Ajay

    Hi Ryan,
    Thanks for the reply. The link shows how to write the Rewrite rules in apache. I am familier with that. The actual problem is that how can the portal Url's be controlled by apache rewrites. My apache and weblogic are both on the same server instance but after writing the rewrite in httpd.conf file. It does not work out. Just want to know how can i tell apache to handle my portal Url's too.
    Is there any specific entry that we need to make for doing this.
    Thanks
    Ajay

  • URL rewriting - rewriting the url to be pretty no possible?

    HI,
    I'm trying to rewrite a url for an Oracle portal site, in the following manner, eg:
    www.xyz.com/portal/page/portal/contact-us => www.xyz.com/contact-us
    I've been able to do the passing through, so that www.xyz.com/contact-us links through to the /portal/page/portal/contact-us with the following rules
    <VirtualHost *:7778>
    ServerName blahblah.xyz.com
    Port 7777
    DocumentRoot "/oracle/oas/SOMEFOLDER/Apache/Apache/htdocs"
    #DirectoryIndex labelled.htm
    Alias /developments/ "/oracle/share/SOMEFOLDER/developments/"
    Alias /attributes/ "/oracle/share/propertygenie/shared/attributes/"
    <snip Aliases.....>
    RewriteEngine on
    RewriteOptions inherit
    RewriteCond %{REQUEST_URI} !^/portal/page/portal/SOMETHING/.*$
    RewriteRule ^/(.*)$ /portal/page/portal/SOMETHING/$1 [PT]
    <SNIP .... />
    </VirtualHost>
    This is mirrored by a rule in config section. where /portal/page/portal/SOMETHING/ is replaced by /
    When i replace the RewriteCond with a rewrite rule, as follows, I get errors:
    RewriteRule ^/portal/page/portal/SOMETHING/(.*)$ /$1 [R]
    RewriteRule ^/(.*)$ /portal/page/portal/SOMETHING/$1 [PT]
    I would expect the above to rewrite the url if it starts with /portal/page/portal/SOMETHING/ and then pass it through on the backend.
    What am I doing wrong?
    Any assistance would be greatly appreciated.

    Haitham,
    There is more than one way to do this as per this link below, someone has already posted sometime ago on this forum.
    http://www.cisco.com/en/US/products/hw/contnetw/ps789/products_configuration_example09186a00801de8d6.shtml
    owner example
    content default-redirect
    port 80
    protocol tcp
    vip address 192.168.1.1
    url "www.example.com/*"
    redirect "www.example.com/test/home.htm"
    active
    thanks

  • How to catch URL parameter from Portal URL in Web Dynpro iView

    Hi All,
    I have a web dynpro application running as a portal iView successfully. Now the client wants to make it internationalized with 7 languages. Currently they access the portal - and via role assignment they get to the portal tab with the wd iView. Now they want to send a parameter for the language key with the portal URL. So when they are typing in http://myportal.mydomain.com now they want to type in http://myportal.mydomain.com?sap-locale=de or so. My question is how can I catch this parameter in the WD application when it is running inside a portal iView? Is it at all possible?
    I have written a very small application which is trying to catch a URL parameter named PARAM. The code I have written is the default one as below:
    String paramValue = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("PARAM");
    When I run the application standalone and add the PARAM=something in last of the URL I can catch it. But when I create an iView and while previewing it I add the same PARAM value it is coming as null all the time. Same when I add this iView to a role and show it via role assignment in protal. Please help to let me know how to achieve this. I think if I can read the parameter value from Portal URL in the WD iView - then I can set it as the default locale of the application and then show language specific file to achieve internationalization.
    Your urgent help will be highly appreciated.
    Warm Regards,
    Shubho

    Hi Shubhadip
    Even if you get the parameters, how do you internationalize your application? Are you not following the standard way as described in the following link. In this case you never need to capture any such parameter. This is done by the WD runtime automatically .
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/f4/d95664da179b4db731e21c2e470b72/frameset.htm">Internationalization of WD projects</a>
    You can retrieve application parameters specified at the creation of iview by "adding parameters(with the same name as in iview application parameters) to the default plug of the Component Interface View of the WD application". "onDefaultPlug" method of the interface view controller you get these values as parameters, which you can save in the context node of component controller for later use.This is guaranteed to work.
    But again this is not what you want exactly. You want the user to specify the value at runtime. If you have just 7 languages, you can create 7 set of iviews with different application parameter value indicating language key, and assign to 7 different set of roles, each representing one set of users with common language.
    I hope you find a solution.
    Regards
    kk

  • SSO is not working for an Alias URL but is working for original portal URL

    Hello,
    We have a BSP running inside the portal and expects authentication.
    When I run this BSP using the portal regular address everything is working OK and SSO is working after logging into the portal.
    At next step, we have configured an alias for the portal URL at the DNS Server.
    When activating the BSP from the alias URL it asks for 2nd authentication. Meaning, SSO is not working after logging into the portal.
    I have activated an HTTP trace in order to see why and it seems like when running it from the alias name it recognizes it as a different domain and I assume this is why the authentication is coming up.
    I would like to suppress this for the alias URL but don't know how.
    I found this UME property on the server:ume.logon.security.relax_domain.level
    This UME property controls the amount of sub domains to remove from the server name to obtain the domain for which the logon ticket is valid.
    I have changed this property from its default value 1 to 3 (and restarted the server of course) which, in our case, leaves only ourCompany.com for the ticket in the original server URL. Yet, the authentication pop up is still not supressed when browsing through the alias URL.
    Any idea what can I do next?
    Thanks,
    Roy

    Hi Dezso,
    I found the 401 let me know if I look on it right:
    I have an entry node with two subnodes: request and response.
    The response has:
    <responseStatus>HTTP/1.1 401 Unauthorized</responseStatus>
    And the request before that doesn't have any MYSAPSSO2 in it, all it has which is related to cookies is this:
    <header name="Cookie">UserUniqueIdentifier=1174345919524; alreadyLogged=1179560552416</header>
    <cookies>
    <cookie name="alreadyLogged">1179560552416</cookie>
    <cookie name="UserUniqueIdentifier">1174345919524</cookie>
    </cookies>
    Can you advice what to do next?

  • How to create an External Alias for a Portal URL ?

    Hi Gurus,
    Can anybody tell me how to create an external alias for a portal link(URL). Actually, my problem is i want to send this Portal URL(link) thru' a SendMail step to the user so that when he clicks on it, it will take him to his UWL(Ofcourse after signing-in). As this URL length is > 80 char(101 char), i am not getting the full lenght URL in my Outlook mail. THough we are on ECC 6.0,Basis Rel 7.0, as per the OSS note 559234, we should have this length extended to 132 bytes. But, for some reason, its not happening. And,in the same OSS note, it was mentioned that we can use external aliases to achieve this(shortening the URL length).
    Can anybody tell me how to achieve this, either thru' increasing the URL length or thru' ext. aliases.
    Please reply asap.
    Thanks in advance
    venu

    Not an issue as of now. I'll open up again if needed

  • External portal capturing internal portal URL in Log and trace file

    Hi,
    We are facing one issue in portal like we have two portals for internal (Intranet) and external (Internet) users.
    Once users logged in the application and try to get the information about mylink from the external portal link (internet) they should not get any information about the internal portal.
    But in log and trace file we can see the external portal link capturing the internal portal URL.
    We need to find, from where system capturing the internal portal URL.
    Thanks.

    The tkproffed trace file is in seconds.
    "set timing" is in hh:mi:ss.uu format. So 00:00:01.01 is 1.01 seconds.
    You have to remember that most of these measurements are rounded. While your trace file says it contains one second of trace data, you know it's more.
    One excellent resource for trace files is "Optimizing Oracle Performance" by Cary Millsap & Jeff Holt. (http://www.amazon.com/Optimizing-Oracle-Performance-Cary-Millsap/dp/059600527X ) I thought I knew trace files before, but this book brings your knowledge to a whole new level.
    There is also an excellent WP by Cary Millsap ( http://method-r.com/downloads/doc_details/10-for-developers-making-friends-with-the-oracle-database-cary-millsap ) that gives you some insight.

  • The portal url appears in external links in XML Forms

    Hi,
    I have created an XML Forms application that should contain a link to an external webpage.
    In the Edit view I have created 2 text fields.
    1 for the url and 1 urlname for the name of the link.
    In the Show view I have created a link (Lable)  with:
    Hyperlink property:        /DataSchema/DataModel/url
    Schema Reference:          /DataSchema/DataModel/urlName     
    Style :              Function Link
    When I run the application It renders the link as a link with the urlname as the name of the link.
    Great !! ;0)
    <b>...but</b> when clicking on the link it open up a new window with the <b><b><b>portal URL</b> + the specified url:</b></b>
    E.g.
    Test data:
    Name:     Google
    URL:     http://www.google.com
    Result:
    <b>http://<portalurl>:58000/irj/portal/http://www.google.com</b>
    Why does this happen? And what can I do in order to open up the new window with just the url that I have provided (http://www.google.com)
    Thanks for any help !
    Best regards
    Rasmus

    Hi All and thanks for all help
    But..
    The thing is that it has nothing to do with the application.
    E.g. I have tested the <b>SAP_APP_FAQs</b> forms application delivered by SAP.
    This forms application has an external link called <b>Read more… </b>When I test this forms application everything is OK. It opens up the target URL in a new window e.g. <b>http://www.google.com</b>
    This is exactly what I want so I make a copy (save as) of the project. I run the application and believe it or not I got the wrong result: <b>http://<portalurl>:58000/irj/portal/http://www.google.com</b>
    I have not made any changes of the application!!
    Can any tell me what’s wrong?
    Thanks in advance
    Best regards
    Rasmus

  • How to Hide user & pass in PORTAL URL

    Hi Experts,
    I need a help on portal URL. We are using SSA (Spend Analytics) in Portal. One of the option in portal is that you can generate an E-mail Link of a report which goes to users.
    Link looks like this for end user (They receive it via E-Mail)
    http://Host:Port/irj/servlet/prt/portal/prtrootxapps.analytics.ds_par.inbounds?guid=CC1E61FF_7B3F_45CB_A3BE_B00F6BD487B7&objType=REPO&objId=0DA4575B_3C28_E6D8_66C5_04008115C625
    Users should be able to view this link as soon as they click on it. If a user is already logged into portal and copy and paste the link, it works fine. However, if a user is not logged in and copy and past this link to IE, It automatically changes URL to something else and shows user & password
    This is how it looks like. URL changes to the following link..
    http://HOST:PORT/irj/portal?j_user=XYZ_USER&j_password=XYZ_PASS&submit_logon=true
    So I'm not sure what is making portal to redirecting the link to (http://HOST:PORT/irj/portal?j_user=XYZ_USER&j_password=XYZ_PASS&submit_logon=true) when they enter generated link (http://Host:Port/irj/servlet/prt/portal/prtrootxapps.analytics.ds_par.inbounds?guid=CC1E61FF_7B3F_45CB_A3BE_B00F6BD487B7&objType=REPO&objId=0DA4575B_3C28_E6D8_66C5_04008115C625) and why is it showing user/pass and from where is it picking user & password.
    I kindly request all experts to please help me in this. I want to hide users/pass and make sure the link works fine without getting redirected it.
    Your help is much appreciated
    Thanks in Advance!!
    Afi

    i don't understand!
    i need to create a userid parameter on this configuration file frmweb.cfg
    [myconfig]
    userid=
    host=
    port=
    por example
    {myconfig]
    # System parameter: default base HTML file
    baseHTML=base.htm
    # System parameter: base HTML file for use with JInitiator client
    baseHTMLjinitiator=basejpi.htm
    # System parameter: base HTML file for use with Sun's Java Plug-In
    baseHTMLjpi=basejpi.htm
    # System parameter: delimiter for parameters in the base HTML files
    HTMLdelimiter=%
    userid= what can i write here?
    host = ??????????
    on this sistem too many user acces theses report
    and how can i call report to use this parameter?
    sorry because my english is not good
    saludos desde panama

  • How to pass username and password with the portal url

    i want to access portal from my web site. i have created username and password fields in my web page. when submited , my portal page should open. so how to pass username and password with the portal url.

    This is not straightforward; but it is doable.
    First tell us about your portal version; portal 10.1.4 has a slightly different method of doing it and the pre-10g portals were completely different animals.
    And if you are in AS Rel 2, then the most important document for you would probably be the following:
    [Creating Deployment Specific Pages| http://download-west.oracle.com/docs/cd/B14099_19/idmanage.1012/b14078/custom.htm#i1015535]
    You might want to use it in conjunction with some metalink notes about your portal version and such a login page.
    hope that helps!
    AMN

  • How to encrypt Password while calling Portal URL from Abap

    Hi all,
    My requirement is to call portal from R/3 4.6C.  As part of it I'm calling Portal URL along with user id & Password by using the FM CALL_BROWSER. The problem here is User ID & Password are visible everyone in the URL.
    Is there any way that I can encrypt sothat it doesn't become a security issue?
    I really appreaciate for your help.
    Thanks
    Seshu

    can you please mention the abap code  by which you are sending the username and password to a portal via url.....
    are you able to log on to the portal...please share your code ......
    Edited by: Ashutosh Shukla on Apr 18, 2008 9:17 AM

  • Company name in Internet Explorer Title Bar When Portal URL is launched

    Hai Gurus,
    I want to shown my company name in Internet Explorer Title Bar, when portal URL is launched. Please let me know how to do this.
    Thanks & Regards,
    H.K.Hayath Basha.

    Hi Kuthbudeen,
    To change the title of the browser go to:
    System Administration > System Configuration > Service Configuration > Portal Runtime > Central Configuration.
    Scroll down to: portal.html.head.title
    and change to required name.
    Do restart ur portal for the changes to take effect.
    Revert back if changes have taken place or not?
    In addition,
    U need to restart portal server ( logoff will not help)
    Regards,
    Purav
    Edited by: Purav Mehta on Jan 15, 2008 11:20 AM

  • Significance of Port No in Portal URL

    Hi Everybody,
       I wanted to know the concept of port no in portal URL.Sometimes i am able to access my portal with http://myportal:50000/irj/portal and sometimes even without port no.
    Is 50000 default port for http portal?then what about 80 even if i give this port instead of 50000 i am able to access portal.
    Can anybody throw light on this?
    Thanks in Advance
    Rani A

    Hi Rani,
    The port is decided like this
    50000 +  ( J2EE instance No * 100)
    ie if J2EE port is 00 then 50000
    If J2EE port is 01     then 50100
    If J2EE port is 02     then 50200
    For Visual administrator it is like 50004 or 50104 or 50204
    Etc like this for each use.
    Regards
    Arun

  • Portal url redirection....

    Hi All,
    our portal is going for migration. so we want our users not to enter into our portal.
    for that we want to show some message when user enters the url. some message like a"portal is under maintenance please login after some time" this should come when user enters the url.
    to be more clear....
    our portal url is https://trainingServerUrl.com    this will show the login page to the user where he will enter his login id and password.
    now....
    for next few days.......
    when user enters https://trainingServerUrl.com in the browser, it should say portal is under maintenance please login after some time" . i.e. it should not show the login page at all.
    PradeeP

    thanks again.....
    I can not follow this.... because it will effect for the original server. which i dont want because some others should work on the server like administrator to do the migration work and soo...
    actually, http://trainingServerUrl.com is pointing to http://servername:50000/irj/portal.
    if I do as you said.... no one can see the login page even by using http://servername:50000/irj/portal.
    I just want the user who enter http://trainingServerUrl.com  in the browser should get the message. other users who enter http://servername:50000/irj/portal can use the portal.
    PradeeP
    Edited by: pradeep bondla on Aug 6, 2008 12:36 PM

  • Portal url redirect

    Hi All,
    Because of a requirement,  I wanted to retreieve the requestURL and append compnay name to it for identification and redirect the url.
    basically if my portal url is http:
    <servername:port>\irj\portal , then get the hostname and append to portal url at the end as portalurl\hostname and make the request to this url.
    From here onwards this should be portal url throught the session. I am doing like this but it is not working
    String strReqURL = request.getRequestURL().toString()==null?"" : request.getRequestURL().toString();
         if ( strReqURL != null) {
              System.err.println("Before request url is"+request.getRequestURL());
              StringBuffer redirectUrl = new StringBuffer(strReqURL);
              redirectUrl.append("/hostname");
    Please help me out in resolving this issue.
    Thanks
    Supriya

    Hi,
    have you tried to get the HttpServletRequest associated with the IPortalComponentRequest and retrieve the server name from there?
    HttpServletRequest req = request.getServletRequest();
    String server = req.getServerName();
    http://help.sap.com/javadocs/NW04/current/ep/com/sapportals/portal/prt/component/IPortalComponentRequest.html
    http://download.oracle.com/javaee/1.4/api/javax/servlet/http/HttpServletRequest.html
    You could also do this by Javascript and add the JS code to the index.html located at /irj/index.html
    br,
    Tobias

Maybe you are looking for

  • How do I get Facebook contacts off of my phone after importing them?

    I have the iPhone 5. I've tried to Google this fix, but the solutions don't work for me. I can go under Groups in the Contacts app and remove the check beside Facebook so that my contacts aren't shown, but is there anyway to erase them completely?

  • Stuck in headphone mode

    Stuck in headphone mode

  • Managed Client Login Failure

    I'm trying to add managed clients to a new Server running 10.6.4 and I just can't get the clients to authenticate. I created an account on the server, then sent an invite email and when I click on "Automatically Configure My Mac", it fails to authent

  • Error Message on Updating Software

    Hi there I keeping getting the following error message when trying to update my BB software on my BB Bold 9900 using MacBook Pro: BlackBerry® Desktop Software failed to validate your BlackBerry® device update. Aborting install due to validation failu

  • Create Pricing Profile for Generic Articles

    Hi How to create pricing profile for generic articles, this need to be assign in article master basic data view. also is it possible to give price for generic article using sales price calculation (VKP1 and VKP5) regards satish