Oc4j behind apache - possible to prevent hitting oc4j port directly?

Hello -
Is it possible to configure OC4J standalone running behind apache to accept only requests coming from apache instead of hitting OC4J's port (8888) ?
We use OC4J stand-alone (9.0.3) behind Apache (1.3.x). We use mod_proxy to send requests from apache to OC4J. The directives in httpd.conf look like this:
ProxyPass /myApp http://myserver.xyz:8888/myApp/
ProxyPassReverse /myApp http://myserver.xyz:8888/myApp/
Therefore, a user typing http://myserver.xyz/myApp will get their request sent to OC4J.
Question: Is it possible to configure OC4J so that it only responds to request going through mod_proxy. i.e., I want to PREVENT someone from accessing myApp by hitting 8888 directly through their browser. Possible?
Thanks.

Hi there,
if you specify the host in you web-site.xml (eg. <web-site host="127.0.0.1" port="8888" display-name="The Web Site">
), then oc4j should only respond to requests from localhost and shouldn't be available externally via apache...
all you should need then is to modify your proxypasses like so:
ProxyPass /myApp http://127.0.0.1:8888/myApp
ProxyPassReverse /myApp http://127.0.0.1:8888/myApp
hope this helps,
Andy

Similar Messages

  • OC4J behind apache

    Hi All,
    OC4J and Apache can both be used as Web Servers. OC4J contains
    its own Web server, but as per OC4J documentations it is
    recommended that you configure for handling J2EE applications
    behind Apache. Is there any advantage in using Apache for
    processing proxy requests instead of OC4J?
    can anyone reply?
    Regards,
    Yogavelan

    Another reason is for ModPLSQL which can only be accessed from
    Apache. You could use DB Prism 1.2.1/2.0.0 with OC4J to replace
    mod_plsql with a complete servlet technology, but with other
    features such as calling PLSQL code from jsp:include or
    jsp:forward tags, integration with Apache Cocoon framework, and
    so on.
    DB Prism is at http://www.plenix.com/dbprism/
    A dpls.ear file which is preconfigured as mod_plsql is ready to
    use with OC4J at: http://www.plenix.com/dbprism/dist/dpls.ear
    Best regards, Marcelo.

  • Tdms-files: Is it possible to prevent LabVIEW and DIAdem from creating .tdms_index files?

    Hello,
    is it possible to prevent LabVIEW and DIAdem from creating .tdms_index files when opening/creating/editing a .tdms file?
    I think I have no benefit from the .tdms_index files because our applications create a lot of little .tdms-files (repeat measurements). With the additional .tdms_index files we have unnecessary memory consumption and it takes longer for Windows to open the containing folder. Also it´s confusing when searching for a certain file.
    Best Regards
    Daniel
    Solved!
    Go to Solution.

    Hi Baui,
    I'm afraid there's a direct way to disable creating .tdms_index file now from LabVIEW and DIAdem. You can use TDMS Advacend API in LabVIEW, which doesn't create any index file, or you can just make some simple programming and delete the .tdms_index file after closing the TDMS file. 
    This is a request for a long time, we'll consider to add this feature for TDMS in future releases.
    Yongqing Ye
    NI R&D

  • Is it possible to prevent a group of users be added into other groups?

    We have a admin group named "app admin" which has full privileges to a target OU "ou=apps,ou=services,dc=xxx,dc=com".
    And we are looking for solution to prevent members in the admin group putting their own account or group members into the target OU.
    Tried the aci with "deny self write", but it only prevents admin user put their own DN into the target OU.
    And they still can add their group members into the target OU.
    Just wondering is it possible to prevent a group of users be added into the target OU while they still can add/delete/modify normal users into the target OU?
    The version of our Directory Server is 6.3.1.
    Thanks

    goog,
    For each data member, you will need a unique URL. There is not a way to bundle them into one URL.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • Is it possible to prevent a user from creating and approving a JV

    Hi,
    Is it possible to prevent a user from creating and approving a JV.  We have a rule that one user cannot do both.  What happens is user#1 creates the JV, then some other user#9 approves the JV.  Both user#1 and user#9 need to be able to create a JV and approve someone else's JV.
    The transactions in question are...
    F-02  General Posting - enter Journal Voucher (create & post)
    F-65  Enter General Document - Parking (create)
    FBV0  Post or Delete a Parked Document (approval)
    Please let me know the details.
    Thanks in advance,
    regrads,
    Chaks

    Hi,
    Requisition is submitted.....it means Requisition is saved or it means Requisition is Released..?
    Regards,
    manish

  • Changing oc4j port

    Hi,
    I have OWB and OBIEE running on the same server, OC4J of both using port 23791,
    So i am unable to use both at the same time.
    I tried to change the port for OWB by making changes in OWB_HOME\owb\jrt\config\rmi.xml but its not working
    Changing ORMI port !!!
    can someone kindly tell me the steps to change the OBIEE oc4j port.
    thanks,

    Hi friend,
    Read the next link:
    http://gerardnico.com/wiki/dat/obiee/installation/oc4j_how_to_change_the_port_number
    Good luck.
    Regards.

  • Oc4j port change

    Hi,
    During installation my oc4j says
    Port 9704 is in use. This may indicate another OC4J instance is running on this
    machine. Please shutdown that running OC4J instance or the application that is
    using port 9704 before proceeding with this installation to avoid OC4J port
    conflicts.
    so is there any way we can change the port while doing the installation?
    Thanks,
    RM

    Hi,
    Step 1. Stop Oc4j service.
    Step 2. Look for “default-web-site.xml“ file in the following directory in OBIEE home
    OracleBI\oc4j_bi\j2ee\home\config
    Step3. Edit the “default-web-site.xml” file and change the “9704” port to “80”.
    Step 4: start the oc4j services
    Ref:
    http://gerardnico.com/wiki/dat/obiee/installation/oc4j_how_to_change_the_port_number
    http://jyotithakur.wordpress.com/2011/10/10/obiee-10g-–-changing-default-port-9704-to-web-port-80-or-any-other-port/
    Thanks
    Deva

  • Is it possible to prevent users from viewing a page in Edit Mode?

    Hello everyone,
    I would like to know if it is possible to prevent users from accessing a portal page in Edit Mode. Currently, the users do not have access to any links that take them to edit mode, but if they add &_mode=16 to the end, they view the page in edit mode. Granted, they don't have permissions to add or edit content, but I would like to keep them from seeing this.
    I am using 9.0.4.1
    Any help or suggestions would be greatly appreciated!
    Jim

    hi jim,
    you cannot really configure this in portal. if somebody manually appends &_mode=16 we display the default edit mode, but fully enforce security. this means that the user cannot see anything he is not allowed to see: like pending items, hidden, expired or deleted items. as you said he also cannot add, edit or delete any items.
    regards,
    christian

  • Ipod Nano 7th Gen - Is it possible to prevent next podcast episode from played episode from playing automatically ?

    I have had an Ipod Nano 3rd generation for years. I mostly listen to Podcasts while walking and like to be able to select the sequence in which I listen to them. This was possible by selecting the shuffle option on the 3rd generation Nano.  I have just purchased the 7th generation Nano and much to my disappointment I can't see any option to prevent Podcasts from automatically playing the next episode. This seems like a really backward step compared to the 3rd generation model. Does anyone know if it is possible to prevent next Podcasts from being played automatically with the new Ipod Nano 7th generation ?

    Perhaps somebody else has figured it out, but I haven't been able to on my 7G Nano. Not without putting each podcast into a separate playlist and then syncing those playlists over to your Nano. Some people like that it continues to the next podcast automatically where as others like that it stops after each episode.
    B-rock

  • Possible to prevent deletions going through Groupware?

    Hi
    We are running CRM 5.0 SP11 and have just started an archiving process for activities.
    The problem iis that this is overwhelming the groupware server with deletes.
    As we are archiving all activities over 2 years old, is it possible to prevent deletion messages being sent to groupware any more from CRM?
    Thanks
    James

    Hi James,
    I dont know if there is a way to do this, but if you deactivate the queue you can remove the some entries, it means the messages for deletion in GW. It's not a good solution but i think it works.
    Best regards,
    Caíque Escaler

  • Is it possible to prevent Windows Phone 8 users downloading apps from the Store unless thay have been "approved" for installation?

    We are currently migrating our mobile workforce from BB and iPad to Windows Phone 8 and will use Windows Intune to "manage" them. Is it possible to prevent these devices from being able to download / install apps that are NOT approved?
    We would publish "approved" apps on the Company Portal where necessary
    There will be no user-owned devices so there is no issue with rigid enforcement - we wish to stop games etc from being installed / propagated across the estate, which is a huge issue with the current devices
    Thanks

    This feature will be included with the Enterprise Feature pack (no I don't know when it will be released unfortunately)
    http://blogs.windows.com/windows_phone/b/windowsphone/archive/2013/07/10/making-windows-phone-an-even-better-choice-for-business.aspx?utm_source=twitterfeed&utm_medium=twitter

  • Is it possible to add a hdmi port? Hp envy 23-d010ea all-in-one

    I wanted to get a Ps4 soon but i dont have a tv, and on my computer i dont have a hdmi port. i see on other models of my computer they have it for example on the 23-d052 its like this 
    Where as on my one is like this
    so that part is just an empty space. i was wondering if it were possible to add the hdmi port or if there was a way i could still play the ps4 on my computer?
    This question was solved.
    View Solution.

    The USB 3.0 to HDMI adapter referenced above, is only designed to connect to a USB port on you computer and output an HDMI signal to an HDTV or monitor. It will not allow you to connect the HDMI output of a game console to your computer.
    It may be possible to purchase all the components necessary to add that functionality to your computer, however the cost would far exceed the price of a new monitor or HDTV. Please purchase an inexpensive HDTV or monitor to use with your PlayStation.
    If you have any further questions, please don't hesitate to ask.
    Please click the White KUDOS "Thumbs Up" to show your appreciation
    Frank
    {------------ Please click the "White Kudos" Thumbs Up to say THANKS for helping.
    Please click the "Accept As Solution" on my post, if my assistance has solved your issue. ------------V
    This is a user supported forum. I am a volunteer and I don't work for HP.
    HP 15t-j100 (on loan from HP)
    HP 13 Split x2 (on loan from HP)
    HP Slate8 Pro (on loan from HP)
    HP a1632x - Windows 7, 4GB RAM, AMD Radeon HD 6450
    HP p6130y - Windows 7, 8GB RAM, AMD Radeon HD 6450
    HP p6320y - Windows 7, 8GB RAM, NVIDIA GT 240
    HP p7-1026 - Windows 7, 6GB RAM, AMD Radeon HD 6450
    HP p6787c - Windows 7, 8GB RAM, NVIDIA GT 240

  • Is it possible to choose the serial port if only the run time engine is installed

    I have an application, which communicates over the serial port. When I use the full version of Labview I can change the serial port without any problem from Com1 to Com2 (similar to the example “Hardeware input output -> serial -> Labview serial vi"). When I build an application and try to run this program on a computer where only the run time engine 6.1 is installed, it is not possible to choose the serial port. Since there is no “Measurement and Automation Explorer” available on the run time engine and no directory C:\VXIpnp is created, when the run time engine is installed, I do not see a way, how I can satisfy the computer with the information it needs for configuring
    the different ports. Any suggestions?

    Hi Daniel,
    Before LV6.1 there was LV5.1 In LV5.1 the way to Spedify a resource was to use a string control with correct VIsa Resource Class identifier. For eg. "GPIB0::11" or "ASRL1::INSTR". With Introduction of VISA Resource Name Control and linking with MAX, These names are Available from Pull Down List and Can be Aliased, meaning ASRL1 which is Serial Port 1 can be called COM1 and so on. However the old method still works with all 6.1 Controls. Only thing is you have to make sure you Dont Conflict the Class Names ie Use "GPIB::.." instead of "ASRL..." when addressing Serial Port VI's.
    To solve your Problem I would Build a Menu ring with COM1 to COM4 in the Pull Down List.
    Next, If I use the Traditonal Serial Port VI wich accepts the Integer as Seria
    l Port #. I just Wire the Menu Ring to this VI.(Remember COM1 is 0, COM2 is 1 for this VI)
    If I use VISA Config Serial Post. I build an Array Constant with Corresponding VISA Class Names So in our case a String Array Constant of 4 elements "ASRL1::INST" to "ASRL4::INST". I Use Index Array Function With the Index Wired to my Menu Ring. The Array Input Terminal Wired to the Array Constant. The Output of this Array will be correct Visa Class Name Based on slection of my Menu Ring. I can Wire this as Input to my VISA Config Serial Port Vi.
    I have attached a Small VI to Illustrate this.
    Drawback: You must Predefine what Ports you will Want to Use. Basically you define all the cases.
    I hope this Answers your Q!
    Good Luck
    Mache
    Good Luck!
    Mache
    Attachments:
    Serial_Port_Select.vi ‏36 KB

  • Preventing the creation of direct PO

    Hi there experts,
    I would like to know if there is some way to prevent the creation of direct PO. I want that the PO is always created with reference to a PR or a contract.
    Tanks in advance

    hi
    plz check that in OMET u created a object
    now check that u have given the field selection key NB or what ever ur using
    then tick for display condition and enter condition and ref to PR
    now check and try
    Note 664424 - Requisition number not mandatory in ME21N
    Re: without PR no PO creation
    Re: PR mandatory in PO Creation ME21N and ME22N

  • Is it possible to download songs from itunes directly on to usb as mp3

    Is it possible to download songs from itunes direct to usb as mp3

    If you are referring to the iTunes Store, then no, because all songs they sell are in AAC format.  You can buy MP3s from other online stores, such as Amazon MP3.

Maybe you are looking for

  • Server 10.2.8 trouble -  WGM options greyed out

    Hi, I've been running osx server 10.2.8 on my emac as a file server for some time now. the issue that ive been recently having is every 2 weeks or so, the workgroup manager is greyed out - I cannot make changes or add new users to the system. the ser

  • Balance transfer across company codes

    Hello, I want to transfer open balance from one account to another. Both accounts have different company code. Can you please suggest me way to transfer balance in this case? SAP standard transaction FP40 doesn't allow balance transfer accross compan

  • Leaving your mac on during the day

    hi i am a teacher and i turn my laptop on first thing in the morning and then leave for maybe 10 hours or more. is it best for me to turn off my laptop or just let it go to sleep? it is worth noting that i turn my laptop on as soon as i get home and

  • Itunes won't let me import songs anymore

    When i first got my ipod and itunes it was all good. I had imported over a thousand song on my ipod. Now whenever I try to import a song from a cd or already on my computer an error comes up saying "An unkown error occured [-223]". I have tried updat

  • Assertion Error while accessing SessionBeans

    My Applicagtion get a Connection to a stateless SessionBean. Within this bean i try to access another stateless SessionBean. This results in the following StackTrace (Server Output): java.lang.reflect.InvocationTargetException: java.lang.ArrayIndexOu