Simplify Portal URL
Hello.
EP6 SP15. Our EP6 will soon replace our company's home intranet site which runs on MS IIS standard port 80. Currently, when users want access to our corporate intranet site, they can open a browser and type "sooners" and the site's home page displays. "Sooners" is an alias for the hostname of the web server in our DNS.
Is there a way to set up the same type of alias for the portal? Our goal is to keep the same alias and have users be directed to the Portal homepage instead of the current intranet site. A user would type in "sooners" and be directed to http://hostname.domain.com:50000/irj. It would also be great if this alias stayed in the address bar and the normal portal url (http://hostname.domain.com:50000/irj was never seen.
I believe I've seen this type of redirection using a (Apache) reverse proxy, but is this possible using just the portal on an internal-only windows domain or must a reverse proxy be used?
Thanks in advance for the help.
Progress. More configuration changes to the httpd.conf file have paid off. I'm now redirected to the portal login page AND the portal url is hidden. YEA! (this was due to the "ProxyPreserveHost On" line in the code below). One more step and I'm there.
The reverse proxy doesn't seem to be forwarding the /irj. In other words, I can type "sooners" in a web browser and I'm redirected to http://portalhost.domain.com:50000 (displayed as http://sooners in the address bar) which is the JAVA admin page. I can also type in "sooners/irj" and I'm redirected to http://portalhost.domain.com:50000/irj (displayed as http://sooners/irj in the address bar) which is the portal login.
I would like to type in "sooners" and be directed to http://portalhost.domain.com:50000/irj (the portal login page).
Here's the httpd.conf code I'm using:
#Enable reverse-proxying
ProxyVia on
ProxyTimeout 600
#disable forward-proxying
ProxyRequests off
ProxyPreserveHost on
#proxy / both ways
ProxyPass / http://portalhost.domain.com:50000
ProxyPassReverse / http://revproxy.domain.com
#proxy /irj both ways
ProxyPass /irj http://portalhost.domain.com:50000/irj
ProxyPassReverse /irj http://revproxy.domain.com/irj
#proxy /logon both ways
ProxyPass /logon http://portalhost.domain.com/logon
ProxyPassReverse /logon http://revproxy.domain.com/logon
Any ideas? Thanks in advance.
Similar Messages
-
Hi All,
we are using SPnego to access the portal
Our url like this 'http://host:448/irj/portal
here i want to hide the port number. instead of above URL i want to use below url 'http://host/irj/portal
My main aim is hiding port number in URL.
How to do this ?
Regards,
Kumar.Hi Phani,
A reverse proxy is used generally to achieve your requirement.
[simplify Portal URL;
Hope this helps.
Thanks,
Vamshi -
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,
ShubhoHi 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,
RoyHi 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
venuNot 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
RasmusHi 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 whats 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!!
Afii 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
Seshucan 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 AHi 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.
PradeePthanks 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 -
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
SupriyaHi,
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 -
Portal URL for file v. text v. PL/SQL item types?
I am using Portal 10.1.2.2.0. From the Portal OWA logger data, how can I tell a file item type from a text item type from a PL/SQL item type?
The OWA_LOGGER_DOC view iis looking for url like '%/docs/%', but all the document URLs are '%/ITEM/%'. The URLs to text items also appear to be '%/ITEM/%'.
How can I tell that a Portal URL is pointing to a document?OK, I figured out a way to do this in my environment (Oracle Portal Version: 10.1.2.0.2 (Build: 150) ). Your mileage may vary.
I created a procedure which includes the following:
p_headingText IN VARCHAR2,
p_fileName IN VARCHAR2,
p_descriptionText IN VARCHAR2)
is
l_portalGuid VARCHAR2(50);
begin
select GUID into l_portalGuid from portal.wwv_things where ID = p_fileName;
htp.p('<p class="PortletText1"><a href="http://[HOSTNAME]/pls/portal/url/item/' || l_portalGuid || '">' || p_headingText || '</a> ' || p_descriptionText || '</p>');
end;This seems to work for me. (Sorry about the long line.) p_headingText, p_filename, and p_description are passed from the custom item type. Good luck!
Maybe you are looking for
-
Vf02 error while releasing a billing doc to accounting
Hello All, I m getting the below mentioned error while releasing a billing doc for a accouting. I have checked all the settings in vkoa , ob52 and many more and all are set properly, now m not able to track where actually the prob is. error is: No ac
-
I've added the page numbers to my master pages. They are displaying on the pages but I have images on the individual pages that are covering the numbers. I understand I need to assign a higher layer to the object but I don't understand how to do that
-
Hi, I just bought an 8320 T-Mobile phone on ebay. I don't have a data plan and hope not to need one. My SIM card works and I'm on WiFi. I downloaded the desktop manager software to my laptop. But, when I plug my phone into my laptop with the USB, the
-
Bookmarks missing from sidebar
After a recent upgrade to v. 9.0.1, the bookmarks that normally appear in my sidebar disappeared. They haven't disappeared totally as I can access them from the Bookmarks tab and they continue to reside on the Xmarks server. I just can't see them whe
-
Can you encrypt RRM packets (so that WLC IP address is exposed to all)
Hi Guys, As RRM packets include the WLC controllers IP address in the payload of the packet (can decode the hex). Is there a way to encryp this so that my freindly wireless neighbors do NOT see the address of my WLCs as explained in this document for