Redirect using EPG?

I'm using APEX 3.1.2 on *11.x* with the Embedded PL/SQL Gateway *(EPG)*, not Oracle HTTP Server. Is there a way to redirect requests for the base URL to an APEX app? When someone enters http://some-domain.com, I want that to redirect to http://some-domain.com/apex/f?p=102. I know how to do this with OHS using mod_rewrite, but the architecture of this app is extremely XDB centric so we're using the EPG.
I thought I remembered an example of this, but after a lot of searching, I couldn't find it.
Thanks,
Tyler

Tyler,
As far as I know there is no redirect capability in the EPG. One thing you might try is to create a DAD for the root directory of the web server, e.g. "/" and then set the default-page attribute to your app/page. I believe you would use the standard f?p=100:101 kind of syntax.
Earl

Similar Messages

  • How do I stop Firefox from opening a new tab when I click a link or navigation button (such as "home") instead of redirecting using the currently open tab?

    Any time I click on a link within a page, such as the "home" link in Facebook, or the various links on the Mozilla page that I needed to follow to get to this screen, Firefox opens a new tab instead of redirecting using the tab I'm on. Also, Firefox doesn't go to the new tab, it just opens it. So if I want to actually go to the page I've just clicked on, I have to then also find and click on the new tab that just opened.

    Hello,
    In safe mode link still open in new tabs?
    *[http://mzl.la/MwuO4X Firefox in safe mode]
    Go to '''about:config''' and search for:
    *'''browser.tabs.loadInBackground''' change its value to '''false'''.
    If in safe mode the links still open in new tabs try go to '''about:config''' and search for:
    *'''browser.link.open_newwindow''' change its value to '''3'''.
    *[http://kb.mozillazine.org/About:config about:config]

  • HAP_DOCUMENT BSP redirect using the BADI HRHAP00_BSP_TMPL

    Hi all,
    Below is my issue:
    Last year, We have modified the BSP HAP_DOCUMENT by copying it to Y_HAP_DOCUMENT. Now we had to make further changes to the BSP which had to be template specific.
    So we used the BADI HRHAP00_BSP_TMPL to redirect the document to a new BSP Y_HAP_DOCUMENT_V1.
    The iviews are pointing to the BSP Y_HAP_DOCUMENT, but when the BADI is hit its getting redirected to the V1 BSP.
    But the issue is that whenever the redirect BSP is used, the error messages are getting killed.
    Please let me know if anyone had a similar issue and if they were able to solve the issue.
    Thanks,
    Manasa
    I am using the

    Hi Luk!
    Sorry that i got back to you this late. Have you solved the issue?
    whenever we redirect using the badi for hap_document the control starts from layout_alternative.htm  view instead of the layout_sap_standard.htm. So if you copy paste the code from the sap standard view you will be able to redirect it.
    Hope this helps. Plesae reward hlpfull answers.
    Thanks,
    manasa

  • Http - http redirection using header-field rule

    Hi,
    Is it possible to configure an http -> http redirection using header-field rules if the CSS is NOT performing the SSL encryption/decryption ?
    We can get the redirect working not using the header-field rule but not with it configured.
    cheers,
    Mike

    Gilles,
    The header-field rule works to redirect the http traffic to a specific service, but we also want the header-field rule config under the port 443 content rule.
    Can the CSS see the header or is it encrypted ?
    service 10.10.10.1-443
    ip address 10.10.10.1
    protocol tcp
    port 443
    keepalive maxfailure 2
    keepalive retryperiod 45
    keepalive frequency 45
    keepalive type script testscript "10.10.10.1 4000 3179 archepns"
    active
    service 10.10.10.2-443
    ip address 10.10.10.2
    protocol tcp
    port 443
    keepalive maxfailure 2
    keepalive retryperiod 45
    keepalive frequency 45
    keepalive type script testscript "10.10.10.2 4000 3179 archepns"
    active
    service archepns_redirect
    keepalive type none
    type redirect
    no prepend-http
    ip address 1.1.1.1
    domain https://www-knowledge-epe.company.com
    active
    header-field-group archepns_url
    header-field Request-Line request-line contain "/archepns"
    header-field-group archepns_url2
    header-field Request-Line request-line contain "/archepns"
    content archepns-redirect-sso
    vip address 20.20.20.1
    protocol tcp
    port 80
    url "/*"
    header-field-rule archepns_url weight 0
    add service archepns-redirect
    active
    content archepns-443
    vip address 20.20.20.1
    port 443
    url "/*"
    header-field-rule archepns_url weight 0
    add service 10.10.10.1-443
    active
    content archepns-redirect-sso
    vip address 20.20.20.1
    protocol tcp
    port 80
    url "/*"
    header-field-rule archepns_url2 weight 0
    add service archepns-redirect
    active
    content archepns-443
    vip address 20.20.20.1
    port 443
    url "/*"
    header-field-rule archepns_url2 weight 0
    add service 10.10.10.2-443
    active

  • GPO Folder redirection using Powershell

    Dear,
    how can i configure a gpo for Folder Redirection using powershell.
    I would like to create gpo's with all kinds of folder redirection configurations using a script.
    Davy

    Hi,
    Just checking in to see if the suggestions were helpful. Please let us know if you would like further assistance.
    TechNet Subscriber Support
    If you are
    TechNet Subscription
    user and have any feedback on our support quality, please send your feedback
    here.
    Regards, Yan Li

  • How can I redirect APEX(EPG) URL with afrindly one

    Hi All,
    I am using APEX with EPG on oracle 11g, and I would to redirect the URL http://localhost:8080/apex/f?p=122:1:43920293912715::NO with a friendly one like this
    http://project_name.mydomain.com
    Is there any one can help me know; how to do this redirection where I would to hide the port no 8080 within the URL
    Thank you in advance
    Yassin

    Yasen® wrote:
    hi is this solution working for Apex on 11g with EPG? whrere to run this code?Yes, it should work on 11g with EPG.
    Using SqlPlus, log in as SYS and run the code posted by "user7449726" to change the path name and default home page of the DAD.
    To change the port from 8080 (the default) to 80, run the following as SYS using SqlPlus:
    CALL DBMS_XDB.SETHTTPPORT(80);
    ALTER SYSTEM REGISTER;
    Make sure you don't have anything else running on port 80 (such as Microsoft's Internet Information Server) or you will obviously get a conflict.
    - Morten

  • DW CS5, Sending contact form results to email with page redirection using php script

    I am currently building a site from scratch with Dreamweaver, with the intent of replacing my current website layout that was designed using Intuit's website builder. My dreamweaver site is not online, but i have setup a local test server on my computer, using XAMPP, and i have an apache server with a MySQL database and a mercury mailserver running. I mention that in case it makes a difference in your answers. If necessary, I can include those settings, but that may be asking too much.
    I have an html contact form for users to schedule service appointments. I need the resulting actioned php file to do the following after submit is clicked: verify certain fields have been entered; prevent spammers or verify human visitors; send the form results to a (hidden from public view of any kind) email address; redirect user to a confirmation page, or an error page.
    I found the following code but being less than a newbie im not sure what needs to be changed, or if its even the right script i should be using:
    5 <?php
    6 $email = $_POST['email'];
    7 $mailto = '[email protected]';
    8 $mailsubj = 'You Have a Service Request';
    9 $url = '/MyLandingPage.html';
    10 $req = '0';
    11 $mailbody = "Results from form:\r\n";
    12 $space = ' ';
    13 $line = '
    14 ';
    15 foreach ($_POST as $key => $value)
    16 {
    17 if ($req == '1')
    18 {
    19 if ($value == '')
    20 {echo "$key is empty";die;}
    21 }
    22 $j = strlen($key);
    23 if ($j >= 20)
    24 {echo "Name of form element $key cannot be longer than 20 characters";die;}
    25 $j = 20 - $j;
    26 for ($i = 1; $i <= $j; $i++)
    27 {$space .= ' ';}
    28 $value = str_replace('\r\n', "$line", $value);
    29 $conc = "{$key}:$space{$value}$line";
    30 $text .= $conc;
    31 $space = ' ';
    32 }
    33 mail($emailadd, $subject, $text, 'From: '.$emailadd.'');
    34 echo '<META HTTP-EQUIV=Refresh CONTENT="0; URL='.$url.'">';
    35 ?>
    Can anyone please illuminate me on what I need?
    Thank You in advance

    Take a read here, this might enlighten you a little.
    http://www.paulgdesigns.com/learncontactform.php
    You are doing this with your local testing server, is it set up to email?
    Gary

  • ABAP webdynpro app not redirecting using Outbound plug in portal

    Scenario-
    There is one Abap webdynpro application APP1 calling another abap webdynpro component Comp 2 through outbound plug on a button click. This is working fine if service is tested independantly.
    SAP ECC system is having a webispatcher and the application should be accessed using webdipatcher only i.e. ECC should not be called directly.
    SSL has been configured b/w ECC and webdipatcher.
    The Abap webdynpro application APP1 is integrated into portal using Abap webdynpro iview.
    Setting in Portal system are reffering to Webdipatcher for ECC system instead of ECC system directly.
    Issue-
    App1 is loading successfully into portal and all the data is coming properly but when trying to navigate to second component on button click it is not navigating. iview is getting refreshed but not redirecting to required component and is still on the same application.
    Please suggest the reasons and solutions if anyone has clue about it.
    Regards
    Deepak

    Hi,
    Please refer to these links -
    How to secure WDA over an external facing portal
    WebDynpro ABAP and Portal Navigation
    WebDynpro ABAP and Portal Navigation problem
    Please check for the portal eventing between the applications.
    Regards,
    Lekha

  • Issue with redirection using Document ID

    Hi All,
    I have a library with unique permission set, if a user who does not have access to the library tries to access a URL which has the document id (https://domainname/sites/Test1/_layouts/15/DocIdRedir.aspx?ID=UMZ2EEKCF25S-37-4), it gives the following message
    "No documents with the
    ID UMZ2EEKCF25S-37-4
    were found in this site collection" eventhough the item exist in the site collection. After giving View Only permission level to the user for the library, the DOC ID url gives access denied message as expected but the user get permission to View all the
    items in the library
    We have built a SP search based solution using DOC ID for redirection to a particular item in the library. It is misleading if it shows
    "No document with the ID found".
    Please help me on this.

    The issue is if a User who does not have permission (Permission is None, have set unique permission level) to access to a Library  item with the Document ID, then it gives the message "No
    documents with the ID UMZ2EEKCF25S-37-4were
    found in this site collection" though the Item exists in the Site/Library. This message is quite misleading since the item actually exists in the Site.
    I expect the message to be
    "Access denied".
    If I give user the permission
    "View Items  -  View
    items in lists and documents in document libraries",
    then it gives access denied message. If I give the permission "Open Items  -  View the source of documents with server-side file handlers."
    then it actually opens the Item.

  • ISE 1.2 Redirect using CWA Wireless

    Once a wireless user is authenticated to a WLAN using CWA and ISE, what are the parameters that can cause the user to be deauthenticated and redirected to the web portal?  The session timeout and user idle timeout in this scenario are set to 24 hours.  What else could cause the user to be redirected to the portal?

    Its a wireless controller bug.  You will have to get an engineering build from Cisco to resolve.
    CSCul43158
    Description
    Symptom:Wireless devices are randomly disconnected every 5-10 minutes with unknown policy timeout message in debug client - example:
    *apfReceiveTask: Nov 07 14:27:32.113: 00:11:33:d2:ef:0c 192.168.25.165 RUN (20) Unknown Policy timeout
    *apfReceiveTask: Nov 07 14:27:32.113: 00:11:33:d2:ef:0c 192.168.25.165 RUN (20) Pem timed out, Try to delete client in 10 secs.
    Conditions:Clients using Central Web Authentication (CWA).
    Workaround:none

  • JSTL: c:redirect using Post

    I am trying to find some documentation as to how I can redirect to a different jsp page using post method. What I am trying to acheieve is hide the parameters in the URL for the destination page. This is very critical.
    Regards.
    Priyesh

    Ok, understood.
    What you are specifying here is pretty standard stuff. Do some processing and then display success or failure.
    Is there any reason not to use a jsp:forward instead of a c:redirect?
    Given a choice, jsp:forward is always preferred, as it doesn't involve a round trip back to the client, and most of the time you are navigating to a relative page on the server (jsp:forward doesn't work for links in different servers)
    Will all the processing take place before onLoad is called ? Please correct me if I wrong. All JSP processing occurs before the page is even dispatched back to the client.
    Of course most of the time you just want to generate the page and send it back to the client.
    The only point of doing it this way including the javascript onload event to submit a form is to hide the parameters on the form as you were requesting.
    Hope this helps.
    evnafets

  • Redirecting using a new browser tab or window

    How does one send a redirect response to a new window or tab of a browser?
    Currently forwarding to a new URL with AOL function in a controller class using pageContext.sendRedirect("Initialize.jsp?queryString1="value"&OAFunc=UI...")

    Unless I'm missing something that's not what I'm looking for. I know how to open a pdf using Reader. I'm talking about opening a pdf directly off of a website to open in reader and not in Chrome. There used to be a box in edit>preferences that you could check/uncheck if you wanted to open the file in the browser or not.
    This solution I believe is File>Open then select the pdf I'd want to view.

  • TNS Refuse error after Redirect using RAC

    First off, I'm using the JDBC driver 10.2.0.4.0 with the "10g data store helper" selected in WebSphere against a 10g database configured for RAC.
    I don't have the configuration details for the database, but can get them if needed.
    WebSphere JDBC string:
    jdbc:oracle:thin:@(DESCRIPTION =(ENABLE=BROKEN)(ADDRESS = (PROTOCOL = TCP)(HOST = <FQDN-VIP1>)(PORT = 1521))(ADDRESS = (PROTOCOL = TCP)(HOST = <FQDN-VIP2>)(PORT = 1521))(ADDRESS = (PROTOCOL = TCP)(HOST = <FQDN-VIP3>)(PORT = 1521))(LOAD_BALANCE = YES)(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = <SN>)))
    Here are the TNS sequence of events for the connection failure:
    1) WebSphere makes a TNS Connect request to <FQDN-VIP3> using the data string:
    "(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=<FQDN-VIP3>)(PORT=1521))(CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVER=DEDICATED)(SERVICE_NAME=<SN>)))"
    [I can only guess that the driver comes up with this based on the WebSphere string]
    2) <FQDN-VIP3> responds with a TNS Redirect:
    "(ADDRESS=(PROTOCOL=TCP)(HOST=<HOSTNAME-VIP1>)(PORT=1521))"
    [FYI - the redirects respond with a hostname instead of FQDN, but the hostnames are resolvable by our WebSphere server]
    3) WebSphere makes a TNS Connect request to <FQDN-VIP1> using the data string provided in the redirect:
    "(ADDRESS=(PROTOCOL=TCP)(HOST=<HOSTNAME-VIP1>)(PORT=1521))"
    4) <FQDN-VIP1> Refuses the connection with the following error string:
    "(DESCRIPTION=(ERR=1153)(VSNNUM=169870336)(ERROR_STACK=(ERROR=(CODE=1153)(EMFI=4)(ARGS='(ADDRESS=(PROTOCOL=TCP)(HOST=<HOSTNAME-VIP1>)(PORT=1521))'))(ERROR=(CODE=305)(EMFI=1))))"
    This happens every time we receive a redirect back from the database.
    If the JDBC driver is going to use the Redirect connection string verbatim then it seems like the Redirect string should also contain a SID or SERVICE_NAME specification. Or, is the driver supposed to perform this function (rewrite the redirect), but isn't?
    Any help in determining what is causing this issue is greatly appreciated.
    Thanks.

    killsig9 wrote:
    This is starting to look like a driver issue.
    I have another environment where the RAC server load-balancing is working.
    It appears the driver should NOT be using the redirect string verbatim ("(ADDRESS=(PROTOCOL=TCP)(HOST=<HOSTNAME-VIP1>)(PORT=1521))") when it connects to the next Oracle server.That confirms the error stack code. I see error code 1153 being returned. Does not seem to be an ORA error (this refers to media recovery). As it is a network connection, it likely is a TNS error code.
    This is what the TNS error message says for code 1153:
    01153, 00000, "Failed to process string: %s"
    // *Cause:  The string specified is not well-formed.
    // *Action: Not normally visible to the user. For further details,
    // turn on tracing and reexecute the operation.
    // If error persists, contact Oracle Customer Support.
    // *Comment: Do not include in error manual.

  • Printer redirection using RDP ActiveX on Windows 8.1

    I am using RDP ActiveX to connect to RDP server. Printer redirection is not happening with Windows 8.1 using RDP ActiveX.
    Using MSTSC application printer redirection happens properly.
    It works fine with all OS except Windows 8.1.
    Windows 8.1 uses ActiveX 6.3.9600.
    This happens with Windows 7 also when ActiveX is upgraded to 6.3.9600
    Server is not installing Easy print when RDP ActiveX is used but works fine with MSTSC application.
    I tired to use the interfaces, IMsRdpClient5, IMsRdpClient7, IMsRdpClient8 and IMsRdpClient9 but did not find any success.
    Any help on this will be appreciated.
    Thanks,
    Albin

    Hi Albin,
    Thanks for posting in Windows Server forum.
    As this thread has been quiet for a while, we will mark it as ‘Answered’ due to policy and if there is anything new to update we will let you know by following up this thread.
    BTW,  we’d love to hear your feedback about the solution. By sharing your experience you can help other community members facing similar problems. 
    Thanks for your Support & understanding!
    Regards.
    Dharmesh Solanki

  • Help with redirect using an HTML content variable

    Hi All,
    I have created an update_user page to update records in the
    table, and
    when submitted I want to be redirected to another "page". I
    really only
    have one page, an admin.php page, with one of the div's named
    "main".
    It uses the HTML content variable to replace the include file
    based on
    its name:
    > <?php
    > if (!isset($_REQUEST['content']))
    > include("main.inc.php");
    > else
    > {
    > $content = $_REQUEST['content'];
    > $nextpage = $content . ".inc.php";
    > include($nextpage);
    > } ?>
    So what I want to do now is redirect to something like the
    following:
    admin.php?content=userList
    I have tried replacing the value of the variable $updateGoTo
    shown below
    to include the content variable as shown above, but it
    doesn't work. So
    I think I'm not understanding the code below and that's
    preventing me
    from accomplishing what I want.
    > $updateGoTo = "admin.php";
    > if (isset($_SERVER['QUERY_STRING'])) {
    > $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" :
    > $updateGoTo .= $_SERVER['QUERY_STRING'];
    > }
    > header(sprintf("Location: %s", $updateGoTo));
    Can someone explain to me what the above code is doing, and
    what I need
    to do to accomplish my task?
    Many thanks.

    Micha,
    Thanks for your replies.
    > HTTP requires an absolute URL in the Location header.
    You have to add
    >
    http:// and the hostname.
    Why does the relative link work on my testing server as I had
    it listed
    before? Making the link absolute isn't any great problem, so
    I'll just
    do it.
    > 1) Don't use $_REQUEST, it contains mixed data from
    three different
    > sources. If you want to access URL parameters, use
    $_GET.
    >
    > 2) _Never_ trust any user-submitted data! The above code
    allows remote
    > code injection:
    >
    >
    http://example.com/admin.php?content=http://malicious.server/hackme
    >
    > Make sure that $_GET['content'] contains an allowed
    value, before you
    > use it in an include statement.
    Thanks for the pointer, I'll use $_GET instead. This is a
    password
    protected area that is only accessible to trusted users with
    admin
    privileges, so I would think they would be safe. However, on
    the public
    side I'll consider creating an allowable list for all HTML
    variables.
    Thanks.
    Brett

