Wildcards in gateway URL prefixes?

Hello, We are using a proxying utility called EzProxy from Useful Utilities for controlling student access to online databases and catalogs, which use client-IP as it's security mechanism (basically if the requests come from our network it lets the client in). I would like to host it through the Plumtree portal as a remote portlet, so that the portal can assume responsibility for access control. Here's why it isn't a slam dunk to set it up as a fully gatewayed remote portlet: to proxy remote hosts, it uses 'proxy by hostname'. A request for www.abc.com/whateverpassed through ezproxy.royalroads.ca ends up being returned to the client (in this case our portal for inclusiion as a portlet) as www.abc.com.ezproxy.royalroads.ca/whatever. As you can see, it dynamically adds to it's hostname list anything it's proxying. There's a better explanation of how it works at http://www.ezproxy.com/support/rewrite.html near the bottom of the page under 'new strategy'. My question to you is 'Can I set up in the Gateway URL Prefix list something like: http://*.ezproxy.royalroads.ca/. and expect it to properly gateway through the portal?' There's no way for us to know what will appear in place of the * beforehand, so we would like some way to wildcard the 'start' of the urls. Please let me know if this is simple to accomplish and/or feasible... if it is not we may have some other options to pursue before spending a ton of time trying to get gatewaying working. Thanks! -Dev.

The transformer will only transform URLs in Javascript if they fall in obvious places (e.g. setting a document.location or a window.open URL). Since you're passing an URL to the application.boot method, the transformer has no idea that it's dealing with an URL.
To make this work, follow these two steps:
1) Make sure the URL matches at least one of the patterns listed under Gateway URL Prefixes in the Web Service editor for your portlet.
2) Wrap the URL in a pt:url tag to give the transformer a hint that you want it to transform the URL, e.g. application.boot("<pt:url pt:href='http://localhost:7021/application/script/classes' xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'/>").
That should do the trick.
HTH,
Chris Bucchere | bdg | [email protected] | www.bdg-online.com

