How to redirect to /irj in Apache webserver

Hi,
We have apache as the intermediary server.
I have configured proxy pass and proxy reverse pass to redirect it to http://portal.domain.com:50000/irj.
If we type http://comp.domain.com its going to Apache home page. I would like to know how I can redirect the request to /irj. So that when anyone access the url http://comp.domain.com, it takes then directly to http://comp.domain.com/irj.
Moreover we have registered two domains and two company names if they use url
http://comp1.domain1.com
http://comp2.domain2.com  , then I would like to redirect both the things into only one url http://comp1.domain.com.
(how do i do this in Apache).
Thanks,
Maya

Hi,
your second requirement should be pretty straightforward. Your apache simply needs to get these additional requests, too. I.e. all additional hostnames must also point to the IP address of your apache installation in DNS. No changes to your proxy rules should be required.
For your first requirement, check if this works for you:
ProxyPass /irj/ http://portal.domain.com:50000/irj/
ProxyPass / http://portal.domain.com:50000/irj/
Regards,
Dominik

Similar Messages

  • How to redirect / to /irj (portal application)

    hello experts,
    just a simple question, how can we redirect the root (https://<server>:<port>/ to https://<server>:<port>/irj/index.html so that we are redirected to the enterprise portal instead of the SAP J2EE Engine start page?
    Kind regards,
    Walter

    Hi Walter,
    This can be done via IISProxy but you'll need
    to install IIS and configure ISAPI filter mapping file.
    Please see http://help.sap.com/saphelp_erp2005/helpdata/en/51/64083f56e4d861e10000000a114084/frameset.htm for more details.
    Another option is to replace/modify default J2EE page displayed when a user types J2EE server address (https://<server>:<port>) so that a new default page redirects to the portal address (<meta Refresh tag>).
    This default J2EE page is located at the following path on NW 04 640 :
    sapmnt\<SID>\DVEBMGS00\j2ee\cluster\server0\apps\sap.com\com.sap.engine.docs.examples\servlet_jsp\_default\root\index.html
    Regards,
    Mike
    Message was edited by: Mike Puzankov

  • How to writing an image from my applet to my apache webserver

    hi everyone,
    i have a big problem, writing an image from my applet to my apache
    webserver. i tried three way's of writing that file. every way was
    described in forums to solve this problem, but non of them worked and
    i don't know why. i'll give you the code of my writing-methods and
    describe, what happen when i test them, in order someone of you can
    give me an usefull tip, where the problem is.
    as inputparameter i give my method a new URL referring to
    http://localhost/test.jpg (this is the same directory, where my applet
    is loaded from, so i should have reading and writing permission,
    havn't i? while i'm developing, my applet runs on the same pc as my
    webserver, just in case you're wondering about localhost) and a
    selfmade BufferedImage (i already testet if it is not null and shows
    the correct things ... all ok).
    1. try:
    private void writeImageToServer(URL fileURL,BufferedImage img){
    try {
    URLConnection urlConnection = fileURL.openConnection();
    urlConnection.setDoOutput(true);
    OutputStream urlout = urlConnection.getOutputStream();
    BufferedOutputStream out = new BufferedOutputStream(urlout);
    ImageIO.write(img,"jpg",out);
    out.close(); // i also tried without this line -> same result
    // additionally a question: do i need
    out.close()?
    catch( IOException e ){
    e.printStackTrace();
    result:
    test.jpg doesn't appear in the webroot. but some very strange messages
    in the error.log of my apacheserver:
    [Tue Jun 08 11:40:22 2004] [error] [client 127.0.0.1] File does not
    exist: c:/programme/apache
    group/apache/htdocs/meta-inf/services/javax.imageio.spi.ImageOutputStreamSpi
    [Tue Jun 08 11:40:22 2004] [error] [client 127.0.0.1] File does not
    exist: c:/programme/apache
    group/apache/htdocs/meta-inf/services/javax.imageio.spi.ImageReaderSpi
    [Tue Jun 08 11:40:22 2004] [error] [client 127.0.0.1] File does not
    exist: c:/programme/apache
    group/apache/htdocs/meta-inf/services/javax.imageio.spi.ImageInputStreamSpi
    [Tue Jun 08 11:40:22 2004] [error] [client 127.0.0.1] File does not
    exist: c:/programme/apache
    group/apache/htdocs/meta-inf/services/javax.imageio.spi.ImageWriterSpi
    [Tue Jun 08 11:40:22 2004] [error] [client 127.0.0.1] File does not
    exist: c:/programme/apache
    group/apache/htdocs/meta-inf/services/javax.imageio.spi.ImageTranscoderSpi
    i cannot explain this lines to myself, because my apache should have
    nothing to do with java. all my javacode is executed on the client
    side in the browser. do this messages mean i have to add the ImageIO
    package from the sdk to my jar-applet. the jre, used by my iexplorer,
    doesn't contain this files in the meta-inf/services directory of
    rt.jar, but that's version 1.4.2_03, the same as my sdk, and the
    rt.jar contains the corresponding classfiles at javax.imageio.spi. so
    i'm realy confused by this messages.
    2. try:
    private void writeImageToServer(URL fileURL,BufferedImage img){
    try {
    URLConnection urlConnection = fileURL.openConnection();
    urlConnection.setDoOutput(true);
    OutputStream urlout = urlConnection.getOutputStream();
    BufferedOutputStream out = new BufferedOutputStream(urlout);
    JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
    encoder.encode(img);
    out.close(); // same comments as above
    catch( IOException e ){
    e.printStackTrace();
    result:
    nothing. no error-messages in the error.log, no exceptions in the
    java-console and no test.jpg in the webroot. i searched my whole
    harddrives for it: nothing. isn't this the way, the JPEGImageEncoder
    works?
    3. try:
    private void writeImageToServer(URL fileURL,BufferedImage img){
    try {
    File file = new File(fileURL.toString);
    file.createNewFile();
    BufferedOutputStream out = new BufferedOutputStream(new
    FileOutputStream(file));
    JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
    encoder.encode(img);
    out.close(); // same comments as above
    catch( Exception e ){
    e.printStackTrace();
    result:
    the SecurityManager denies this action with "access denied" while
    calling createNewFile(). well, this way was dedicated to run from an
    application, not from an applet. i'd have to sign my applet to get the
    rights to do this, or i can edit java.policy on my client, what i
    don't want, because i cannot do this on every client, the applet will
    run, when i'm finished with it. this brings me to the question: does
    anybody know's how to sign my applet and give it full access to the
    harddrive and the webserver without paying 400$ to VeriSign for a
    commercial CA? i want to do this by myself, without paying anything
    and without giving a lot of information to another company.
    i would realy appreciate, if someone could give me a hint where i am
    wrong or how to do this correct.
    thank you very much
    [email protected]

    You hold several misconceptions. The first is that an applet can write to a server without help from the server. That will never work on a real server (though it might work in testing, if the server is on the same PC as the applet). Applets cannot get a File object that points to any place on the server.
    If you write a servlet designed for accepting image uploads, the applet can communicate back to that servlet and feed it the bytes of the image. There are other technologies that can replace the servlet, of course (PHP, ASP..) but I mention that because you say you are running Apache - and that is very Java oriented.
    For more help on servlets, try the [Web Tier APIs - Java Servlet|http://forums.sun.com/forum.jspa?forumID=33] forum.

  • Fail to configure Apache webserver 2.0.53 as plugin to weblogic server 8.1

    Hello,
    I have installed weblogic server 8.1 with sp2 on windows XP system. I have configured a domain with configuration wizard
    with these settings -
    server name "myServer"
    port No - 7001
    I have installed apache webserver 2.0.53 on windows XP. I have followed the steps to Installing and Configuring the Apache HTTP Server Plug-In with weblogic server.
    After making the installation and configuration when i try to test the server plugin installation i am getting this error
    Failure of server APACHE bridge:
    No backend server available for connection: timed out after 10 seconds.
    Please let me know what exactly is going wrong and throw some light how can i proceed.
    Thanks,
    Nanda kishore

    I recd a similar message.
    This message indicates that the configuration setting for the Apache plugin are proper.
    You probably need to check if our Weblogic server has been restarted properly.
    thanks

  • How to Configure my url in Apache server?

    i have an Apache webserver.i want to give url as desired say.http://intranet.com. Now iam giving my machine ip address as "127.0.101:9000 "to get my html page displayed from a remote terminal in a intranet network.
    How to configure the apache so that i can replace the ip address with my desired name url type. Please help me.

    How to configure the apache so that i can replace the
    ip address with my desired name url type. Please help
    me.Apache cannot do anything about this . It is your network DNS and DHCP that does this for you .If u edit the hosts file in a pc on ur lan ,then u can invoke from this m/c with the string as long as ur m/c isnt re-booted .This is assuming that u do not have a static IP adress .

  • Use apache webserver instead of oracle http server in EPM 11.1.20?

    Is it possible to configure enterprise performance management 11.1.20 with apache webserver instead of using the default oracle http server and if so, can someone point me to the instructions for how to set this up?

    Wow. You really need to keep going back to check the certification matrix, huh. The version I have shows that Apache is supported. Apparently that was deleted on 7/28.
    I don't think it should matter much, though, since Oracle HTTP server is Apache under the covers.I ran into this when I had to use the IBM HTTP web server, which is also Apache under the covers. when you look at httpd.conf, it looks just like Apache. So, I would guess that whatever configuration you did with the Apache web server you will also be able to do with the Oracle web server.
    Jerry

  • Deploying jdeveloper applicataion on Apache webserver

    How can i deploy a jdeveloper application built in jsp and EJBs on Apache webserver.Please give me any help or give me any web link for getting help.
    Regards

    Thanks for ur answere.I have already read ut that tutorial mentioned in ur weblink but that doent give supprt for Apache.
    The applications developed in jdeveloper needs to be deployed on webserver.So if any of u used Apache as webserver for deplying ADF application built using jsp/jsf so please help me.I am in real trouble.

  • Connection Reset on Oracle SOA-Suite 10.1.3.5.0 Apache-Webserver with SSLv3

    Hi,
    I'm trying to use SSL with my SOA-Suite 10.1.3.5.0 Webserver. This Problem occurs on both a windows and a linux machine. I'm referring to the windows-machine, as this has the latest patch-level. My problems are about the Apache-Webserver only. I didn't do any special configuration, and SSL is working fine in the Browser (FF3.5 and IE 8). But for Paypal IPN Notification i'm having serious troubles. I was able to track down the problem to a SSLv3 problem. I installed the latest openssl version and issued the following command:
    openssl s_client -connect localhost:443
    This gives me the following output:
    C:\OpenSSL\bin>openssl s_client -connect localhost:443
    Loading 'screen' into random state - done
    CONNECTED(000002E8)
    depth=0 /C=US/ST=OR/L=PORTLAND/O=ORACLE/OU=PDC/CN=WARNING: FOR TEST PURPOSES ONLY! DO NOT USE COMMERCIALLY!
    verify error:num=18:self signed certificate
    verify return:1
    depth=0 /C=US/ST=OR/L=PORTLAND/O=ORACLE/OU=PDC/CN=WARNING: FOR TEST PURPOSES ONLY! DO NOT USE COMMERCIALLY!
    verify error:num=10:certificate has expired
    notAfter=Dec 8 16:18:11 2006 GMT
    verify return:1
    depth=0 /C=US/ST=OR/L=PORTLAND/O=ORACLE/OU=PDC/CN=WARNING: FOR TEST PURPOSES ONLY! DO NOT USE COMMERCIALLY!
    notAfter=Dec 8 16:18:11 2006 GMT
    verify return:1
    Certificate chain
    0 s:/C=US/ST=OR/L=PORTLAND/O=ORACLE/OU=PDC/CN=WARNING: FOR TEST PURPOSES ONLY! DO NOT USE COMMERCIALLY!
    i:/C=US/ST=OR/L=PORTLAND/O=ORACLE/OU=PDC/CN=WARNING: FOR TEST PURPOSES ONLY! DO NOT USE COMMERCIALLY!
    Server certificate
    -----BEGIN CERTIFICATE-----
    Here is the certificate...
    -----END CERTIFICATE-----
    subject=/C=US/ST=OR/L=PORTLAND/O=ORACLE/OU=PDC/CN=WARNING: FOR TEST PURPOSES ONLY! DO NOT USE COMMERCIALLY!
    issuer=/C=US/ST=OR/L=PORTLAND/O=ORACLE/OU=PDC/CN=WARNING: FOR TEST PURPOSES ONLY! DO NOT USE COMMERCIALLY!
    No client certificate CA names sent
    SSL handshake has read 807 bytes and written 325 bytes
    New, TLSv1/SSLv3, Cipher is AES256-SHA
    Server public key is 1024 bit
    Secure Renegotiation IS NOT supported
    Compression: NONE
    Expansion: NONE
    SSL-Session:
    Protocol : TLSv1
    Cipher : AES256-SHA
    Session-ID: A66F9DD036604C6B2DDF05591FC3614D
    Session-ID-ctx:
    Master-Key: DC0E5BB6EEFE0E6B60AA4A2A65974B793500803930A8EFABB141F9DED25819A98FA00C365B9D61D579745C69CAA60C56
    Key-Arg : None
    Start Time: 1272964747
    Timeout : 300 (sec)
    Verify return code: 10 (certificate has expired)
    ---This looks fine so far. But when I'm issuing an HTTP-Command, e.g. GET / HTTP/1.0, the connection gets closed immediately (openssl just says 'closed' and I'm back to the commandline again). When adding the -msg to the openssl commandline, I'm getting the following output:
    GET / HTTP/1.0
    TLS 1.0 Alert [length 0002], warning close_notify
    01 00
    closed
    TLS 1.0 Alert [length 0002], warning close_notify
    01 00The ssl_engine_log contains the following (set to LogLevel debug):
    [04/Mai/2010 11:23:19 00976] [info] Connection to child 2 established (server soa1.karlsbad2.promatis.de:443, client 127.0.0.1)
    [04/Mai/2010 11:23:20 00976] [trace] inside shmcb_store_session
    [04/Mai/2010 11:23:20 00976] [trace] session_id[0]=89, masked index=25
    [04/Mai/2010 11:23:20 00976] [trace] entering shmcb_insert_encoded_session, *queue->pos_count = 0
    [04/Mai/2010 11:23:20 00976] [trace] entering shmcb_expire_division
    [04/Mai/2010 11:23:20 00976] [trace] we have 14385 bytes and 133 indexes free - enough
    [04/Mai/2010 11:23:20 00976] [trace] storing in index 0, at offset 0
    [04/Mai/2010 11:23:20 00976] [trace] session_id[0]=89, idx->s_id2=51
    [04/Mai/2010 11:23:20 00976] [trace] leaving now with 124 bytes in the cache and 1 indexes
    [04/Mai/2010 11:23:20 00976] [trace] leaving shmcb_insert_encoded_session
    [04/Mai/2010 11:23:20 00976] [trace] leaving shmcb_store successfully
    [04/Mai/2010 11:23:20 00976] [trace] shmcb_store successful
    [04/Mai/2010 11:23:20 00976] [trace] Inter-Process Session Cache: request=SET status=OK id=593330BC94651266418548085D63F57C timeout=300s (session caching)
    [04/Mai/2010 11:23:25 00976] [info] Connection to child 2 closed with standard shutdown (server soa1.karlsbad2.promatis.de:443, client 127.0.0.1)This seems fine for me.
    When adding the -bugs to the openssl commandline (saying "Switch on all SSL implementation bug workarounds") everything is working fine (with the same output for openssl, using sslv3 and the following additional line in the ssl-log: [info] Initial (No.1) HTTPS request received for child 34 (server soa1.karlsbad2.promatis.de:443) (at the end just before connection close).
    When setting the client to use ssl2 (-ssl2) everything is fine too. When doing -ssl3 it is the same as without any parameter.
    The certificate has expired message and the test-certificate seem not to be related with my problems, since the same problems arise on our production server having a "real and valid" SSL certificate certified by a renowned SSL-CA.
    When setting SSLProtocol +SSLv2 in the ssl.conf openssl is working fine too. But this is not an option as sslv2 is no longer supported by Firefox (giving me an error-message when accessing the page).
    I played around with SSLCipherSuite in the ssl.conf without success. I fear mod_ossl has a bug when working with the specified ssl-parameters. Is there any way out of this?
    Any help would be highyl appreciated,
    Best regards
    Johannes Michler
    PS: This is the ssl_engline_log during startup:
    [04/Mai/2010 11:22:32 00880] [info] Server: Oracle-HTTP-Server/1.3.34, Interface: mod_ossl/10.1.3.0.0, Library:
    [04/Mai/2010 11:22:32 00880] [info] Init: 1st startup round (still not detached)
    [04/Mai/2010 11:22:32 00880] [trace] Shared-memory segment has 512000 available
    [04/Mai/2010 11:22:32 00880] [trace] shmcb_malloc attempt for 512000 bytes failed
    [04/Mai/2010 11:22:32 00880] [trace] shmcb_malloc attempt for 511998 bytes failed
    [04/Mai/2010 11:22:32 00880] [trace] shmcb_malloc attempt for 511996 bytes failed
    [04/Mai/2010 11:22:32 00880] [trace] shmcb_malloc attempt for 511994 bytes failed
    [04/Mai/2010 11:22:32 00880] [trace] shmcb_init allocated 511992 bytes of shared memory
    [04/Mai/2010 11:22:32 00880] [trace] entered shmcb_init_memory()
    [04/Mai/2010 11:22:32 00880] [trace] for 511992 bytes, recommending 4266 indexes
    [04/Mai/2010 11:22:32 00880] [trace] shmcb_init_memory choices follow
    [04/Mai/2010 11:22:32 00880] [trace] division_mask = 0x1F
    [04/Mai/2010 11:22:32 00880] [trace] division_offset = 64
    [04/Mai/2010 11:22:32 00880] [trace] division_size = 15997
    [04/Mai/2010 11:22:32 00880] [trace] queue_size = 1604
    [04/Mai/2010 11:22:32 00880] [trace] index_num = 133
    [04/Mai/2010 11:22:32 00880] [trace] index_offset = 8
    [04/Mai/2010 11:22:32 00880] [trace] index_size = 12
    [04/Mai/2010 11:22:32 00880] [trace] cache_data_offset = 8
    [04/Mai/2010 11:22:32 00880] [trace] cache_data_size = 14385
    [04/Mai/2010 11:22:32 00880] [trace] leaving shmcb_init_memory()
    [04/Mai/2010 11:22:32 00880] [info] Shared memory session cache initialised
    [04/Mai/2010 11:22:32 00880] [info] Init: Initializing (virtual) servers for SSL
    [04/Mai/2010 11:22:32 00880] [info] Init: Configuring server soa1.karlsbad2.promatis.de:443 for SSL protocol
    [04/Mai/2010 11:22:32 00880] [trace] Init: (soa1.karlsbad2.promatis.de:443) Configuring permitted SSL ciphers [ALL:!ADH:!EXPORT56:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP]
    [04/Mai/2010 11:22:32 00880] [trace] Init: (soa1.karlsbad2.promatis.de:80) Configuring permitted proxy SSL ciphers [DEFAULT]
    [04/Mai/2010 11:22:32 00880] [trace] Init: (soa1.karlsbad2.promatis.de:443) Configuring permitted proxy SSL ciphers [DEFAULT]
    [04/Mai/2010 11:22:32 00880] [trace] Init: (127.0.0.1:7200) Configuring permitted proxy SSL ciphers [DEFAULT]
    [04/Mai/2010 11:22:33 00880] [info] Init: 2nd startup round (already detached)
    [04/Mai/2010 11:22:33 00880] [trace] Shared-memory segment has 512000 available
    [04/Mai/2010 11:22:33 00880] [trace] shmcb_malloc attempt for 512000 bytes failed
    [04/Mai/2010 11:22:33 00880] [trace] shmcb_malloc attempt for 511998 bytes failed
    [04/Mai/2010 11:22:33 00880] [trace] shmcb_malloc attempt for 511996 bytes failed
    [04/Mai/2010 11:22:33 00880] [trace] shmcb_malloc attempt for 511994 bytes failed
    [04/Mai/2010 11:22:33 00880] [trace] shmcb_init allocated 511992 bytes of shared memory
    [04/Mai/2010 11:22:33 00880] [trace] entered shmcb_init_memory()
    [04/Mai/2010 11:22:33 00880] [trace] for 511992 bytes, recommending 4266 indexes
    [04/Mai/2010 11:22:33 00880] [trace] shmcb_init_memory choices follow
    [04/Mai/2010 11:22:33 00880] [trace] division_mask = 0x1F
    [04/Mai/2010 11:22:33 00880] [trace] division_offset = 64
    [04/Mai/2010 11:22:33 00880] [trace] division_size = 15997
    [04/Mai/2010 11:22:33 00880] [trace] queue_size = 1604
    [04/Mai/2010 11:22:33 00880] [trace] index_num = 133
    [04/Mai/2010 11:22:33 00880] [trace] index_offset = 8
    [04/Mai/2010 11:22:33 00880] [trace] index_size = 12
    [04/Mai/2010 11:22:33 00880] [trace] cache_data_offset = 8
    [04/Mai/2010 11:22:33 00880] [trace] cache_data_size = 14385
    [04/Mai/2010 11:22:33 00880] [trace] leaving shmcb_init_memory()
    [04/Mai/2010 11:22:33 00880] [info] Shared memory session cache initialised
    [04/Mai/2010 11:22:33 00880] [info] Init: Initializing (virtual) servers for SSL
    [04/Mai/2010 11:22:33 00880] [info] Init: Configuring server soa1.karlsbad2.promatis.de:443 for SSL protocol
    [04/Mai/2010 11:22:33 00880] [trace] Init: (soa1.karlsbad2.promatis.de:443) Configuring permitted SSL ciphers [ALL:!ADH:!EXPORT56:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP]
    [04/Mai/2010 11:22:33 00880] [trace] Init: (soa1.karlsbad2.promatis.de:80) Configuring permitted proxy SSL ciphers [DEFAULT]
    [04/Mai/2010 11:22:33 00880] [trace] Init: (soa1.karlsbad2.promatis.de:443) Configuring permitted proxy SSL ciphers [DEFAULT]
    [04/Mai/2010 11:22:33 00880] [trace] Init: (127.0.0.1:7200) Configuring permitted proxy SSL ciphers [DEFAULT]
    [04/Mai/2010 11:22:33 00976] [info] Server: Oracle-HTTP-Server/1.3.34, Interface: mod_ossl/10.1.3.0.0, Library:
    [04/Mai/2010 11:22:33 00976] [info] Init: 1st startup round (still not detached)
    [04/Mai/2010 11:22:33 00976] [trace] Shared-memory segment has 512000 available
    [04/Mai/2010 11:22:33 00976] [trace] shmcb_malloc attempt for 512000 bytes failed
    [04/Mai/2010 11:22:33 00976] [trace] shmcb_malloc attempt for 511998 bytes failed
    [04/Mai/2010 11:22:33 00976] [trace] shmcb_malloc attempt for 511996 bytes failed
    [04/Mai/2010 11:22:33 00976] [trace] shmcb_malloc attempt for 511994 bytes failed
    [04/Mai/2010 11:22:33 00976] [trace] shmcb_init allocated 511992 bytes of shared memory
    [04/Mai/2010 11:22:33 00976] [trace] entered shmcb_init_memory()
    [04/Mai/2010 11:22:33 00976] [trace] for 511992 bytes, recommending 4266 indexes
    [04/Mai/2010 11:22:33 00976] [trace] shmcb_init_memory choices follow
    [04/Mai/2010 11:22:33 00976] [trace] division_mask = 0x1F
    [04/Mai/2010 11:22:33 00976] [trace] division_offset = 64
    [04/Mai/2010 11:22:33 00976] [trace] division_size = 15997
    [04/Mai/2010 11:22:33 00976] [trace] queue_size = 1604
    [04/Mai/2010 11:22:33 00976] [trace] index_num = 133
    [04/Mai/2010 11:22:33 00976] [trace] index_offset = 8
    [04/Mai/2010 11:22:33 00976] [trace] index_size = 12
    [04/Mai/2010 11:22:33 00976] [trace] cache_data_offset = 8
    [04/Mai/2010 11:22:33 00976] [trace] cache_data_size = 14385
    [04/Mai/2010 11:22:33 00976] [trace] leaving shmcb_init_memory()
    [04/Mai/2010 11:22:33 00976] [info] Shared memory session cache initialised
    [04/Mai/2010 11:22:33 00976] [info] Init: Initializing (virtual) servers for SSL
    [04/Mai/2010 11:22:33 00976] [info] Init: Configuring server soa1.karlsbad2.promatis.de:443 for SSL protocol
    [04/Mai/2010 11:22:33 00976] [trace] Init: (soa1.karlsbad2.promatis.de:443) Configuring permitted SSL ciphers [ALL:!ADH:!EXPORT56:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP]
    [04/Mai/2010 11:22:33 00976] [trace] Init: (soa1.karlsbad2.promatis.de:80) Configuring permitted proxy SSL ciphers [DEFAULT]
    [04/Mai/2010 11:22:33 00976] [trace] Init: (soa1.karlsbad2.promatis.de:443) Configuring permitted proxy SSL ciphers [DEFAULT]
    [04/Mai/2010 11:22:33 00976] [trace] Init: (127.0.0.1:7200) Configuring permitted proxy SSL ciphers [DEFAULT]

    Did you find a solution to this issue? We are having a similar issue trying to deploy a Paypal IPN on OAS 10.1.2.3. The IPN messages coming from Paypal appear to be attempting an SSLv2 handshake. In our case SSLv2 is disabled due to our security requirements so the connection is killed by our App Server. We have found that manually sending the IPN messages works correctly.

  • How to redirect to different page after login in APEX 4.1

    Dear All,
    Here my Requirement is,When the users login,
    when they entered their username and password and pressed login button,
    they have to redirected to different pages based on the type of user.
    Here my LOGIN_TABLE has following 3 columns,
    1.Username
    2.Password
    3.Type.
    The TYPE has 2 values, employee and admin.
    when the type is admin they should be redirected to page 2,
    reaining i.e employee users has to be redirected to page 3.
    How can I do this? please give some suggestion.
    Thank you.
    regards,
    Gurujothi

    Dear Christian,
    Thank you for your reply,
    I would like to explain something,
    When I using the following function,
    *create or replace FUNCTION custom_auth_g (
    p_username IN VARCHAR2,
    p_password IN VARCHAR2)
    RETURN BOOLEAN IS
    BEGIN
    FOR c1 IN (SELECT 1
    FROM login_table
    WHERE upper(username) = upper(p_username)
    AND upper(password) = upper(p_password))
    LOOP
    RETURN TRUE;
    END LOOP;
    RETURN FALSE;
    END;*
    When login, It checks in the login_table table and if the username is exist with the pass word it successfully entered inside the application.
    for all users only one page which we set.
    My Login_table also contains type which has 2 type as I mentined above.
    But As I mentioned earliar based on the user type it has to be redirected to 2 different page.
    I found this Package but I cant understand,Can you please Explain?
    *create or replace PACKAGE app_security_pkg
    AS
    PROCEDURE add_user
    p_username IN VARCHAR2
    ,p_password IN VARCHAR2
    PROCEDURE login
    p_uname IN VARCHAR2
    ,p_password IN VARCHAR2
    ,p_session_id IN VARCHAR2
    ,p_flow_page IN VARCHAR2
    FUNCTION get_hash
    p_username IN VARCHAR2
    ,p_password IN VARCHAR2
    RETURN VARCHAR2;
    PROCEDURE valid_user2
    p_username IN VARCHAR2
    ,p_password IN VARCHAR2
    FUNCTION valid_user
    p_username IN VARCHAR2
    ,p_password IN VARCHAR2
    RETURN BOOLEAN;
    END app_security_pkg;*
    *create or replace PACKAGE BODY app_security_pkg
    AS
    PROCEDURE login
    p_uname IN VARCHAR2
    ,p_password IN VARCHAR2
    ,p_session_id IN VARCHAR2
    ,p_flow_page IN VARCHAR2
    IS
    lv_goto_page NUMBER DEFAULT 1;
    BEGIN
    -- This logic is a demonstration of how to redirect
    -- to different pages depending on who successfully
    -- authenticates. In my example, it simply demonstrates
    -- the ADMIN user going to page 1 and all other users going
    -- to page 2. Add you own logic here to detrmin which page
    -- a user should be directed to post authentication.
    IF UPPER(p_uname) = 'ADMIN'
    THEN
    lv_goto_page := 1;
    ELSE
    lv_goto_page := 2;
    END IF;
    APEX_UTIL.SET_SESSION_STATE('FSP_AFTER_LOGIN_URL');
    wwv_flow_custom_auth_std.login
    p_uname => p_uname,
    p_password => p_password,
    p_session_id => p_session_id,
    p_flow_page => p_flow_page || ':' || lv_goto_page
    EXCEPTION
    WHEN OTHERS
    THEN
    RAISE;
    END login;
    PROCEDURE add_user
    p_username IN VARCHAR2
    ,p_password IN VARCHAR2
    AS
    BEGIN
    INSERT INTO app_users (username, PASSWORD)
    VALUES (UPPER (p_username),
    get_hash (TRIM (p_username), p_password));
    COMMIT;
    EXCEPTION
    WHEN OTHERS
    THEN
    ROLLBACK;
    RAISE;
    END add_user;
    -- Function to Perform a oneway hash of the users
    -- passwords. This cannot be reversed. This exmaple
    -- is a very week hash and if been used on a production
    -- system, you may want to use a stronger hash algorithm.
    -- Read the Documentation for more info on DBMS_CRYPTO as
    -- this is the supported package from Oracle and
    -- DBMS_OBFUSCATION_TOOLKIT is now depricated.
    FUNCTION get_hash (p_username IN VARCHAR2, p_password IN VARCHAR2)
    RETURN VARCHAR2
    AS
    BEGIN
    RETURN DBMS_OBFUSCATION_TOOLKIT.md5 (
    input_string => UPPER (p_username)
    || '/'
    || UPPER (p_password));
    END get_hash;
    PROCEDURE valid_user2 (p_username IN VARCHAR2, p_password IN VARCHAR2)
    AS
    v_dummy VARCHAR2 (1);
    BEGIN
    SELECT '1'
    INTO v_dummy
    FROM app_users
    WHERE UPPER (username) = UPPER (p_username)
    AND PASSWORD = get_hash (p_username, p_password);
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN raise_application_error (-20000, 'Invalid username / password.');
    END valid_user2;
    FUNCTION valid_user (p_username IN VARCHAR2, p_password IN VARCHAR2)
    RETURN BOOLEAN
    AS
    BEGIN
    valid_user2 (UPPER (p_username), p_password);
    RETURN TRUE;
    EXCEPTION
    WHEN OTHERS
    THEN RETURN FALSE;
    END valid_user;
    END app_security_pkg;*
    And you said "assign an URL to FSP_AFTER_LOGIN_URL, depending on the Type column",
    Where to assign,Could you please Explain?
    Thank you.

  • How to display swf in full screen mode and how to redirect to a url

    Hi,
    I have 2 questions :
    Question 1 - I have a flash swf file and I want to display it in the browser in full mode meaning it should fit the browser, I have tried adding
    fscommand("fullscreen", "true");
    in the first frame of a lyaer but it does not work.
    Question 2 - How to redirect to another page at the end of the swf movie, I have tried adding :
    stop(); 
    navigateToURL( new URLRequest("*www.microsoft.com*"), "_self");
    in the last frame but it does not work.
    Thank you very very much for your assitance !!
    Terry

    "fscommand("fullscreen", "true");" only works for self-running executables, not embedded SWFs in a web page.
    To get the swf to fill the browser page, the best thing to do would be to adjust the publish settings of the "HTML Wrapper" page and copy the necessary pieces from the resultant HTML file into the HTML file you are putting the swf into.
    I have had some successes dealing with similar navigation issues by breaking up the code into multiple tasks:
    var url:String = "http://www.microsoft.com";
    var urlReq:URLRequest = new URLRequest(url);
    navigateToURL(urlReq);
    I can't guarantee that will help, but at least I tried.  :-)

  • How to redirect to other page in a dialogListener?

    Hi All,
    I am using JDeveloper 11g with ADF BC.
    How to redirect to another page from a dialogListener of <af:dialog>?
    I have a page with a [Delete] button on it. When user click on the delete button, a confirmation dialog will appear to ask "Are you sure? [Yes/No]". If user answer [Yes], I will delete the current record, and go to another page. I can call a Operation Binding in the dialogListener, but I don't know how to go to another page.
    public void handleDeleteDialog(DialogEvent dialogEvent) {
    OperationBinding operationBinding = bindings.getOperationBinding("Delete");
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    // redirect to another page?
    Regards,
    Samson Fu

    Hi Samson,
    Check following link for your query:-
    Re: page has to navigate to the next page when  clicking button in the popup
    You can also make usae of Navigation Handler to invoke the navigation action in your task flow as
    FacesContext facesCtx = FacesContext.getCurrentInstance();
    NavigationHandler nh = facesCtx.getApplication().getNavigationHandler();
    nh.handleNavigation(facesCtx, "", "ActionNameInTaskFlow");
    Vikram

  • How to redirect users to Custom Page on InfoView logoff

    Post Author: Srinivas123
    CA Forum: WebIntelligence Reporting
    How to redirect the users on InfoView logoff to a custom page, instead of the default logon.aspx.   

    Hello Senana,
    Assuming you're using wwv_flow_custom_auth_std.login to log in, and p_flow_page is set to "[your app id]:1" try placing the following line just before your call to wwv_flow_custom_auth_std.login:
    :FSP_AFTER_LOGIN_URL := null;This should force user to page 1 after log-in.
    Hope this helps,
    John

  • How to redirect a JSP page after the session is killed

    Hello!
    I am quite new to JSP. I have a question about how to redirect a jsp page after the session is killed. Could anyone help?
    thanks a lot in advance!

    You can't, directly. There's no connection betweenthe server and browser.
    even after invalidating the session. we can do it
    directly using the statement
    response.sendRedirect("....");
    or we can use the meta refresh tag.if session is invalidated and if we try to do response.sendRedirect(".. ") it throws IllegalStateException

  • How to redirect a page to a new window instead of the current one

    Can someone please tell me how to redirect a page to new window.
    I mean I am running a JSP with a button and on clicking it i am opening a new window (thru javascript offcourse),
    Now response.sendirect("New.jsp") should be opened in that new window opened.
    I tried it but the New.jsp page is opened in the current page (Even though new window is opened ! ).
    Please help.

    Hi,
    U can use the following code to Pop up in new window
    Jsp1.jsp
    <%
    if(action != "")
    response .sendRedirect("Jsp2.jsp");
    else
    %>
    <html><head><title>JSP 1</title>
    <script language="JavaScript">
    function View()
    window.open("Jsp1.jsp?action=view","View","");
    </script>
    </head><body>
    <form name="frm" method="post">
    <input type="button" value="View" onclick="View()">
    </form>
    </body>
    </html>
    <%

  • Need a site for how to redirect if session is empty

    I have a session that i have created as soon as someone
    logins. I need some
    help on how to redirect the person if they try to access a
    page without the
    session.
    i have 5 pages... based on your login you entered, i am
    keeping that name in
    the session... on each page i have a stored procedure that is
    executed on
    submit to verify that name against the table to add the recid
    into the new
    table..
    I want to make sure that on page load if that session is
    empty then redirect
    to main page to login and continue

    thanks for the reply... cant tell you if it works, im working
    on ASP that
    was my fault for not stating it...
    Building the app in ASP, SQL2005 using DW8
    "geschenk" <[email protected]> wrote in
    message
    news:f0tasq$oho$[email protected]..
    > You´ll probably just need to paste the following
    snippet *at the very
    > beginning*
    (line 1) of the respective page:
    >
    > <?php
    > if(!isset($_SESSION['username'])) { // if session
    variable "username"
    > doesn´t
    > exist or has expired...
    > header('Location: login.php'); // ...redirect to the
    login page
    > }
    > ?>
    >
    > I *think* this should work
    >

Maybe you are looking for

  • Variable issue in BO-WEBI

    Dear BO Experts, We have 6 Bex querys in BI with OLEDB Parameter selected. We created BO-WEBI Document and in this Document we inserted 6 Reports.Each report we have one Bex query attached. For 6 queries we have common variables.when we open BI Workb

  • Black Screen with cursor. Java Desktop System.

    Hello everyone. I've installed Solaris 10 05/08 x86 32bit in VMWare Workstation 6.5. After I logged in in the system (Java Desktop System, Release 3), I've got only a black screen with cursor, nothing more. X server: Xsun server configuration: Video

  • How to get the desired output in the format ...?

    Hi all, I am having data like this. Col1 col2 col3 1 2 1 1 2 2 1 2 3 2 3 7 2 3 8 2 3 9 I want to output the data like this 1 2 1,2,3 2 3 7,8,9 How to get this. Thanks in advance, Pal

  • Cannot play audio CDs in totem

    I have totem-gstreamer and the gstreamer plugins for cdaudio, cdio and cdparanoia. I am in the audio and optical group. The permissions of my cd-rom are as follows: brw-r----- 1 root audio 22, 0 2007-08-06 22:35 /dev/hdc The audio CD appears as an ic

  • Using older firewire external drive

    I recently got a new 21.5 iMac and want to hook up and older external drive from om older iMac (the one that looks like the PIXAR lamp). The drive is an Apple drive. I bought a new 800/400 cable and tried to connect it. Nothing shows on the desktop o