Redirect to url by default apex

What determines where the url by default http://domain:port / apex redirects?
This default page can be changed to redirect to another page?

I would like to than the base http://domain:port url / apex to redirect to a page that has been created instead of the login and password page / default redirect workspace. Is it possible to do?

This page currently redirects

http://domain:port/apex/f? p = 4550:1:631371739005701

I want to http://domain:port / apex to redirect to http://domain:port/apex/f? p = 101:1


Where is the info for this page?
Which table in the database?

It seems that the best thing would be to have the redirection of dmz
http:/domain to http://domain:port/apex/f? p = 101:1 instead of http://domain:port / apex but my service COMPUTING said that's not possible.

They can only redirect http:domain to http://domain:port / apex



Published by: jarymo on 4 December 2012 15:10

Published by: jarymo on 4 December 2012 15:12

Published by: jarymo on 4 December 2012 15:15

Hello

It depends on which web server you are using.

There are OSH dads.conf line that define the default page

PlsqlDefaultPage apex

In configuring the listener file config.xml - apex APEX

apex

If you use EPG, it might help
http://dbswh.webhop.NET/HTMLDB/f?p=blog:read:0:article:1000

Kind regards
Jari
-----
My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai

Tags: Database

Similar Questions

  • Problem after migration Apex 4.0-> 4.2.4, "Redirect to URL" button is no longer working

    After the migration of the Apex 4.0 tot Apex 4.2.4 encounter us the following problem:

    A button on a page.

    Action click on the button: "Redirect to URL.

    Target URL has not changed during the migration:

    http:// & G_REPORT_SERVER./reportserver?/Projectadministratie/Ambtelijke%20Voortgangsrapportage & rs:Command = render & rs:Format = PDF & rs:ClearSession = true & P_PROJECT_NUMMER = & P4_PA_PROJECT_NUMMER. & P_USERNAME = & APP_USER.

    After pressing the button, front (apex 4.0) he gave a download of the generated report.

    Now the Apex session window url goes to "http://serv123/reportserver?/Projectadministratie/Ambtelijke%2520Voortgangsrapportage & rs:Command = render & rs: Format = PDF & rs: ClearSession = true & P_PROJECT_NUMMER = 100002 & P_USERNAME = xxx111"

    And we get this error:

    Reporting Services error


    • The element ' / Projectadministratie/Ambtelijke%20Voortgangsrapportage' is not found. (rsItemNotFound) Get help online

    SQL Server Reporting Services

    All this was in the application before I started working here and I have no idea if this is the right solution.


    Found the anwser or more solution.

    Detailed examination revealed that what was 20% in the building of the URL has now changed by Apex % 2520.

    Solution replace the %20 by +.

    Rob

  • How to redirect the URL in block expection Apex 4.2

    Hi team,

    In our application, we wrote this logic as shown below

    Before the point of the process of the header: On Load before header.

    BEGIN
       IF (:p1_display_eid) IS NOT NULL
       THEN
          SELECT modified_date
            INTO :p1_modified_date
            FROM test
           WHERE id = :p1_display_eid;
       END IF;
    exception 
    when no_data_found then
    --Here i need to redirect URL to other screen 
    
    end;
    

    Kind regards

    Sruthitamiri

    Sruthi Tamiri wrote:

    In our application, we wrote this logic as shown below

    Before the point of the process of the header: On Load before header.

    1. BEGIN
    2. IF (: p1_display_eid) IS NOT NULL
    3. THEN
    4. SELECT modified_date
    5. IN: p1_modified_date
    6. OF the test
    7. WHERE ID =: p1_display_eid;
    8. END IF;
    9. exception
    10. When no_data_found then
    11. -Here, I need to redirect the URL to the other screen
    12. end;

    You can do it programmatically by using the owa_util.redirect_url method:

    BEGIN
    
      IF (:p1_display_eid) IS NOT NULL
      THEN
          SELECT modified_date
            INTO :p1_modified_date
            FROM test
          WHERE id = :p1_display_eid;
      END IF;
    
    exception
    
      when no_data_found
      then
          owa_util.redirect('');
          apex_application.stop_apex_engine();
    
    end;
    

    However I don't like the various side effects inherent in this code. It is not obvious to a developer looking at the page that executes a process will result in changing session state or the redirect to a different URL. It may involve additional database access, but I think I would prefer to implement this as a conditional branch by using a condition is no SQL, and a later calculation to set the value of the page...

  • Redirect to URL.

    Hi, could someone help me with the syntax of url creation. I have the page for the download of images. This page in another page. When the user downloads or cancels the download process, it should be redirected to the previous page (record specific). I must add that I clear the cache so I redirect the user by using the syntax of the url in the optional section redirect the URL of the button. What is the syntax? I tried to use it, but it does not work

    http://IP:8081/apex/f? p =: APP_ID:FLOW_STEP_ID:SESSION:NO:P9_RECORD_ID: and here I need application point which is a record ID.

    Thank you

    Robik

    Try something like the one below.

    http://IP:8081/apex/f?p=&APP_ID.::&SESSION.::NO::P9_RECORD_ID:&APP_ITEM_FOR_RECORD_ID.
    

    CITY

  • Question buttons, redirect optional URL and "Set points".

    Hello Apex experts... and others!
    I tried to use the "redirect to URL Optional" and "Set POINTS" a button to initiate new elements of page target.
    It does not, the target_page elements are not being updated!
    Deletion of the redirect URL and create a branch when 'NEXT' and assigning the same target page elements works fine
    What is the difference?
    When should I use the "Optional URL forwarding" option?
    / Curious Guan

    When the creation of a button if you select "Create Button in a position of region" button becomes an of the Page "button, if you select 'Create a button displayed among the elements of this region', it becomes just a button or a region...

    V/R

    Robert

  • Optional redirect to URL in branching on the same page

    Hi guys,.

    I'm trying to use the optional redirection URL when branching from one page to another. In my case I insert a new record of Page 12, here are the details of the Page 12:

    Page 12 contains a row-extraction automated process that runs after the header.

    I have a connection with an optional URL forwarding option that takes me to the same page 12, click on the Save/Create button to create a new record. I'm defining the key primary and other form values and save the session state. However, once the data are inserted into the table, using the redirect option URL gives me no data found message.

    Could someone please help me to and explain what I'm doing wrong here?

    Thank you
    Rohan

    Hello

    Add this line in your code just after calling "set_session_state". Run the page in debug mode. Debugging must show a line like «value PK recover...» ». Don't you see a valid value?

    wwv_flow. Debug ('PK retrieved value =' | v_ccpPK_nr);

    CITY

  • URL of default product in case of multiple catalogs

    I have a strange situation with a configuration of ecommerce.

    Customer has a product in the two catalogues. One for the general public and the other for wholesalers (behind a secure area).

    The URL of the product are so something like:

    in line-shop/sub-sub-catalog/product-name

    and

    wholesalers/sub-sub-catalog /-name of the product

    Now, on the public site, they have a product that has the above designated product as a Up-Sell/Cross sell related products.

    The problem is that BC renders the URL of wholesalers for this product when it is listed as a related product, so public users get a page access denied when you click on this product.

    I first thought that affecting the canonical URL to the URL of the public catalogue will arrange but it had no effect.

    BC seems to use the latest catalogue (in alphabetical order) which is attributed to the product as the default URL.

    So the only way I can see to resolve this is to rename catalogs to change the alpha order - but is obviously not if possible.

    (but then the wholesale customers will have something similar, though not as bad)

    I don't think that we can access the different product URLS via module_data / liquid and adjust the product URL programmatically assimilated? or can we?

    Can't think of a way to solve this problem?

    I have the same problem. Upsell-Cross sell products jumping around to one of multiple catalogs not the value default language (or the top of the list).

    Links get generated by the present: the displayed catalog would be chosen on the ID account less.

    ID # are generated in the system.

    You can use the URL redirects.

  • Redirects the URL for paths ending in ' / '.

    Hi all!

    I have a site that's been replicated in British Colombia, which is former location links are indexed in Google with URLS ending with a ' / '.
    for example ' / on / ' and ' / services / '.

    Under the section of redirects of Pages; I tried to adjust page source as ' / on / "with a redirect to" / about.htm "but accessing to http://www.domain.com/about/ returns a"404 page not found".

    I also tried to change the URL of the on the page is ' / on / ', which led to a 404 error too.

    I have added a few custom JS to my page 404 system to manage these and redirect the visitor, but y at - it another way?

    Can I create a folder called 'about' and place in it a default document as "default.htm" and all it's a permanent redirect to the right page?

    So that browsing to " " http://www.domain.com/about/ "would return the default file in the folder"about". "

    Concerning

    Mike

    Hi Mike,.

    Whenever you have a url which is /something/ it is a folder.

    To post a link to the page you have index.html in this folder.

    So /something/index.html is the same as /something/

  • How to dynamically change the host name in the Pages of the URL of the APEX

    Dear gurus,

    Please advise me on how to dynamically change the hostname in the URL used in the pages of the APEX.

    For example: I have the below URL in one of the apex pages.
    owa_util. REDIRECT_URL ("http://adminlxdb03.texas.org:7780/pls/htmldb ' |' / f?") p ='|| v ('APP_ID') | ": 151:" | " v ('APP_SESSION'));

    in the case of a Migration of this apex from one server to another (for example, TEST the PROD box), this / these pages are wrong because the different host id name in the PROD box.

    Is it possible that we can dynamically change the hostname in the URL used in the pages of the APEX.

    for example
    owa_util. REDIRECT_URL ("http://adminlxdb03.texas.org:7780/pls/htmldb ' |' / f?") p ='|| v ('APP_ID') | ": 151:" | " v ('APP_SESSION'));

    should become

    owa_util. REDIRECT_URL ("http://adminetuxdb09.texas.org:7780/pls/htmldb ' |' / f?") p ='|| v ('APP_ID') | ": 151:" | " v ('APP_SESSION'));

    It's adminlxdb03.texas.org (TEST) at adminetuxdb09.texas.org (PROD).

    If the page has no error...

    Please notify.

    Thank you
    Sheik

    You don't need to provide the hostname while redirecting in the pages of the apex

    owa_util. REDIRECT_URL ('f? p ='| v ('APP_ID') |) ": 151:" | " v ('APP_SESSION'));

    should work just fine.

  • The URL requested/pls/apex/procedure is not found on this server

    Hello

    I'm moving to a new server, applications and spin the issues with file download procedures.

    I received the following error message when you try to upload a blob by using the procedure:


    Forbidden

    You don't have permission to access the/pls/apex/PDSQADB. CUSTOM_IMAGE_DISPLAY on this server.


    Based on this post (Re: DOWNLOAD Custom default after upgrade to 3.1.2 we have implemented comment line for authorization of the DADDY configuration file):

    < apex/pls/location >
    Order deny, allow
    Docs PlsqlDocumentPath
    AllowOverride None
    PlsqlDocumentProcedure wwv_flow_file_manager.process_download
    PlsqlDatabaseConnectString ServerAlias:1521:SBox ServiceNameFormat
    PlsqlNLSLanguage AMERICAN_AMERICA. AL32UTF8
    PlsqlAuthenticationMode Basic
    SetHandler pls_handler
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDatabaseUsername APEX_PUBLIC_USER
    Apex PlsqlDefaultPage
    PlsqlDatabasePassword apex_user
    #PlsqlRequestValidationFunction wwv_flow_epg_include_modules.authorize
    Allow all the
    < / location >


    This allowed execution of procedure (below):

    create or replace PROCEDURE "CUSTOM_IMAGE_DISPLAY" (p_image_id in number)
    as
    l_mime VARCHAR2 (255);
    number of l_length;
    l_file_name varchar2 (2000);
    lob_loc BLOB;
    Start
    Select mime_type, blob_content, dbms_lob.getlength (BLOB_CONTENT)
    in l_mime, lob_loc, l_length
    from ds_documentation where id = p_image_id;
    -Set up the HTTP header
    -Use a NVL around the mime type and if it is a null value, set it to
    application/octect - who can initiate a download of windows window
    owa_util.mime_header (NVL(l_mime,'application/octet'), FALSE);
    -Set the size so that the browser knows how to download htp.p ("Content-length: ' |") l_length);
    -The name of the file will be used by the browser if users is a htp.p "save under" ("Content-Disposition: filename ="' | l_file_name |) '"');
    -Close the headers
    owa_util.http_header_close;
    -Download the BLOB
    wpg_docload.download_file (lob_loc);
    end;


    Here is the URL of the link in the report:

    #OWNER #. CUSTOM_IMAGE_DISPLAY? p_image_id = #ID #.


    There is another application in the same workspace, but the other schema using an identical procedure and the url link that gives the following error:

    Not found
    The/pls/apex/EDSQADB requested URL. CUSTOM_IMAGE_DISPLAY was not found on this server.


    The following grants have been applied:

    Name of the constituent object of the privilege dealer
    YES EDSQADB CUSTOM_IMAGE_DISPLAY PUBLIC PERFORMANCE
    DEBUG THE PUBLIC YES EDSQADB CUSTOM_IMAGE_DISPLAY


    Entire area suggestions greatly appreciated.

    Thank you
    Matt

    The error with the 'CPIT.file_download' might be missing privileges. Run the statement below as "sys" and check if it solves the problem.

    Grant execute on CPIT.file_download to apex_public_user;

    CITY

  • Routing of URL of application APEX using the HTTP Server

    Hello

    I want to route two URLS for two different applications in one single APEX.

    for example

    www.mydomain1.com to http://www.mydomain.com/apex/f?p=100 | http://xxx.xxx.xxx.xxx/Apex/f?p=100

    www.mydomain2.com to http://www.mydomain.com/apex/f?p=200 | http://xxx.xxx.xxx.xxx/Apex/f?p=200


    I understand the way to achieve this is second-hand HTTP server... it's very well... it was built and works with standard http.conf

    My understanding is that I should add the following to HTTP. CONF

    < VirtualHost www.mydomain1.com >
    ServerName www.mydomain1.com
    DocumentRoot "G:/route1.
    < / VirtualHost >

    < irtualHost www.mydomain2.com >
    ServerName www.mydomain2.com
    DocumentRoot "G:/route2".
    < VirtualHost >

    G:/route1 directory I created a HTML index www.mydomain1.com/apex/f?p=100 redirection file
    G:/route2 directory I created a HTML index www.mydomain1.com/apex/f?p=200 redirection file


    That I put in place and it works

    BUT

    I do not look very elegant, time which is a bit slower while he rediects and some firewalls do not rediections

    Ideas of improvements or the best way to achieve this is welcome

    Thank you

    Pete

    Hi Pete,.

    A few different ways to do it, but if you use mod_rewrite, you can use some rewrite rules, for example:

    
    ServerName www.mydomain1.com
    ServerAlias www.mydomain1.com
    
    ProxyPreserveHost On
    RewriteEngine On
    
    RewriteRule ^/$ /pls/apex/f?p=100 [R=301,L]
    
    

    Or if you are using a reverse proxy:

    
    ServerName www.mydomain1.com
    ServerAlias www.mydomain1.com
    
    ProxyPreserveHost On
    RewriteEngine On
    
    RewriteRule ^/$ /pls/apex/f?p=100 [R=301,L]
    
    ProxyPass /pls/apex http://foo:7777/pls/apex
    ProxyPassReverse /pls/apex http://foo:7777/pls/apex
    ProxyPass /i http://foo:7777/i
    ProxyPassReverse /i http://foo:7777/i
    
    

    Hope this helps,

    John.

  • New tab. Show only the URL by default; no history

    My default URL is 'google.com'. When I open a new tab, I want to show him as "google.com" and nothing else. Can you help me to do? I am running MAC OSX 10.9.5.

    Enter about: config in your address bar, press ENTER. Accept the warning.

    Search for browser.newtab.url, change the value to www.google.com

    Search for browser.newtabpage.enabled, change the value to False

  • Problem of URL in the apex 5.0

    Hi all

    I use the application express 5.0 with glassfish Server 3 and open source of ADR 4.1 on windows server 2012 with oracle database 12 c.

    When I click on the application, it runs successfully and is similar to the URL below

    http://MyPC : 8080/ADR/f? p = 112:1:6295077418613:

    but when I try to run it as

    http://MyPC:8080/ADR/f? p = 112:1

    It does not work.

    Why?

    He worked like that in apex 4.2

    Please guide.

    Kind regards.

    Hello

    the call to d2.sql would be just

    @d2 10867
    

    10867 is your identifier for debugging. But I think I see what is the matter. The overview shows that ADR uses the user ORDS_PUBLIC_USER instead of APEX_PUBLIC_USER. Especially for public applications that use authentication DAD (no authentication), this user name is used to identify if it is a public meeting and unauthenticated.

    So for me, it seems that your installation of ADR is incorrect. Please take a look at http://docs.oracle.com/cd/E56351_01/doc.30/e56293/install.htm#AELIG7180 and http://docs.oracle.com/cd/E56351_01/doc.30/e56293/install.htm#CHDGAAHJ

    It is important to use the APEX_PUBLIC_USER for the question of the PL/SQL gateway and not re-use ORDS_PUBLIC_USER.

    Hope that give a direction

    Patrick

  • Default Apex 5 main Navigation to closed

    Hi, is it possible to configure the new Apex 5 hand Nav to a State closed on each page?  I could code something to do this, but I feel that there is a setting somewhere that I'm missing configuration.  I have a page at random which does this automatically, but the rest of my pages are not.  I could not find why this page comes with a .js-navCollapsed class while others come .js-navExpanded.

    Thank you

    Hello

    Please indicate the block of code on every page in which you want to start always collapsed by default next navigation bar:

    .about $(window) ("theme42ready", function() {}

    If ($("body").hasClass ("js-navExpanded")) {}

    $("#t_Button_navControl").click ();

    }

    });

    Please note that this code may not work in APEX5.0.1 - at this time, we hope to have a much better way to set the State of these different widgets.

    Kind regards

    Tim

  • Redirect to URL processing conditional step problems

    So I'll try to set up a redirect to the URL processing step that will redirect only some single select drop-down values.

    Example of menu drop-down

    Apples

    Grapes

    Oranges

    Grapefruit

    Bananas

    Plums

    In the "redirect to the URL" I have it being directed toward my URL, then in "this treatment step is executed" only if they following the condition are met:

    Value of result is = apples or grapes

    But, this doesn't seem to work. I can make it work with fair say apples, but really, I don't want to create several processing steps in each form that I have to do.

    I think it should be something with Boolean and wildcard characters, but can't seem to find the combination. Has anyone ever used this?

    John

    Hi John,.

    You can actually use a choice list for all fly out of a field. So if you take your example of fruit, you would create a list choose where your fruits would be your option names, then the URL you want that each fruit to redirect to would be the value of your Option.

    Then, on your processing step, choose 'Form field' for the Source Type, select the field in your form that contains the drop to the bottom of the fruit, then check the 'Search' box and choose the list you created:

    This will allow you to store all your possible values on the menu drop-down with what URL they want. Make sure that the URL in your list of selection have been completed (including the "http://www").

    I hope this helps!

    Kim

Maybe you are looking for