Maybe you are looking for

  • On the printing slowness of Postscript produced by the JVM from calls to Graphics.drawString() (Linux/Unix)

    Happy new year, before the holidays my attention was drawn to an issue that supposedly the Postscript produced by the JVM is too big and hence too slow.  Here are my findings. The issue Text printing via CUPS to native Postscript printers can be slow

  • Access denied by Application security check

    I see that others have gotten this error when logging in but I'm getting this during an application install. I have an application in workspace A that I exported. I created workspace B, using the same parsing schema and the same workspace the schema

  • How do I get custom ringtone off my iPhone and into iTunes

    I recently reformatted my laptop and now I need to get my ringtones off my iphone and into itunes so I can back them up but when i check sync tones, iTunes is telling me it will erase all tones on my iPhone 4 and replace with tones on current iTunes

  • Can't create a skype folder don't have enough privileges

    Since I install OS X 10.6.8 I can't download big programs like Skype or Google Chrome. I downloaded skype, it will start the installation but at the end pop out a window saying that: "can't create a skype folder at/user/v..../Library/Application Supp

  • Tune workflow

    Dear all, Workflow 2.6.4 The below procedure consumes lot of time and oracle advises the below : Recommendation 1: SQL Tuning Estimated benefit is .58 active sessions, 29.74% of total activity. Action Tune the PL/SQL block with SQL_ID "6bd4fvsx8n42v"