"Alias" or "alternate" Portal URL/URI?
Hi,
I have a need to be able to access my portal application (named "app") using two different URLs (or more precisely two different URIs).
Normally, I access my application using http://my.host.com:7001/app.portal. I want to also be to access it using (for example) http://my.host.com:7001/jim.portal.
Doing some testing, I think that I was able to accomplish this by simply making a copy of the "app.portal" file and renaming the copied file to "jim.portal", but I'm wondering if this is the correct/best way to accomplish this? Also, doing this, are there any "unintended consequences" that I need to be aware of?
Thanks,
Jim
Chris,
If you're interested, you can try this:
- Assuming that your .PORTAL file is, say, foo.portal, make a copy of it in the same directory, then
- Rename the copy to, say, foo1.portal.
You should now be able to access the same portal using either http://my.host.com:7001/foo.portal or http://my.host.com:7001/foo1.portal.
You mentioned "other application servers". I had the impression that duplicating the <module> in the application.xml would work in other app servers also. I think when I first opened the case with BEA, they said it should work with WebLogic also, but I got an email yesterday that I think is saying that it doesn't work. I've sent a response back asking them to clarify exactly what they were trying to tell me.
I think that the reason that they originally thought that it was working with WebLogic was that they were testing with something other than a .PORTAL file, possibly doing a test with just a .JSP file that they had placed in the document root. From my testing, you can access .HTML and .JSP, etc. files using the <module> alias/context root, but you can't get to .PORTALs.
You can try this too. Just put a .JSP in your 'real' document root directory, then add a <module> with a different context root (e.g., "foo"), and you should be able access it using both http://my.host.com:7001/my.jsp and using http://my.host.com:7001/foo/my.jsp.
BTW, yes, I did notice that the alias is not showing up in WebLogic console, but be careful not to start up Workshop. From my testing, if you start up Workshop with the extra <module> in application.xml, it gets kind of confused, and starts adding stuff into config.xml, etc. I found that out the hard way, and had to spend some time cleaning things up afterwards :(.
I put an email out to our development group asking whether they deploy the single file portal or whether they are using streamed rendering. I'm hoping that they'll come back saying that it's the latter.
Thanks again,
Jim
P.S. In case you're wondering why I'm still pursuing this if the .PORTAL copy technique works: The reason that I'm still trying to track this down is that I don't UNDERSTAND why copying the .PORTAL file works, and it seems like a kind of non-standard (and probably unsupported) way of doing things, from an app server standpoint.
Message was edited by: Jim L
jimcpl
Message was edited by:
jimcpl
Similar Messages
-
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
-
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? -
Hi gurus,
Is possible to define an alias for my portal URL? I want to use an URL like http://myportal.com/irj/portal and I don't want to use an URL like http://server:port/irj/portal.
Thanks a lot!
Best regards,
Iván.Please see the below wiki:
http://wiki.sdn.sap.com/wiki/display/EP/ChangePortalURL
Thanks,
Shanti -
Hi
I have a portal and it is http://abc:50000/irj/portal.
I want to setup another Portal URL Alias http://abc:50000/XK03
When user access this URL http://abc:50000/XK03, it will redirect to a transaction iView in PCD.
Only this special URL http://abc:50000/XK03 will be redirected.
Please let me know if this is possible with configuration or development.
Thanks.
Regards
Mike1. Does it have to be http://abc:50000/XK03 or is it also allowed to go for http://abc:50000/irj/portal/XK03
If so then you could use "Quick Links" see the following for details:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/97/b0ef8b24a64ae884f0ab246e54cae5/frameset.htm
2. If http://abc:50000/irj/XK03 would be allowed then you could go for this solution:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/1d5d0171364269e10000000a421937/frameset.htm
(also mentioned by Mayank Mehta )
3a.If it has to be http://abc:50000/XK03 then you have to build a small web-application that is configured as /XK03.
(context root must be set, I guess).
OR
3b. You could also setup a SAP Web Dispatcher and configure:
- (SAP Web Dispatcher 7.01 and before) http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/3d993fb08c72d1e10000000a42189c/frameset.htm
- (starting from SAP Web Dispatcher 7.11 also the following) http://help.sap.com/saphelp_nwpi711/helpdata/en/48/9266acaa6b17cee10000000a421937/frameset.htm
Good Luck
Benjamin
Edited by: Benjamin L.F. Houttuin on Aug 30, 2010 3:14 PM -
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. -
Visual Studio 2005 crashes when referencing ALI 6.5 portal server API
Visual Studio 2005 crashes when referencing ALI 6.5 portal server API
We are building new portlets in .NET 2.0 to that access the ALI 6.5 server API and are experienceing the folowing scenario:
I create a brand new project in Visual Studio (2005 with SP1 on Win2k3 R2 SP2) using the ALI Portal Project template that is provided with the application accelerator 1.1. This portlet will need to perform portal server searches so I begin by adding references to the following assemblies from C:\bea\alui\ptportal\6.5\bin\assemblies:
openconfig.dll
opencounters.dll
opencache.dll
openhttp.dll
openssl.dll
opentempfile.dll
plumtreeserver.dll
ptportalobjects.dll
I then type in something like below to start up the portal server objects.
protected void Page_Load(object sender, EventArgs e)
IOKContext context = OKConfigFactory.createInstance("C:\\bea\\alui\\settings\\", "portal");
PortalObjectsFactory.Init(context);
this.Response.Write("Portal Objects Initiallized");
Some moments later Visual Studio will crash. It has happened before I have entered any code, after I have started typing code and on builds. It seems intermittent but usually occurs within a minute of interacting with this Visual Studio project. I actually managed to build once and have had success accessing this page in Explorer to validate the portal server objects are getting initialized and referenced correctly.
I thought this was a problem with my personal development environment. So I tried this on other machines: another Win2k3 ALI 6.5 dev portal server and another server with Visual Studio 2005 that I installed the 6.5 portal on just for testing this. The exact behavior listed above is occurring on three development machines here (crashing devenv.exe when portal references are made or loading a project with portal references). Since this does not seem to be isolated to a single development machine, is there any course of action that anyone would suggest to help solve this?
thanks,
Troy RackleyIt turns out that this is only a problem with Visual Studio using the ALI templates or creating any projects using the "New... Web site" functionality of 2005. I was a ble to create a C#... ASP.net Web Application project and add the references to the idk and the local portal server APIs manually without devenv.exe crashes.
So, the work around I have found if your projects needs to access both the portal server API and the remote API is to create the project with:
New... Project... Visual C#... ASP.NET Web Application
and NOT
New... Web Site... ASP.NET Web Site (or ALI Portlet Project)
Anyone know why this is the case?
Thanks.
Troy -
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 -
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
Maybe you are looking for
-
G5 locking up, random screen pattern lock ups
Alright, this is actually my brother's computer, which he's had for at least a year and half, with no problems. I just recently started using it to play a computer game, World of Warcraft. The game ran smoothly with no problems for a couple of weeks.
-
can I set up to connect 2 or 3 airport expresses to have a stronger wifi signal for a larger area?
-
TS1474 i tried to add music files from portable drive and the files are not found
now the drive is corrupt and unreadable what do I do?
-
Bugs due to case sensitivity of objects?!
Hi, When migrating from MSAccess 97 to Oracle 8i, it seems that there are many problems during the migration due to case sensitivity of Oracle objects. Specifically, the usage of the double quoted is not always correct resulting in JET/DAO 3011 messa
-
Hi , Can anybody let me know if there is any way of reversal of Transport request . Actually due to some schedule job in the Rev trac ( transport tool ) around 150 transport requestsa are moved to produciton overnight . I dont think any reversal of t