Extract current page url without host

Anybody aware of a {tag_ or {module- that returns the current page url without host, i.e. on page 'http://mysite.com/sub/page1.html' we need to extract the page url 'page1.html'?
Thanks

I think I missed it the first time, but I found it, thanks (http://forums.adobe.com/thread/1032246?tstart=0)

Similar Messages

  • How to get the current page URL

    HI All
    I am working in oracle apps 4.0
    I have one page called history in that i have one page item called Application url. My application id is 122 but its a copy of application 106
    How to get the current page url for the page item.
    Any steps should be help ful
    Thanks & Regards
    Srikkanth.M

    I'm not 100% clear on what the requirement is from the description, however it does sound like you are making things unnecessarily complicated.
    If you want permanent/ID-independent links then use application and page aliases.
    so here we used to display the url like this: <tt>{noformat}http://81.131.254.171:8080/apex/f?p=122{noformat}</tt>
    Do you mean that the URL is displayed like that? If so that doesn't seem particularly helpful. How is anyone supposed to know what it is?
    There are many ways to provide links in APEX&mdash;including lists and nav bars.
    Where the link is to another resource located on the same server (such as another page in the same app, or a different app in the workspace), relative addressing can be used, making it unecessary to include scheme, domain and port information in the URL. For example, if the page to be linked to has a page alias <tt>ABOUT</tt> in an application with alias <tt>UNITY</tt>, and the apps share an authentication scheme/cookie to permit shared sessions, then the link URL is simply
    f?p=UNITY:ABOUT:&APP_SESSION.

  • Get current page url

    I need to grab the current page url. What is the pl/sql api to do this?

    You find it in the page_url field of the portlet_runtime record in the wwpro_api_provider package.

  • Function for getting full current page url

    Hello Everyone!
    Is there a funtion to get your full current page url? With
    the
    http:// and possible url variables?
    Thank you!

    > <cfoutput>#"
    http://" & CGI.HTTP_HOST &
    CGI.SCRIPT_NAME &
    IIf(len(trim(CGI.QUERY_STRING)),DE('?'),DE('')) &
    CGI.QUERY_STRING#</cfoutput>
    Unless it's HTTPS, or running on a port other than 80... ;-)
    I don't have access to an HTTPS-running server @ present,
    otherwise I'd
    provide a more helpful answer. However there are two
    additional CGI
    variables which get set to (something) if the request was
    made via HTTPS.
    To deal with the port, there is CGI.SERVER_PORT. If it's
    other than 80 (or
    443 if HTTPS), the one should include a colon and the port
    number after the
    HTTP_HOST value.
    Adam

  • Home Page URL without "/index.html"

    Is there a way to change the Home Page URL of a MUSE website so that "/index.html" does not appear after the .com?
    I'm concerned that Google will interpret our home page as a duplicate page.
    Thanks for your help in advance!

    In terms of getting friendly URLs, there are many server side ways to do this. Most servers on the web are Apache, and, if you feel brave, you can read up on .htaccess files to do redirects to more friendly URLs. They are complicated, and not for the coding faint of heart, so be careful. Note, though, that URLs created by Muse cannot take advantage of these friendly URLs automatically, and links would need to be manually pointed to the right place through the hyperlinks drop down.
    However, let's talk about the root fear here: SEO. Having index.html on the links is not known to have any negative impact on your site's SEO. There is no official source from either Google or Microsoft on the topic that states anything solid on the topic. Both do have information regarding duplicate content, and Google comes the closest to actually making a comment by stating that links should be consistent. When using Muse's page linking functionality, we will output all links to be consistent everywhere in your site, and as such, will comply with Google's SEO guidelines in this regard.
    In regards to duplicate content, the filename index.html is a special filename for websites and webservers and is the default page name on most servers. Servers with server-side languages and with other configurations like the one I mentioned above can have different names, but this is the most common by far. Without extra configuration, your server will serve both index.html and / as the same page regardless of wether or not it is a Muse site. Google and Bing, in our experience, are smart enough to merge the two files without any trouble, but the proof is in the pudding, as they say. There is a simple test you can use to check and make sure they are doing the proper thing. If you would like to verify that there are not duplicate results in the search, simply go to Google or Bing and search for "site:http://www.mydomain.com Home" without quotes. Just replace your domain name in there, and search for your homepage title, and you should see your homepage listed. In every Muse site I checked (just pulling ones at random form the site of the day) there was only 1 listing for the homepage, indicating there was no confusion by the search engines. If you'd like to clarify or check things further, you can always use Google's WebMaster Tools to take additional actions in informing Google about your site.
    We care about the SEO of your sites and do our best to ensure that things we can do automatically, we try and cover for you. We are always making improvements in every area of our code, and this is one area in particular we know you all are passionate about. Unfortunately, the area of SEO has a lot of misinformation, misunderstandings, and unknowns that spread very quickly and will get adopted without a real understanding. In addition to doing our best to comply to good SEO practices, we also do our best to make sure we're not filling your sites with false remedies and cheap tricks that don't quite work. When we look at new features, we think about their impact on your sites, on SEO, and on what we can do to improve both your and your website visitor's experience. For example, when we added mobile and tablet layouts, we also added canonical and alternate meta tags to your pages so that search engines knew about the duplicate content, and also knew where and when to redirect users. And as new things come out, we'll continue to do our best to have the same amount of due diligence in ensuring you rank as high as possible for your searches. And we'll continue to examine areas where we could use improvement, and do our best to make them whenever we can.
    Hopefully that clears things up a bit.
    Andrew Hushbeck
    Muse QE

  • Firefox not displaying current page URL in address book.

    Firefox is now showing the URL data for the most recently opened tab in every address bar rather than the actual data for the page opened within that tab. For example, tab 1 is opened to wsj.com and tab two is the opened for foxnews.com, suddenly the address bar for tab 1 is now showing foxnews.com in the address bar AND it is now impossible to go 'back' because the back button is greyed out. Additionally, if a link is clicked from within the current tab, the URL in the address bar does not change but remains 'fixed' on the address opened in the most recently opened tab.
    == This happened ==
    Every time Firefox opened
    == 20 June 2010

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • How do I open a new window (cmd + N) on the current page (url) NOT my homepage?

    Before I updated to firefox 28, I was able to hit cmd + N and it would open a new window with the exact same webpage I was on. Now it opens a new window with my homepage. I'm assuming I had an add-on or extension, but I am desperate to be able to do this again. Ideas?

    This is an oversight by the developers of the latest FireFox revision: a great shame, as the overall feel of the browser has patently been improved.
    Xabolcs has come up with a nice fudging idea; if it were to work; but sadly it doesn't for me....
    As mentioned by MGprof, the latest version of FireFox (May'14) now opens one's "homepage" instead of a new blank window.
    As my "homepage" is almost a dozen tabs; this is worse than useless. It's like starting FireFox again; and then having to close a whole string of unwanted tabs!
    To compound my frustration, the "move to a new window" option disappeared on another recent FireFox "upgrade"; but I managed to get round that by copying an url from a tab, then opening a new blank window, to paste the url into.
    So, is there any possible way to open a new window in this latest version of FireFox?
    I just want to be able to open a new FireFox window; and I'd be happy with it being either blank, or duplicating the url of a currently-showing tab.
    This would allow view of one trimmed-size webpage in front of another one, showing in a selected tab in my normal-use multi-tab window: useful when comparing complex images, for example.
    I have just installed the above-recommended "duplicate-2-window"; but can't make it work for me.
    I've assumed "no-restart-necessary" claim is correct; but using cntrl+N, I now get a new blank TAB!
    I'll try rebooting next, and post here again if that improves the situation; but don't hold your breath!
    Meanwhile, if the developers are watching out for feedback..................................... please sort this, by putting back the "open a new window" option: I do NOT want to have to use Gugl-Krohm!

  • Store current page url into a string

    What method do i use to store the url of the page that the applet is being viewed?
    The reason i need this is because my applet would produce a different output if the url was http://dimg.biz/1.php as opposed to http://dimg.biz/2.php.

    getDocumentBase(). It's a method of Applet.
    It's right there in the API docs.

  • DMP 4400 Browser Command for refreshing Currently Playing URL

    Looking for a "SET" command that will allow me to refresh the "Currently Playing URL" without rebooting the DMP.
    I need a refresh BROWSER URL command so that Users do NOT have to repush unique individual Presentations when making a change to a shared / referenced Playlist, but rather have the ability to select a single System Task that would issue the refresh Browser URL command.  
    I'm aware of the following command, but this requires the specific URL to be known, which defeats the purpose of having a general URL refresh command:
    http://<dmp_ip>:7777/set_param?mng.command=start+video+<URL>
    Anybody know if other param / syntax options exist for accomplishing this task?

    Hi Mark,
    I went as far as disassembling the sysmng binary and I found a number of features I hadn't known about the existence of before, but nothing that I can clearly identify as causing a refresh.
    I've been trying to get my hands on a development reference or something because there are probably more than 100 functions and I only know what several dozen of them do. Then there are differences between the 4310/4400 presentation mechanisms. Sounds like I need to power on a 4400 and poke around at it.
    The approach we're using on the 4310 is to load a local page stored on the DMP in file://tmp/ftproot/usb_1 , and that happens to be a .swf flash template that listens to remote commands to refresh or reload or do whatever we want to it. We control it as an interactive function of the .swf itself rather than via sysmng commands.
    So for us, the second command below to reload always points to the same file://xxxxx path and we don't need to independently determine the playback URL.
    Another idea would be to point the playback URL to file://xxxxxx/file.html and have that frame or refresh external content. But then you would have to manage "file.html" on the DMP and execute the second refresh command below. You say that server side execution isn't going to work for you, but perhaps scp/sftp of a file containing the presentation URL would work for you instead?
    Or... say, using the sysmng function to execute a wget command, to stage file.html on the DMP's file system? Have never tried that but that goes to illustrate that there are a lot of different ways to accomplish something on the player.
    If I find a better answer about a built in function being a /better/ way to accomplish that (or if I stumble on something unique to the 4400) I will let you know.

  • Get current HTML URL into flash with LoadVars and ColdFusion

    I need to get the current page url and pass it into flash.
    I'm also using ColdFusion. Is there an easy solution?

    I gave up on bringing in the URL and parse it into a string,
    there is too much I don't understand. I put in two commands in the
    HTML where the Flash movie is sitting:
    1. <param name="FlashVars" value="airport=sbn"/>
    2. and in <embed src I put in, Flashvars="airport=sbn"
    "airport" is the variable in Flash (it is called as
    "_level0.airport" in the Flash file) and "sbn" is the variable
    definition for 12 of the files. I will just find "sbn" and replace
    it with the new airport name in the next set. It's not very slick,
    but it's better than having to create a new navigation for every
    airport. Thanks for the help.

  • Shorcut key to print current page

    hi everyone,when viewing a page,is there any shortcut key that i can press to print the current page automatically without going through print(in the taskbar) - current page - ok.

    Not that I'm aware of, which is why I developed this tool that allows you to quickly print the current page with a single click:
    http://try67.blogspot.com/2010/01/acrobat-quick-print-button.html

  • How to open a URL without session ID and reuse the current browser session?

    Hi All,
    I have a question about HTMLDB 2.0
    How to open a URL without session ID and reuse the current browser session?
    That was the behaviour in HTMLDB 1.6 ...
    My usecase for this is the following:
    We have written an issue tracking application, which sends e-mail to the interested users, when something happens.
    In these email we've put a link to some page, with some parameters in the URL.
    The idea is for the user to be easy to click on the hyperlink and to see the details of the ticket.
    When the user clicks on such a link he is directed to a login screen (page 101) and he enters his Username and password, and is then forwarded to the details for the ticket.
    Then he receives another email (e.g. for another ticked). He clicks on the link and :
    a) in HTMLDB 1.6 he goes to the details as he didn't close his browser and session is remembered
    b) in HTMLDB 2.0 he is prompted to enter username, password with the username populated
    Please tell me how can I achieve the same behaviour in HTMLDB2.0 as it was in HTMLDB 1.6.
    I understand this change is somehow security related, althogh I don't understand how. If you can explain this either I would be very happy?
    Best regards,
    Mihail Daskalov

    Mihail - I detailed a couple of approaches here: Re: Application Link
    Scott

  • Referrals without host:port in LDAP url

    Hi,
    I have a data tree I want to replicate. The only way I can do it is to chop the tree out into different branches but I would like to keep a virtual tree for the applications that are currently working against my directory.
    I've created some new databases and some smart referalls like
    ref: ldap:///ou=newobjects,o=objects
    The problem is that it seems the ldap_search_s function can't follow this referrals without host:port (ldapsearch tool in Linux follows the referrals properly but using the C++ API it doesn't work). Is there anyway to create the referral without references to host:port, I mean to make the referral point to the another entry at the same server instance and to get the same behaviour in any server.
    Thanks in advance
    Jorge Ortiz

    I have some information for you. Please post this question at secnews.netscape.com:netscape.server.directory for a follow up

  • Return url for the current page

    Hi,
    I would like to know how to return the url for the current page?

    These are my preferred choices:
    request.getRequestURI() will give you the relative path from root. For example:
    /mypages/thepageIamon.jsp
    request.getRequestURL().toString() will give you the full path. For example:
    http://www.mysite.com/mypages/thepageIamon.jsp
    Hope this helps.

  • Collecting the URL for the current page..

    I'd like to collect the complete URL that created the current page. I'd like to pas this information to a succeding dynamic page, so that I can return to the current page.
    I have tries using the OWA_UTIL.get_cgi... routines but they seem to be lacking the parameter list to make them complete. The path and page, but no parameters.
    Is there an API routine or a technique to accomplish this in PL/SQL?
    Thanks,
    Stuart

    We had the same problem at a project, we solved it with the use of javascript. If you want an example mail me at [email protected]
    arny

Maybe you are looking for

  • Is a file (or directory) writeable?

    I am using Visual Studio 2010 and am trying to find the answer to a very simple question (I thought).  Given the path of a file or a directory, is the user allowed to overwrite the file or write into the directory? I coded the following:             

  • Restriction of purchase order with valution type

    Dear, I want to restrict the valution type with the document type of purchase order type, Can i do it? E.g My valution type is Fg-dom, I want to use this valution type in stock transfer order , Restrict in other doc.type

  • Ap 1200 cannot find bootable file

    My AP 1200 cannot find the bootable file. It only gives me "ap:". Very little option to work with. When I do "dir flash:", I only have env_vars, private-config and private-multiple-fs three files in my flash. Does anybody know how to rebuild config o

  • Can't Create Planning App. when CSS Properties is defined

    <p>I'm using Hyperion Planning 4.0.1 and Essbase 7.1.3. All my appsare configured for Hyperion HUB. But if I setup the CSS propertiesfor Hyperion HUB, local file or whatever else I receive an errorand the application is not created.</p><p> </p><p>The

  • Workflow Error in SRM 4.0

    Hi everyone, I have a simple question about SRM, When I try to edit my PO, system returns with error mesage "Document has still been prossesing in background, please try again later" I tried to use SWUE with the GUID number of PO, after that the stat