Path aliases with mod_plsql

I'm trying to create a web application using PL/SQL. Not sure if this is the right forum but seemed the closest, if I should have posted somewhere else then let me know.
Ideally I want pretty much full control over the URL. I've got something working using a path alias function. The problem is, there doesn't seem to be a way to get at the GET/POST variables from a path alias function. Am I missing something? Conversely, there is no obvious way of getting at the path from a normal function but you get the parameters.
Is there either:
- A way to get the variables from a path alias function.
- Another way to support custom URLs with paths and variables?
- Some way to get to a lower level and take more control over the dispatching of methods by mod_plsql?
Thanks

The problem is I want paths and parameters. Flexible parameter passing only seems to work for non path aliased calls. Getting the path only works for path aliases calls. ie. You can have either-or but not both. My question is basically how can I have a single function that gets called with the path and parameters? Can you have a catch all function that runs regardless of the URL instead of mod_plsql trying to be fancy and dispatch things itself?
Edit: I think I may be able to use an Apache rewrite rule to force all URLs through a given function. And then manually parse the CGI path variable. It just seems horrible though. mod_plsql seems to have been developed with a very narrow set of requirements.
Edited by: D Roe on Jan 7, 2009 4:03 PM

Similar Messages

  • Is it possible to edit a path made with wacom tablet?

    i have a path (made with pressure using the paint brush) that has segments that do not handle a calligraphic style well.
    1. Can i somehow edit the path thickness of those segments? cut segments and redraw?
    i believe the line thickness is screwing up the calligraphic style. It could be a combination of the path thickness in conjunction with the calligraphic style as well.
    2. anyway to rotate a path style around the path to see if it looks better repositioned?
    TIA

    >1. Can i somehow edit the path thickness of those segments? cut segments and redraw?
    Once a pressure-sensitive stroke has been create you cannot change the relative thin/thick quality of the stroke. You CAN cut the stroke or add points to the stroke with the regular pen tool, or drag over a selected stroke with the brush tool to reshape it. To simplify the stroke with the brush tool, hold down "Option" as you trace the line with the brush tool.
    You can also cut the path using the scissors tool, then delete the portion you don't want. This method leaves the stroke width unchanged at the cut points. If you want the ends to appear more natural, add a point then delete just the point. The remaining two line segments will maintain a more natural thin/thick appearance. Don't bother using the eraser tool (CS3) on pressure sensitive strokes, as the pressure effect is lost.
    >believe the line thickness is screwing up the calligraphic style. It could be a combination of the path thickness in conjunction with the calligraphic style as well.
    Changing the stroke width of a brush stroke is one way to affect it's overall width. It also rounds the ends of the stroke, which may not be preferable. The other way to change the width is to change the setting of the brush itself, using the brush panel.
    >2. anyway to rotate a path style around the path to see if it looks better repositioned?
    Not sure what you mean. You can rotate the object the brush is using by editing the brush setting (double click the brush icon in the brush panel).

  • How to find PG.xml file name and path associated with a FUNCTION

    Hi,
    I am having a function:IRC_VIS_HOME_PAGE with Web HTML value as below:
    OA.jsp?akRegionCode=IRC_VIS_HOME_PAGE&akRegionApplicationId=800&OAPB=IRC_BRAND
    How to find PG.xml file name and path assoicated with above funtion.
    Thanks,
    ashok

    Ashok,
    Function IRC_VIS_HOME_PAGE will have 2 parameter defined for it which are OASF and OAHP where
    OASF=<SelectedFunctionName> - this tells the Framework to select this function in the given "Home Page" menu context.
    OAHP=<HomePageMenuName> - this is used ONLY with the OASF parameter, and it is used to establish the current menu context. It should point to a "Home Page" menu.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to get standalone Oracle HTTP Server with mod_plsql?

    Hi,
    I do not know if it is just me but it seems to be a nightmare to get OHS with mod_plsql from the official OTN download site. I downoaded the companion CD for Windows - 3 disks, installed OHS - no mod_plsql. Then I tried to find any clue on OTN on how to download mod_plsql - none. Plenty of information on how to configure it and use it, but nothing on how to get it.
    PLSQL gateways is not an option for us because many of our clients do not allow direct communication between the database and the Internet.
    Windows 2003 Server R2
    Apex 3.2.1
    RDBMS 10.2.0.4
    Any help appreciated,
    WK
    PS.
    I would not like to download the software from unofficial sites but rather get it straight from Oracle.

    Hi,
    For those interested: I found Oracle HTTP Server with mod_plsql on OTN -> downloads -> middleware -> WebCenter suite.
    WK

  • What do I need for Oracle Http Server with mod_plsql on Linux 64bit?

    I am trying to get the OHS onto a linux box but I am not quite sure I am installing the correct thing!!
    I currently have a windows box running the 10g Application server but everything seems to have changed since then and there seems to be several different things to do with the Fusion Middleware and stuff. I've tried to find an overview in plain english of what all these things are but all I can find are lots of marketing buzzwords!
    All in need to to be able to run the OHS with the mod_plsql so I can run my apex application. I'd be greatfull if someone could point me in the right direction for what I need to install!
    The box it is going on is a CentOS Linux 64bit machine. I've download and installed Oracle WebLogic Server 11g Rel 1 (10.3.3) using the generic installer for the 64 bit java but there seems to be no http server despite it saying there is! Most likely I am doing something wrong but the installer finishes successfully but nothing is running on port 7001.
    Do I actually need the WebTier instead? Is that the best solution for running the OHS with mod_plsql? Do I need the WebLogic install as well? Unfortunately I am fairly new to Linux as well which isn't helping!!
    thanks for any help
    Robert

    Well, you have two options:
    - Use the OHS from the OFM WebTier Utilities distro. (To use 11.1.1.3 version, you need both the 11.1.1.2 and 11.1.1.3 distros)
    - Use the OHS from the DB Companion Disk distro.
    WebLogic Server is a Java EE application with an HTTP server included, but not intended to be used as a replacement of OHS/Apache. It doesn't support mod's...
    HTH,
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Preselection-variable (replacment-path: replacement with query)

    Hello Expert's
    Can you explain me, how we can set up a pre-query with characteristics and key figures.
    e.g.
    Due the performace reason in the olap process, we have the calculate a range of values before
    in query 1. This query contains characteristics and key figures.
    In the query 2 we've preselection-variable (replacment-path: replacement with query) to query 1.
    My question is, how we can get also the key figures-values from query 1, to continue to use the values for query 2?
    Thanks for feedbacks,
    Regards

    Hi,
    As this is the variable restriction and variable restrictions are not put on key figure values (except RKF). As I know you will not be able to get key figure values using replacemtn path with query.
    Regards,
    Durgesh.

  • Using Gmail Aliases with iOS 8 Mail App

    I'm wondering if there is any way to use gmail aliases with the default mail app. I've already tried the methods listed on these two sites:
    http://www.nathanpjones.com/wp/2014/01/using-gmail-aliases-in-ios-7/
    http://tbb.co/sending-from-a-gmail-alias-on-ios-8/
    I can already send from a few different aliases with the default mail app on Mac. I have two step authentication setup on on my gmail account so I've these methods with both my normal password and app specific passwords generated by Google. Is there something that I'm missing?

    Seems to work properly for me. Are we looking at the same place? to instruct it to Delete instead of Archive:
    In Settings > Mail, Contacts, Calendars > (select account) > Account (select your e-mail address) > Advanced.
    Mailbox Behavior for Deleted Mailbox: Trash.
        then
    Move Discarded Messages Into: Deleted Mailbox.
    It wasn't this way by default.  Move Discarded was Archive, and it gave the results you described.  Changing that to Deleted works for me.
    I set the Swipe left-to-right to Archive.  So now one swipe will Archive, the other will Delete.
    oooh... p.s.... this seems to work as well:
    http://www.imore.com/how-use-archive-and-trash-simultaneously-ios-8-mail-app

  • Need to Understand HTTP Server with mod_plsql

    Hi -
    I am a DBA and have been tasked with migrating our current setup Oracle 10g/Solaris/APEX 4.1 to Oracle 11g/Linux/APEX 4.1. I have completed the migration and have chose to use the embedded PL/SQL gateway for connections to the front end Apex Application.
    The Embedded PL/SQL gateway is not that good. We are having connection issues where you might have to wait 5 minutes until you get the login page. Otherwise you just keep getting "cannot display webpage" errors.
    In our old setup we had a seperate home from some type of APEX listener. I thiink it was the HTTP Server with mod_plsql. We had to run this command to start it (apachectl start). This was very reliable and I think I need to do the same on our new server. I cannot find documentation anywhere on how to install this home on the new server and how to set it up. Does anyone know where it is and point me in the right direction?
    Your help would be greatly appreciated.

    Hello,
    >> I cannot find documentation anywhere on how to install this home on the new server and how to set it up
    The following includes detailed instruction on how to install either the APEX Listener or the OHS.
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21673/otn_install.htm#CBHBDAIF
    >> The Embedded PL/SQL gateway is not that good …
    You didn’t mention the size (and load) of your network, but the EPG was not intended to be used in a production environment. In any case, the document I pointed you to also includes some important configuration instructions for the EPG that dramatically improved its performance. Still, not recommended for crowded production environment.
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • Hardware req. running Apache with mod_plsql

    I'm trying to find out hardware requirements for running an Apache server with mod_plsql on Windows NT/Windows2000 serving about 100 concurrent users. I've been redirected to "Oracle HTTP Server powered by Apache Performance Guide", but this document does not cover mod_plsql.
    Any help out there?

    Do you have installed the database in a separate machine?
    If yes, Apache/mod_plsql running in standalone mode do not require a lot of memory.
    Apache on windows NT platform uses only 2mb of ram, I don4t know how many memory uses mod_plsql, but IMO it uses the same memory like other mods of Apache.
    Best regards, Marcelo.
    PD: Look at the parameter of mod_plsql about the concurrent sessions accepted which by default is 10, you has to increase this value to 100. In the other hand, this parameter gets a database connection which you has to increase to 100 too.

  • HT4436 can we set up aliases with icloud

    Can we set up aliases with icloud?

    Yes. It tells you how in the Help:
    http://help.apple.com/icloud/#mm6b1a490a

  • Premerie Elements 11 and  NEX 6 Video: Bad aliasing with imported footage

    Hi,
    with all my Sony NEX 6 AVCHD settings iam unsuccessfull to get good quality video in Premiere Elements 11. Only exception is 1080 50p, that is working with good quality but seams to be an overkill as it eats up SD space and is exhausting the MAC. Interlaced modes are yielding bad aliasing and the 25p mode is missing in the PAL AVCHD section.  The Nex can take full hd 1080 25p but in Adobe settings in the AVCHD section there is no 25p at full hd. That does exist in the DSLR section though, but also this gives aliasing (?).
    Iam also puzzled about the setting that reads 1080 25i in APE11 (PAL) and 1080 50i in the Sony NEX. I just assume both are just the same (Sony does count every half frame and Adobe every full frame made of two halfs). 
    Iam using an iMAC with AMD Radeon HD 6770M
    Anybody is using films from Sony NEX6 in APE11 or has a way out?
    Thnks
    Hardi

    Steve,
    thanks for your reply. Iam preparing for a Safari trip next month. Iam undecided in whtat format to output the video, DVD or MPEG most likely and best quality for watching on the Mac. For now Iam just importing mini clips to see how it works and what the quality is. This is to decide in what format, resulution and frame rate I should take the safari video. Iam particular checking for "jumps" in fast movements, i.e. how smooth the video looks and those "steps" in straight lines that I call (perhaps falsly) aliasing. For this I check the Premiere preview of the imported clips. Perhaps its my bad English, so I try to give my workflow:
    1) I do short films (20s) with my NEX6 in those 3 settings 1920x1080 PAL, 50p, 50i and 24p. I make sure there is lot of movement and sharp lines do show up. I do one clip at a time.
    2) I take out the SD card (64GB 45Mbits/s) after each individual setting and put it into the iMacs SD slot. Also tried to hook up the NEX via USB cable but no difference noticed.
    3) I open finder and go to the private folder of the SD card. In each try there is just one AVCHD clip in.
    4) In Organizer I choose import from files and folders and click on that private folder. None of the formats will be imported, always a note shows up that its either wrong format or already existing file (I made sure this is not).
    5) In Premiere I can import the privat folder via drag and drop directly from the SD in a new project. This way I let premiere decide what project settings to choose. All formats give a warning (codex not available or something, warning is different from the Organizer one) but it does the import anyway in each case. Imported film does look "aliased" with 50i and 25p footage. Project settings for the two read 1080 25i. The imported film does look good with 50p, correct project setting in this case: 1080 50p.
    6) In Premiere I can also import via "add media, AVCHD camera".  Again I do this in new projects for each of the clips. Also here Premiere decides what setting the clip gets. Import does not produce warnings with either clip format. Nevertheless, imported film does look "aliased" with 50i and also 25p clip. Settings in both cases again are 1080 25i (thus Premiere thinks the 25p clips is a 25i). Also here the clip does look very good with 50p and the project setting is for 50p.
    Hope this describes it somewhat better.
    brgds
    Hardi

  • Getting at POST data from a pl/sql procedure through Path Aliasing

    Hi.
    I have mod_plsql configured with "path alias" and "path alias procedure" so that the request ends up in my
    procedure and i have the remaining path in p_path. This is what I want.
    http://<domain>/<dad>/<myalias>/<p_path>
    My question is; is there a way at this point to get at POST data in the request? I haven't been able to find
    any way of doing this looking through the documentation. Is the body of the request lost at the gateway
    (mod_plsql) using path alias?
    If so, is there some other way to achieve something like !myproc(name_array [somearr], value_arr [somearr])
    where the first entry in the arrays is an eqvivalent to p_path?

    Billy  Verreynne  wrote:
    Øyle wrote:
    I have mod_plsql configured with "path alias" and "path alias procedure" so that the request ends up in my
    procedure and i have the remaining path in p_path. This is what I want.
    http://<domain>/<dad>/<myalias>/<p_path>
    My question is; is there a way at this point to get at POST data in the request? Do not understand the question as a POST and GET are simply two different methods that a web browser submits a URL and data. There is no "+path+" involved here.Thank you for answering. I think the confusion is because you disregard what I said about "path alias" and "path alias procedure".
    Those are configuration of the mod_plsql gateway so that any URI containing <myalias> above is directed to the procedure stated
    by "path alias procedure". The gateway also sends any remaining parts of the URI to this procedure as an varchar2 argument (p_path).
    My problem is that I see no way to get at any POST data as the signature of this procedure has to be this one varchar2, and I don't
    know any other way to get at the body of the request.
    >
    If so, is there some other way to achieve something like !myproc(name_array [somearr], value_arr [somearr])
    where the first entry in the arrays is an eqvivalent to p_path?If you want to know what the URL is, the full path used, then you need to look at the CGI (Command Gateway Interface) environment. The web server builds a list of CGI variables. These include the type of web server, the URL, the type of HTTP command (GET or POST), and so on.
    Within your PL/SQL web procedure, you can query these CGI variables. Have a look at the function OWA_UTIL.GET_CGI_ENV in the [Oracle® Database PL/SQL Packages and Types Reference|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/w_util.htm#i997269] guide.
    Take a look at CGI variables such as PATH_INFO, PATH_TRANSLATED, SCRIPT_NAME and so on.Yes, thank you, but my problem is a bit upside down. I do use the cgi environment to get the method and I have path as input, what I can't
    find is the body of the request. I might be approaching this entirely the wrong way. It might be a bit easyer to understand if I state that I'm
    trying to find a way to implement a RESTfull service in pl/sql.

  • Sharing aliases with family members

    I have 5 aliases and would like to share them with my family. I would like to my family members to only receive and send using their respective emails (using their alias) on their iPads/iphones. Is that possible?

    Hey there!
    You'll want to create a seperate iCloud account for each device in order to keep the contacts seperated.
    You'll esentially have to delete the iCloud accounts from each device and choose to keep the info on the iPhone. Then sign in with the newly created apple id for each device that wants their own account and choose to merge the data on the iPhones.

  • Replacement Path Variable with Another Variable

    Hi,
    I am currently trying to create a report that would need me to have the same values for different characteristics (e.g. clearing date, posting date, net due date). I have seen that there is a way in the replacement path variable that would replace its value with another variable that is ready for input. I also looked into SAP help but I can't seem to figure out on how to do it specifically. Does anyone know a step-by-step process on how to do this? How does this work?
    Thank you in advance!

    take an e.g.
    u have characteristic say ch1
    u want to restrict it with replacement path variable
    first of all create a variable var1
    click what it is based upon for e.g. 0calday, 0material etc.
    make it user entry variable
    select single or multiple entry
    make it mandatory
    save it and hit okey
    click on ch1
    right click and say restrict
    in new window create a new variable
    give its name and technical name
    processing path is replacement path
    go to next tab of replacement path
    select several ooptions
    replace variable with another variable
    select a variable called var1
    change the offset length and offset start with different parameters.
    hit okey
    this way u have restricted ch1 with replacement path variable var1
    now when u run report u have to enter value of var1
    which will then further feeded to ch1
    this way u can create replacement path variables at lots of instances and then u can always feed the value from var1 at different time
    make sure as this ur requirement is date
    try to use 0calday as reference infoobject all the times....

  • Replacement Path: Replacement with a Variable Value

    How I can show the value of a variable entered by the user in the description of the column in the report?
    X and Y are variables entered by the user and reflect the lower limits of the range for count documents
    Example
    Table                              
    0doc_type     Material_type  Purchase_group     < X     => X And <=Y     > Y
    XXX     BBBBB        CCCCCC                         3     4                                          5

    Hi...
    Use a text variable in the column description,
    and use replacement path to show the descriptions as required.
    lets say you have variable 1 and variable 2
    create two text variables with processing type replacement path and select the above variables for each.
    Eg. the descriptions of your columns would be something like this after using text variables
    Total number of documents which are lower than &txt_var_x&.
    Total number of documents which are between &txt_var_x&. and &txt_var_y&..
    Total number of documents which are greater than &txt_var_y&..
    Hope this helps,
    Regards,
    Joe

Maybe you are looking for