Similar Messages

  • Gateway URL prefix

    Does anyone know if it's possible to programmatically add gateway url prefixs to a web service. We're writing a portlet that allows users to dynamically add a url designating the source of the portlet and we want this url gatewayed. We're trying to figure out if the portal api or the edk supports this type of functionality.
    Thanks,
    -Travis

    The transformer will only transform URLs in Javascript if they fall in obvious places (e.g. setting a document.location or a window.open URL). Since you're passing an URL to the application.boot method, the transformer has no idea that it's dealing with an URL.
    To make this work, follow these two steps:
    1) Make sure the URL matches at least one of the patterns listed under Gateway URL Prefixes in the Web Service editor for your portlet.
    2) Wrap the URL in a pt:url tag to give the transformer a hint that you want it to transform the URL, e.g. application.boot("<pt:url pt:href='http://localhost:7021/application/script/classes' xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'/>").
    That should do the trick.
    HTH,
    Chris Bucchere | bdg | [email protected] | www.bdg-online.com

  • Mac testing server URL prefix problem

    Greetings,
    I've searched through a bunch of forum and support topics
    with no success so here's a post.
    I'm building a site on a Mac using some basic PHP (not
    database driven) and would like to be able to preview the files in
    a browser. I'm setting up a testing server with PHP/MySQL as the
    Server Model, Access as Local/Network, and the location of the site
    folder pointed to. My problem is the URL prefix...
    I have tried the following URL prefixes and keep getting the
    same error message in DW ("Dreamweaver cannot use the prefix you
    entered to display live data....HTTP error:0") and a connection
    failure in the browser. The following attempts include the name of
    my hard drive, my Mac User name, and the name of the folder my site
    rests in.
    http://myHDname/
    http://myHDname/~myUserName/
    http://myHDname/~myUserName/siteFolderName/
    http://localhost/
    http://localhost/~myUserName/
    http://localhost/~myUserName/siteFolderName/
    Any ideas as to what I'm doing wrong?
    Thanks!

    "dixiedoo" <[email protected]> wrote in
    message
    news:fbp5vi$mlm$[email protected]..
    > Greetings,
    >
    > I've searched through a bunch of forum and support
    topics with no success
    > so
    > here's a post.
    >
    > I'm building a site on a Mac using some basic PHP (not
    database driven)
    > and
    > would like to be able to preview the files in a browser.
    I'm setting up a
    > testing server with PHP/MySQL as the Server Model,
    Access as
    > Local/Network, and
    > the location of the site folder pointed to. My problem
    is the URL
    > prefix...
    >
    > I have tried the following URL prefixes and keep getting
    the same error
    > message in DW ("Dreamweaver cannot use the prefix you
    entered to display
    > live
    > data....HTTP error:0") and a connection failure in the
    browser. The
    > following
    > attempts include the name of my hard drive, my Mac User
    name, and the name
    > of
    > the folder my site rests in.
    >
    >
    http://myHDname/
    >
    http://myHDname/~myUserName/
    >
    http://myHDname/~myUserName/siteFolderName/
    >
    http://localhost/
    >
    http://localhost/~myUserName/
    >
    http://localhost/~myUserName/siteFolderName/
    >
    > Any ideas as to what I'm doing wrong?
    My guess is: you are not actually using a web server to serve
    your
    documents.
    see if reading the documentation helps....
    Preparing to build dynamic sites
    http://livedocs.adobe.com/en_US/Dreamweaver/9.0/WSc78c5058ca073340dcda9110b1f693f21-7a31.h tml
    Joris

  • URL prefix under IIS for multiple sites

    I'm trying to set up DW8. I webmaster a large number of sites
    for clients using a variety of hosting companies and web servers. I
    use IIS under Win2K Pro.
    Pre-DW, my setup has been to have a test area with folders:
    Inetpub\wwwroot\site1, Inetpub\wwwroot\site2, etc. To test I browse
    to localhost/site1, localhost/site2, etc. Then I copy the files to
    another part of the disk: websites\site1, websites\site2, editing
    them to change directions to the include files (sometimes I work in
    ASP, sometimes in PHP). Even with a utility we've made special for
    this task, this is a ROYAL PAIN. Then I upload site1 to server1,
    site2 to server2, etc.
    I have to do it this way because IIS will only recognize one
    website at a time, and I jump around from site to site so often
    it's a real pain to turn the sites on & off via the Control
    Panel.
    Now I'm trying to set up site definitions on DW8. For Site1 I
    say the URL is www.site1.com, the local testing spot is
    Inetpub\wwwroot\site1, and it gives me this "site URL prefix for
    the testing server does not match the site URL prefix specified in
    the HTTP address". What do I do? What have you-all found is the
    easist approach:
    1. fool DW about where files are kept?
    2. Do the PITA switch between which site IIS thinks is
    "live"?
    3. host a local multi-site server?

    > I have to do it this way because IIS will only recognize
    one website at a
    > time
    Fix:
    http://mnteractive.com/archive/running-multiple-sites-on-win2k-and-xp/
    -Darrel

  • Winrm and URL Prefix

    My company changed the default wsman URL Prefix for Winrm. As a consequence, we cannot access file shares on Failover Clustering. We get Event Error codes 142 and 49 under the Windows Remote Management  Event logs. Changing the URL Prefix back to
    wsman resolves our issue. Is there a way to resolve this issue keeping our changed URL Prefix?

    Hi Jeffreyw1,
    Based on the description of your cases, you wanted to change the default wsman URL Prefix for Winrm. After discussion with escalate engineer i got we
    had better use the default settings for it. Changing it is not supported.
    More information:
    Installation and Configuration for Windows Remote Management
    https://msdn.microsoft.com/en-us/library/aa384372(v=vs.85).aspx
    Best Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Display URL prefix for file source

    Hi Gurus,
    Maybe a real simple one, but please advise as the site is going to go production soon.
    Please take a look at this eg.
    Filesource1:
    i)physical dir(URL): file://localhost/private/htdocs/abc/
    URL prefix : file://localhost/private/htdocs/
    display URL prefix : http://my.server.com/
    ii))physical dir(URL):file://localhost/raid02/htdocs/mkc/
    URL prefix :file://localhost/raid02/htdocs/
    display URL prefix :http://my.company.com/
    I have a single file source(Filesource1) in the admin set up that will crawl two different directory structures with two different display URL.
    I had initially crawled with "No display URL" option, then used the Display URL screen to enter both the mappings. It worked(it updated the URL column in wk$URL table to start with 'http://'), however, new crawls dont seem to recogonize the Display URL mappings.Is this because there is more than one mapping?
    Is the only solution to create two different filesources with a display URL mapping for each?
    thanks,
    Sundeep

    Hi Leah,
    The display URL for a Database Source should point to a separate server that provides web access to the document. It is not meant to point back to the SES instance. As the Admin Guide states:
    "This connector requires that there is URL-based access to the records in the result set of the view or query."
    In other words, the display URL should be something you can copy/paste into your browser location bar to view the document, with the other server rendering the document information to a user completely independently from SES.
    HTH,
    Mark

  • Format of the gateway URL

    How is the gateway URL formed?
    after the gateway there is a PTARGS_x_x_x_.....
    How is the PTARGS_x_x.... formed? Is it configured any where on the portal server
    I am using the gatewau URL in one of the publisher presentation templates and this value is changing from development to production environments

    The portal server creates the gatewayed urls on the fly. You shouldn't hardcode those values just for one environment.The format of the gatewayed urls include the objectid,userid and some other characters.
    Please go through the documentation below for constructing urls using the pt:common:url tag.
    All the documentation is available at the below url. This will helpful in understanding the details.
    [http://edocs.bea.com/alui/devdoc/docs60/Portlets/Adaptive_Portlets/Using_Adaptive_Tags/PlumtreeDevDoc_Integration_Portlets_Adaptive_Links.htm|http://edocs.bea.com/alui/devdoc/docs60/Portlets/Adaptive_Portlets/Using_Adaptive_Tags/PlumtreeDevDoc_Integration_Portlets_Adaptive_Links.htm]

  • OVD - Admin Gateway URL

    Hi,
    I need to setup OVD to have several admins.
    I need syntax for the following scenarios. I have to enable the "Admin Gateway URL" in OVD Manager.
    Scenario:*
    1. I need to allow users in *"cn=Users,dc=oracle,dc=com"* to have administrative access in the *"_dc=oracle,dc=com_"* LDAP server.
    Please provide the syntax to follow in the Admin Gateway URL. Help me to sort this.
    Thanks in Advance
    San
    Edited by: user652681 on Sep 24, 2009 9:21 PM

    Aha! Found it..
    PTSERVERCONFIG tables, where setting = 2
    Needed to append /portal
    UPDATE PTSERVERCONFIG SET VALUE = 'https://www.myhappyportal.com/portal' WHERE SETTINGID = 2
    I must have screwed this up initially. The originaly seed value was missing the /portal.
    Thanks,
    Eric

  • Gateway URL setting?

    Hi -
    I think I screwed something up and am looking for a quick hand.
    * G6 .NET box lives at https://www.mydomain.com/portal/server.pt
    * Collab appears to think the gateway URL is https://www.mydomain.com/server.pt (NOTE that key bit - lacking "/portal")
    Collab administration is saying it's automagically picking up the gateway URL from the portal - I'll be darned if I can figure out where it's coming from. I've reviewed all sorts of config files + database settings + the "display files URL" in the portal admin console.
    Anyone have any pointers on where I might be able to change the base portal gateway URL to insert that very-necessary "/portal" ?
    Any info much appreciated :)
    Thanks,
    Eric

    Aha! Found it..
    PTSERVERCONFIG tables, where setting = 2
    Needed to append /portal
    UPDATE PTSERVERCONFIG SET VALUE = 'https://www.myhappyportal.com/portal' WHERE SETTINGID = 2
    I must have screwed this up initially. The originaly seed value was missing the /portal.
    Thanks,
    Eric

  • Gatewayed URL problem to Flex portlet

    i'm create a remote portlet which point to a flex content and jsp in a remote server and through by gateway, but after and add gateway URL in front of the remote server URL, the portlet become can't display on the screen.
    Because of my remote server is hidden to public, so i can onli by through gateway to access my remote server, so did any others solution or AquaLogic gateway is totally blocked to access a flash/flex content?

    Did you try with InterPortlet Communication.

  • Apache virtual hosting and URL prefixes

    I am having a bit of trouble with processing PHP after
    setting up a virtual server on apache.
    This is the setup:
    Apache is installed and the document root is "C:\Program
    Files\Apache Group\Apache2\htdocs" which was originally set as
    localhost as well
    Virtual hosting is to be set up for "C:\WEBSITES\mysite" This
    directory, you will note,is outside the htdocs directory.
    I edited the httpd.conf file as follows to set up a virtual
    server.
    <VirtualHost 127.0.0.1:80>
    DocumentRoot "C:\WEBSITES\mysite"
    ServerName mysite.local
    </VirtualHost>
    I didnt forget to remap localhost either ..........
    <VirtualHost 127.0.0.1:80>
    DocumentRoot "C:\Program Files\Apache Group\Apache2\htdocs"
    ServerName localhost
    </VirtualHost>
    the hosts file got tweaked too to include this:
    127.0.0.1 localhost
    127.0.0.1 mysite.local
    Everything was restarted and hey presto localhost still
    processes PHP properly but mysite doesnt.
    I am pretty sure i've set the url prefix wrong. The DWeaver
    help files refer to an IIS setup. Could anybody fill me in on what
    to put in this line and why. Any other pitfalls in setting this up
    would also be kindly received
    PS - port 80 is the listening port if it helps.

    All I did when I set up Apache was to set the document root
    to what I
    wanted:
    DocumentRoot "C:\webserver"
    and I put my documents in the "webserver" directory. I did
    this cause the
    htdocs directory path is way long .. it works fine.
    Mine is localhost:8080 cause I have IIS on 80 but I don't see
    where it
    should matter.
    Nancy Gill
    Adobe Community Expert
    BLOG:
    http://www.dmxwishes.com/blog.asp
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)
    Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
    A Beginner's
    Guide, Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web Development
    "mark81" <[email protected]> wrote in
    message
    news:[email protected]...
    >I am having a bit of trouble with processing PHP after
    setting up a virtual
    > server on apache.
    >
    >
    > This is the setup:
    >
    > Apache is installed and the document root is "C:\Program
    Files\Apache
    > Group\Apache2\htdocs" which was originally set as
    localhost as well
    >
    > Virtual hosting is to be set up for "C:\WEBSITES\mysite"
    This directory,
    > you
    > will note,is outside the htdocs directory.
    >
    >
    >
    > I edited the httpd.conf file as follows to set up a
    virtual server.
    >
    > <VirtualHost 127.0.0.1:80>
    > DocumentRoot "C:\WEBSITES\mysite"
    > ServerName mysite.local
    > </VirtualHost>
    >
    > I didnt forget to remap localhost either ..........
    > <VirtualHost 127.0.0.1:80>
    > DocumentRoot "C:\Program Files\Apache
    Group\Apache2\htdocs"
    > ServerName localhost
    > </VirtualHost>
    >
    >
    > the hosts file got tweaked too to include this:
    > 127.0.0.1 localhost
    > 127.0.0.1 mysite.local
    >
    >
    > Everything was restarted and hey presto localhost still
    processes PHP
    > properly
    > but mysite doesnt.
    >
    >
    > I am pretty sure i've set the url prefix wrong. The
    DWeaver help files
    > refer
    > to an IIS setup. Could anybody fill me in on what to put
    in this line and
    > why.
    > Any other pitfalls in setting this up would also be
    kindly received
    >
    >
    > PS - port 80 is the listening port if it helps.
    >
    >

  • URL Prefix in a reverse proxy scenario

    Hi,
    we actually have a problem with url-generation in our reverse proxy scenario.
    We configured our reverse proxy (apache; not a web dispatcher) to map an url from
    > http://external-host/url-prefix/irj/portal
    to
    > http://internal-host:50000/irj/portal
    Our problem is that the html portal logon page generates absolute urls to resources like http://external-host/com.sap.portal.epcf.loader/... As you can see it is dropping the url-prefix. So our pages are not displayed properly and forms cannot be submitted.
    Is there a way to tell the url generator to put a prefix into each generated absolute url?
    We have SAP Netweaver Portal 7.31
    thanks & regards,
      Christian Buschmann

    Samuli Kaski wrote:
    Anything is possible. A recommended configuration would be for you to setup DNS aliases for all of your applications (SAP Portal, Ruby, etc.). That way you can have virtual host specific reverse proxy mappings. Believe me, it will pay off.
    Yeah, that's what we have done on other sites. But it has the drawback that you have to get seperate ssl-certificates (extended validation) for each domain or have to update the existing ssl-certificate with additional dns-aliases.
    So we tried on this site to sepearte each application by url-prefixes. So each application is covered by the same certificate.
    Having a non-standard configuration means you will have to implement tweaks here and there not to mention how painful it is to maintain such a configuration.
    Still, if you want to try it out try the following configuration
    <Directory /app2>          
              ProxyPass /app2/ htp://portalhost/          
              ProxyPassReverse /app2/ http://portalhost/
    </Directory>
    Apache will use URL prefix /app2 for any URL generated by AS JAVA. That said, you will run into problems eventually since URLs get generated in so many ways, including URLs within HTTP responses which Apache will not change.
    That's our problem now. Apache does map the url from http-request but the http-response-content from sap-portal is untouched. So absolute links within html pages generated by sap-portal are pointing to the wrong path. Protocol, host and port are correct but the path is missing the url-prefix.
    So i don't want our apache to correct the links and rather want sap-portal to produce correct links. It's working fine with protocol, host and port for urls, but i can't set an url-prefix for the path-component.
    So my hope is that you can make the url generator from sap portal aware of our url-prefix (maybe depending of virtual host, or by setting a field in http-request) like it's aware of incoming protocol, host and port. So that every generated link will get an url-prefix for it's path component.

  • How can I don't get the gatewayed url?

    I integrated a customized application into my portal.
    but ,portal always generates gatewayed url,
    for example
    http://demo:80/portal/server.pt/gateway/PTARGS_0_200_359_207_0_43/http%3B/demo%3B80/tpl/abc/totalReport.do?method=drawPieChart&type=16
    I only want to get the true url,that is
    http:/demo:80/tpl/abc/totalReport.do?method=drawPieChart&type=16
    How can I set the portal not to gateway the url?
    thanks for any ideas.

    Adjust the webservice that you are using so that it doesn't gateway that URL.
    This is set on the HTTP Configuration page of a webservice.
    It would appear that your is set to something like:
    http://demo:80/portal/server.pt/(perhaps more path here/).
    so just remove that

  • What is the Reports gateway URL?

    The A92102-01 Reports Services documentation mentions a reports gateway URL. What is this? Where is it set? The doc mentions Chapter 3, but I do not see anything there that seems relevant. I want to get Reports integrated into Portal and I require this information...
    Regards,
    John

    I believe you were trying to access the old iSetup configurator website. iSetup is no longer a hosted product and the configurator module has been decommissioned. iSetup is available as a product within the E-Business suite instance. You can see the iSetup menu when you assign 'Oracle iSetup' responsibility to a given user.
    Thanks,
    Lokesh Mathur

  • Webdispatcher not redirecting for multiple url prefixes

    Hi Experts,
    Web Dispatcher configuration already in place.
    We are already using the URL's for NWBC through webdispatcher & masked the hostname & ports for Development/Quality systems in Development webdispatcher systems.
    Now currently we have created the Url with port for EP development systems as "https://abc.company.com:8200" & I have placed the relevant details in configuration profile but the re-direction is not happening and by default its taking the prefix ashttps://abc.company.com:8200/sap/bc/nwbc instead ofhttps://abc.company.com:8200/irj/portal .Also note if I replace the redirection rule & set as icm/HTTP/redirect_0= PREFIX=/, TO=/irj/portal redirection works but the rest of the multiplesystems which is Abap & using nwbc prefixes will not work.So to summarize , we want to use both the redirections for nwbc as well as portal in one webdispatcher.
    Rgd
    Asim

    Hi Tim,
    Unfortunately this is not possible; you can't associate multiple certificates to a single proxy list due to the fact that SSL handshake is done first with no visibility of the URL being requested, so the CSS won't know which public server to use in order to perform the traffic decryption.
    But there are a couple of options that you may want to look at (depending on the URL string)
    If your URLs are subdomains and you hold a wildcard SSL certficate to match multiple requests, i.e your domain being "pets.com" you can have a certficate that will match request for dogs.pets.com or cats.pets.com because the cert will be in the form *.pets.com
    The second option is SAN (Subject alternative names) certificates; which give you the option to include up to 4 flavors of the domain within the same file, such as pets.com, pets.net, www.1pets.com.
    I hope this helps.
    Pablo

Maybe you are looking for

  • Upgrading Macbook 2008 hard drive - ios concern

    Hi, I currently have a macbook white intel core 2 duo 2.1 GHz macbook, bought in October 2008, running snow lepaord 10.6.8. I am going to upgrade its hard drive to a hybrid seen in the following link: http://www.amazon.co.uk/Seagate-Momentus-ST950056

  • Ready to throw Ipod out the window

    this is the message I get when I run CD Diagnositics. I can import a new CD once then never again. what could be the problem. Microsoft Windows XP Home Edition Service Pack 1 (Build 2600) Hewlett-Packard Presario 2500 (DK560A) iTunes 6.0.4.2 CD Drive

  • Tracking a stolen Iphone 2G

    Is there a way to track a stolen 2G Iphone? My daughters 2G was stolen today and I m wondering if through GPS there is a way to locate her phone. I have a 3G, which I think might help in locating hers. Greatly appreciate any help. Thanks and Happy Ne

  • Photo slide show

    Can someone point me in the direction of a simple photo slideshow tutorial or a download? To be embedded into a web page. Thanks Tim

  • Transport update rules or ODS

    Hi, Do i need to transport update rules or ODS object first Thanks