Configuring Apache HTTP as an RPS

Longback i configured Apache HTTP as an Reverse proxy to weblogic for singlesignon with OAM.
that time i downloaded the Apache HTTP server Plugin from the below link
http://e-docs.bea.com/wls/docs92/plugins/apache.html
but after oracle aquiring the oracle i can not able to find the link for Apache plugin .
can any one please upadte the new url to download APACHE HTTP server plugin

Hi,
You can download the latest apache plugins from the below link.
http://www.oracle.com/technology/software/products/ias/htdocs/wls_main.html
Click on the "see all files" options of the Oracle WebLogic Server 10.3, and you can download the same under the
Mandatory for 10.3 installers.
Cheers,
Raj

Similar Messages

  • Configuring Apache HTTP as an RPS to weblogic for SSO on PSFT

    Longback i configured Apache HTTP as an Reverse proxy to weblogic for singlesignon with OAM.
    that time i downloaded the Apache HTTP server Plugin from the below link
    http://e-docs.bea.com/wls/docs92/plugins/apache.html
    but after oracle aquiring the oracle i can not able to find the link for Apache plugin .
    can any one please upadte the new url to download APACHE HTTP server plugin

    It seems the WebLogic Server plug-ins for Apache web server are available for download only through My Oracle Support (MetaLink)
    Check below:
    http://www.oracle.com/technology/deploy/security/wls-security/2793.html
    The page mentions that the web server plug-in is available for download via Doc ID # 7825156.
    You can also have a look at http://www.oracle.com/technology/deploy/security/alerts/alert_cve2008-3257.html
    Hope this helps.

  • Configuring Apache HTTP Server with Oracle Weblogic Server plugin

    Hello friends,
    I have a scenario of OIM 9.1.0.2 on Oracle Application Server 11g and Weblogic Server Apache HTTP Server.
    Oracle WebLogic Server is configured in cluster (node1 and node2), also use the Oracle Weblogic Server plugin for integration with Apache.
    One of the tests is to lose one of the nodes for the apache plugin redirects the node that has less overhead.
    When the mode is node1 and node2 stop start mode and try to access the management console of Oracle Identity Manager, the plugin sometimes redirects to the other active node, and on another occasion shows the oracle management console identity manager without the colors of the basic look and feel.
    Deputy of the Apache HTTP Server log, do you expect your comments to solve this case?
    *************************************************log****************************************************
    Server Details are:
    OrigHostInfo [192.168.1.200]
    isOrigHostInfoDNS [0]
    Host [192.168.1.200]
    Port [7002]
    SecurePort [7004]
    Mon Jan 30 22:10:43 2012 <2600713279794431> Initializing lastIndex=0 for a list of length=1
    Mon Jan 30 22:10:43 2012 <2600713279794431> initJVMID: Trying to locate Primary or Secondary using SrvrInfo with JVMID [-872106207]
    Mon Jan 30 22:10:43 2012 <2600713279794431> initJVMID: Found Primary 192.168.1.200:7002:7004
    Mon Jan 30 22:10:43 2012 <2600713279794431> INFO: Closing SSL context
    Mon Jan 30 22:10:43 2012 <2600713279794431> .....internal request /bea_wls_internal/WLDummyInitJVMIDs.....processed
    Mon Jan 30 22:10:43 2012 <2600713279794431> getPreferredFromCookie: Found 1 servers
    Mon Jan 30 22:10:43 2012 <2600713279794431> attempt #0 out of a max of 5
    Mon Jan 30 22:10:43 2012 <2600713279794431> trying connect to PRIMARY '192.168.1.200'/7002/7004
    Mon Jan 30 22:10:43 2012 <2600713279794431> getPooledConn: No more connections in the pool for Host[192.168.1.200] Port[7002] SecurePort[7004]
    Mon Jan 30 22:10:43 2012 <2600713279794431> New SSL URL: match = 0 oid = 22
    Mon Jan 30 22:10:43 2012 <2600713279794431> Connect returns -1, and error no set to 150, msg 'Operation now in progress'
    Mon Jan 30 22:10:43 2012 <2600713279794431> EINPROGRESS in connect() - selecting
    Mon Jan 30 22:10:43 2012 <2600713279794431> Setting peerID for new SSL connection
    Mon Jan 30 22:10:43 2012 <2600713279794431> 0ae2 0436 0000 1b5c ...6...\
    Mon Jan 30 22:10:43 2012 <2600713279794431> Local Port of the socket is 39186
    Mon Jan 30 22:10:43 2012 <2600713279794431> Remote Host 192.168.1.200 Remote Port 7004
    Mon Jan 30 22:10:43 2012 <2600713279794431> created a new connection to preferred server '192.168.1.200/7004' for '/xlWebApp/images/spacer.gif', Local port:39186
    Mon Jan 30 22:10:43 2012 <2600713279794431> INFO: CA certificate missing basicConstraints, validation failed
    Mon Jan 30 22:10:43 2012 <2600713279794431> ERROR: SSLWrite failed
    Mon Jan 30 22:10:43 2012 <2600713279794431> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
    Mon Jan 30 22:10:43 2012 <2600713279794431> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
    Mon Jan 30 22:10:43 2012 <2600713279794431> Marking 192.168.1.200:7004 as bad
    Mon Jan 30 22:10:43 2012 <2600713279794431> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0,  line 794 of ../nsapi/URL.cpp]: at line 3160
    Mon Jan 30 22:10:43 2012 <2600713279794431> INFO: Closing SSL context
    Mon Jan 30 22:10:43 2012 <2598413279794431>
    ================New Request: [GET /images/cab.gif HTTP/1.1] =================
    Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: SSL is configured
    Mon Jan 30 22:10:43 2012 <2598413279794431> SSL Main Context not set. Calling InitSSL
    Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: SSL configured successfully
    Mon Jan 30 22:10:43 2012 <2598413279794431> Using Uri /images/cab.gif
    Mon Jan 30 22:10:43 2012 <2598413279794431> After trimming path: '/images/cab.gif'
    Mon Jan 30 22:10:43 2012 <2598413279794431> adding prepend path: /xlWebApp/
    Mon Jan 30 22:10:43 2012 <2598413279794431> The final request string is '/xlWebApp/images/cab.gif'
    Mon Jan 30 22:10:43 2012 <2598413279794431> Host extracted from serverlist is [192.168.1.100]
    Mon Jan 30 22:10:43 2012 <2598413279794431> Host extracted from serverlist is [192.168.1.200]
    Mon Jan 30 22:10:43 2012 <2598413279794431> Initializing lastIndex=0 for a list of length=2
    Mon Jan 30 22:10:43 2012 <2598413279794431> getListNode: created a new server node: id='192.168.1.100:7004,192.168.1.200:7004' server_name='OIMSERVER', port='443'
    Mon Jan 30 22:10:43 2012 <2598413279794431> getPreferred: availcookie=[JSESSIONID=6RGCPnbTFRG7LBrTRpFnv1QLnQHkxkqr4pjGhhGJyrJWJ1rv86NK!-872106207!NONE]
    Mon Jan 30 22:10:43 2012 <2598413279794431> Found cookie from cookie header: JSESSIONID=6RGCPnbTFRG7LBrTRpFnv1QLnQHkxkqr4pjGhhGJyrJWJ1rv86NK!-872106207!NONE
    Mon Jan 30 22:10:43 2012 <2598413279794431> Parsing cookie JSESSIONID=6RGCPnbTFRG7LBrTRpFnv1QLnQHkxkqr4pjGhhGJyrJWJ1rv86NK!-872106207!NONE
    Mon Jan 30 22:10:43 2012 <2598413279794431> getpreferredServersFromCookie: [-872106207!NONE]
    Mon Jan 30 22:10:43 2012 <2598413279794431> primaryJVMID: [-872106207]
    secondaryJVMID: [NONE]
    Mon Jan 30 22:10:43 2012 <2598413279794431> No of JVMIDs found in cookie: 1
    Mon Jan 30 22:10:43 2012 <2598413279794431> getPreferredFromCookie: Start Position is 0, listLen is 2
    Mon Jan 30 22:10:43 2012 <2598413279794431> getPreferredFromCookie: Either JVMIDs not set or they are stale. Will try to get JVMIDs from WLS
    Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Iterating SrvrList from position 0
    Mon Jan 30 22:10:43 2012 <2598413279794431> ======internal request /bea_wls_internal/WLDummyInitJVMIDs======
    initJVMID: Trying Host[192.168.1.100] Port[7004] SecurePort[7004] useSSL [1] ioTimeout [30] socketTimeout [2]
    Mon Jan 30 22:10:43 2012 <2598413279794431> New SSL URL: match = 0 oid = 0
    Mon Jan 30 22:10:43 2012 <2598413279794431> Connect returns -1, and error no set to 146, msg 'Connection refused'
    Mon Jan 30 22:10:43 2012 <2598413279794431> Error connecting to host 192.168.1.100:7004
    Mon Jan 30 22:10:43 2012 <2598413279794431> *******Exception type [CONNECTION_REFUSED] (Error connecting to host 192.168.1.100:7004 errno = 146) raised at line 1723 of ../nsapi/URL.cpp
    Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Failed to retrieved JVMID for 192.168.1.100:7004:7004
    Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Marked server as BAD
    Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Closing SSL context
    Mon Jan 30 22:10:43 2012 <2598413279794431> .....internal request /bea_wls_internal/WLDummyInitJVMIDs.....processed
    Mon Jan 30 22:10:43 2012 <2598413279794431> ======internal request /bea_wls_internal/WLDummyInitJVMIDs======
    initJVMID: Trying Host[192.168.1.200] Port[7004] SecurePort[7004] useSSL [1] ioTimeout [30] socketTimeout [2]
    Mon Jan 30 22:10:43 2012 <2598413279794431> New SSL URL: match = 0 oid = 0
    Mon Jan 30 22:10:43 2012 <2598413279794431> Connect returns -1, and error no set to 150, msg 'Operation now in progress'
    Mon Jan 30 22:10:43 2012 <2598413279794431> EINPROGRESS in connect() - selecting
    Mon Jan 30 22:10:43 2012 <2598413279794431> Setting peerID for new SSL connection
    Mon Jan 30 22:10:43 2012 <2598413279794431> 0ae2 0436 0000 1b5c ...6...\
    Mon Jan 30 22:10:43 2012 <2598413279794431> Local Port of the socket is 39188
    Mon Jan 30 22:10:43 2012 <2598413279794431> Remote Host 192.168.1.200 Remote Port 7004
    Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Certificate validation succeeded
    Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Negotiated to cipher: 3
    Mon Jan 30 22:10:43 2012 <2598413279794431> SSLWrite sent 171
    Mon Jan 30 22:10:43 2012 <2598413279794431> SSLWrite completed, sent 171
    Mon Jan 30 22:10:43 2012 <2598413279794431> Reader::fill() SSLRead returned: 0 290
    Mon Jan 30 22:10:43 2012 <2598413279794431> URL::parseHeaders: CompleteStatusLine set to [HTTP/1.1 404 Not Found]
    Mon Jan 30 22:10:43 2012 <2598413279794431> URL::parseHeaders: StatusLine set to [404 Not Found]
    Mon Jan 30 22:10:43 2012 <2598413279794431> parsed all headers OK
    Mon Jan 30 22:10:43 2012 <2598413279794431> Parsing cluster list: -872106207!182584374!7002!7004
    Mon Jan 30 22:10:43 2012 <2598413279794431> parseJVMID: Parsing JVMID '-872106207!182584374!7002!7004'
    Mon Jan 30 22:10:43 2012 <2598413279794431> parseJVMID: Actually parsing '-872106207!182584374!7002!7004'
    Mon Jan 30 22:10:43 2012 <2598413279794431> ServerInfo struct for JVMID '-872106207' populated
    Server Details are:
    OrigHostInfo [192.168.1.200]
    isOrigHostInfoDNS [0]
    Host [192.168.1.200]
    Port [7002]
    SecurePort [7004]
    Mon Jan 30 22:10:43 2012 <2598413279794431> Initializing lastIndex=0 for a list of length=1
    Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Trying to locate Primary or Secondary using SrvrInfo with JVMID [-872106207]
    Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Found Primary 192.168.1.200:7002:7004
    Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Closing SSL context
    Mon Jan 30 22:10:43 2012 <2598413279794431> .....internal request /bea_wls_internal/WLDummyInitJVMIDs.....processed
    Mon Jan 30 22:10:43 2012 <2598413279794431> getPreferredFromCookie: Found 1 servers
    Mon Jan 30 22:10:43 2012 <2598413279794431> attempt #0 out of a max of 5
    Mon Jan 30 22:10:43 2012 <2598413279794431> trying connect to PRIMARY '192.168.1.200'/7002/7004
    Mon Jan 30 22:10:43 2012 <2598413279794431> getPooledConn: No more connections in the pool for Host[192.168.1.200] Port[7002] SecurePort[7004]
    Mon Jan 30 22:10:43 2012 <2598413279794431> New SSL URL: match = 0 oid = 22
    Mon Jan 30 22:10:43 2012 <2598413279794431> Connect returns -1, and error no set to 150, msg 'Operation now in progress'
    Mon Jan 30 22:10:43 2012 <2598413279794431> EINPROGRESS in connect() - selecting
    Mon Jan 30 22:10:43 2012 <2598413279794431> Setting peerID for new SSL connection
    Mon Jan 30 22:10:43 2012 <2598413279794431> 0ae2 0436 0000 1b5c ...6...\
    Mon Jan 30 22:10:43 2012 <2598413279794431> Local Port of the socket is 39189
    Mon Jan 30 22:10:43 2012 <2598413279794431> Remote Host 192.168.1.200 Remote Port 7004
    Mon Jan 30 22:10:43 2012 <2598413279794431> created a new connection to preferred server '192.168.1.200/7004' for '/xlWebApp/images/cab.gif', Local port:39189
    Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: CA certificate missing basicConstraints, validation failed
    Mon Jan 30 22:10:43 2012 <2598413279794431> ERROR: SSLWrite failed
    Mon Jan 30 22:10:43 2012 <2598413279794431> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
    Mon Jan 30 22:10:43 2012 <2598413279794431> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
    Mon Jan 30 22:10:43 2012 <2598413279794431> Marking 192.168.1.200:7004 as bad
    Mon Jan 30 22:10:43 2012 <2598413279794431> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0,  line 794 of ../nsapi/URL.cpp]: at line 3160
    Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Closing SSL context
    Thanks

    "One of the tests is to lose one of the nodes for the apache plugin redirects the node that has less overhead."
    Note that the plug-in does a round robin load balancing, for example, in the case of three server (1,2,3) it does 1-2-3-1-2-3-1...
    with server 3 going down it does 1-2-1-2-1...
    An example configuration (with SSL off) looks as follows:
    LoadModule weblogic_module   "/home/oracle/weblogic12.1.1/apache/modules/mod_wl.so"
    <IfModule weblogic_module>
         ConnectTimeoutSecs 10
         ConnectRetrySecs 2
         DebugConfigInfo ON
         WLSocketTimeoutSecs 2
         WLIOTimeoutSecs 300
         Idempotent ON
         FileCaching ON
         KeepAliveSecs 20
         KeepAliveEnabled ON
         DynamicServerList ON
         WLProxySSL OFF
    </IfModule>
    <Location /LoadTest6>
         SetHandler weblogic-handler
         WebLogicCluster 172.31.0.175:7002,172.31.0.113:7003
    </Location>Also see the complete example here: http://middlewaremagic.com/weblogic/?p=7795
    "the plugin sometimes redirects to the other active node"
    This is somewhat strange, do you have session binding turned off?
    "and on another occasion shows the oracle management console identity manager without the colors of the basic look and feel."
    This could happen due to mime types (not really sure just a hunch). Here is a general story on this concept: https://developer.mozilla.org/en/Properly_Configuring_Server_MIME_Types
    and the apache module: http://httpd.apache.org/docs/2.2/mod/mod_mime.html

  • Installing and Configuring the Apache HTTP Server Plug-In

    Hi,
    I am using WL10.3 in Linux machine.
    I have an environment where I have a single WL server in a domain that is deployed with the web-application
    And I have another domain where I have two managed servers in a cluster that is deployed with the business.
    Now, I want to configure a Apache HTTP server to make it work as a proxy along with the weblogic.
    In my current scenario, the stand alone server proxies the req to the cluster and that is defined in a jndi.properties.
    Now, what should I do if I want to use the Apache
    I have the following questions:
    1. Forget about my env, generally how can I install and configure Apache HTTP plug-in?
    I see we already having libproxy_61.so file inside /bea/wlserver_10.3/server/plugin/linux/i686
    Do i need to install the patch even then as told in http://www.oracle.com/technology/deploy/security/wls-security/2793.html?
    2. While am adding the lines in httpd.conf ,
    LoadModule weblogic_module modules/mod_wl_22.so
    Should I put ibproxy_61.so instead of mod_wl_22.so in this line?
    3. Just by configuring the proxy, the session replication and load balancing will be ensured?
    4.And for my configuration as stated at the beginning few lines, what can be the best architecture?
    Your help is really appreciated.

    Hi,
    Below blog would give you a clear understanding of the Integrating Apache with Weblogic. All your questions are been answered in the below blog.
    http://www.prasannatech.net/2008/07/integrating-apache-tomcat-weblogic.html
    You can for sure apply the patch provided in CVE-2008-3257).
    Keep posted with your findings and let us know if you need any further clarification.
    Regards,
    Hussain

  • Weblogic apache HTTP configuration question

    Hi All,
    Here is my current configuration:
    Oracle Weblogic 10.01
    Linux Centos 5
    Apache HTTP 2.2
    LoadModule weblogic_module modules/mod_wl_22.so
    <Location /TESTCRM>
    <IfModule mod_weblogic.c>
    SetHandler weblogic-handler
    WeblogicHost 192.168.100.20
    WebLogicPort 8002
    CookieName SAGPHSESSIONID
    Debug ON
    KeepAliveEnabled ON
    WLSocketTimeoutSecs 5
    WLLogFile "D:/Apache2.2/logs/wlproxy.log"
    </IfModule>
    </Location>
    It works fine. http://localhost/TESTCRM load the application located on the Weblogic server.
    Is there way to exclude certain directory from being loaded from weblogic server?
    We want resource folder to be loaded from local apache machine.
    http://localhost/TESTCRM/resource (resource folder is located on the apache htdoc folder)
    How can I exclude the resource folding loading via weblogic module? Is that possible? What alternative option do I have? I am new with apache so any help will really appropriate it.
    Here is wlproxy.log (error it trying to load resource from weblogic server but it getting 404 since it does not exist there)
    ================New Request: [GET /TESTCRM/resources/resources/css/reset-min.css HTTP/1.1] =================
    Fri Oct 16 11:33:29 2009 <314012557072091> INFO: SSL is not configured
    Fri Oct 16 11:33:29 2009 <314012557072091> Using Uri /TESTCRM/resources/resources/css/reset-min.css
    Fri Oct 16 11:33:29 2009 <314012557072091> After trimming path: '/TESTCRM/resources/resources/css/reset-min.css'
    Fri Oct 16 11:33:29 2009 <314012557072091> The final request string is '/TESTCRM/resources/resources/css/reset-min.css'
    Fri Oct 16 11:33:29 2009 <314012557072091> Host extracted from serverlist is [192.168.100.20]
    Fri Oct 16 11:33:29 2009 <314012557072091> Initializing lastIndex=0 for a list of length=1
    Fri Oct 16 11:33:29 2009 <314012557072091> getListNode: created a new server node: id='192.168.100.20:8002' server_name='172.24.0.81', port='80'
    Fri Oct 16 11:33:29 2009 <314012557072091> attempt #0 out of a max of 5
    Fri Oct 16 11:33:29 2009 <314012557072091> Trying a pooled connection for '192.168.100.20/8002/8002'
    Fri Oct 16 11:33:29 2009 <314012557072091> getPooledConn: No more connections in the pool for Host[192.168.100.20] Port[8002] SecurePort[8002]
    Fri Oct 16 11:33:29 2009 <314012557072091> general list: trying connect to '192.168.100.20'/8002/8002 at line 2619 for '/TESTCRM/resources/resources/css/reset-min.css'
    Fri Oct 16 11:33:29 2009 <314012557072091> INFO: New NON-SSL URL
    Fri Oct 16 11:33:29 2009 <314012557072091> Connect returns -1, and error no set to 10035, msg 'Unknown error'
    Fri Oct 16 11:33:29 2009 <314012557072091> EINPROGRESS in connect() - selecting
    Fri Oct 16 11:33:29 2009 <314012557072091> Local Port of the socket is 1281
    Fri Oct 16 11:33:29 2009 <314012557072091> Remote Host 192.168.100.20 Remote Port 8002
    Fri Oct 16 11:33:29 2009 <314012557072091> general list: created a new connection to '192.168.100.20'/8002 for '/TESTCRM/resources/resources/css/reset-min.css', Local port:1281
    Fri Oct 16 11:33:29 2009 <314012557072091> URL::parseHeaders: CompleteStatusLine set to [HTTP/1.1 404 Not Found]
    Fri Oct 16 11:33:29 2009 <314012557072091> URL::parseHeaders: StatusLine set to [404 Not Found]
    Fri Oct 16 11:33:29 2009 <314012557072091> parsed all headers OK
    Fri Oct 16 11:33:29 2009 <314012557072091> sendResponse() : r->status = '404'
    Fri Oct 16 11:33:29 2009 <314012557072091> for 192.168.100.20/8002/8002, updated JVMID: -574096105
    Fri Oct 16 11:33:29 2009 <314012557072091> canRecycle: conn=1 status=404 isKA=0 clen=1214 isCTE=0
    Fri Oct 16 11:33:29 2009 <314012557072091> closeConn: URL.canRecycle() returns false, deleting URL '192.168.100.20/8002'
    Fri Oct 16 11:33:29 2009 <314012557072091> request [TESTCRM/resources/resources/css/reset-min.css] processed sucessfully..
    Let me know if you need any other information
    Thanks
    Sayef

    have you tried:
    WLExcludePathOrMimeType /TESTCRM/resource
    http://download-llnw.oracle.com/docs/cd/E15051_01/wls/docs103/plugins/plugin_params.html#wp1143055

  • Is My apache http file okay? Could have been hacked?????Why would 12.34.56.78:80 be the listening address I don't have any AT&T Services12

    I believe my apache server could have been hacked.  Is there a member of the community that could take a look at the paste of my http.conf file.  Thanks so much
    # Mac OS X / Mac OS X Server
    # The <IfDefine> blocks segregate server-specific directives
    # and also directives that only apply when Web Sharing or
    # server Web Service (as opposed to other services that need Apache) is on.
    # The launchd plist sets appropriate Define parameters.
    # Generally, desktop has no vhosts and server does; server has added modules,
    # custom virtual hosts are only activated when Web Service is on, and
    # default document root and personal web sites at ~username are only
    # activated when Web Sharing is on.
    # This is the main Apache HTTP server configuration file.  It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
    # In particular, see
    # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
    # for a discussion of each configuration directive.
    # Do NOT simply read the instructions in here without understanding
    # what they do.  They're here only as hints or reminders.  If you are unsure
    # consult the online docs. You have been warned. 
    # Configuration and logfile names: If the filenames you specify for many
    # of the server's control files begin with "/" (or "drive:/" for Win32), the
    # server will use that explicit path.  If the filenames do *not* begin
    # with "/", the value of ServerRoot is prepended -- so "log/foo_log"
    # with ServerRoot set to "/usr" will be interpreted by the
    # server as "/usr/log/foo_log".
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    # Do not add a slash at the end of the directory path.  If you point
    # ServerRoot at a non-local disk, be sure to point the LockFile directive
    # at a local disk.  If you wish to share the same ServerRoot for multiple
    # httpd daemons, you will need to change at least LockFile and PidFile.
    ServerRoot "/usr"
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, instead of the default. See also the <VirtualHost>
    # directive.
    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses.
    #Listen 12.34.56.78:80
    <IfDefine !MACOSXSERVER>
    Listen 80
    </IfDefine>
    # Dynamic Shared Object (DSO) Support
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule' lines at this location so the
    # directives contained in it are actually available _before_ they are used.
    # Statically compiled modules (those listed by `httpd -l') do not need
    # to be loaded here.
    # Example:
    # LoadModule foo_module modules/mod_foo.so
    LoadModule authn_file_module libexec/apache2/mod_authn_file.so
    LoadModule authz_host_module libexec/apache2/mod_authz_host.so
    LoadModule cache_module libexec/apache2/mod_cache.so
    LoadModule disk_cache_module libexec/apache2/mod_disk_cache.so
    LoadModule dumpio_module libexec/apache2/mod_dumpio.so
    LoadModule reqtimeout_module libexec/apache2/mod_reqtimeout.so
    LoadModule ext_filter_module libexec/apache2/mod_ext_filter.so
    LoadModule include_module libexec/apache2/mod_include.so
    LoadModule filter_module libexec/apache2/mod_filter.so
    LoadModule substitute_module libexec/apache2/mod_substitute.so
    LoadModule deflate_module libexec/apache2/mod_deflate.so
    LoadModule log_config_module libexec/apache2/mod_log_config.so
    LoadModule log_forensic_module libexec/apache2/mod_log_forensic.so
    LoadModule logio_module libexec/apache2/mod_logio.so
    LoadModule env_module libexec/apache2/mod_env.so
    LoadModule mime_magic_module libexec/apache2/mod_mime_magic.so
    LoadModule cern_meta_module libexec/apache2/mod_cern_meta.so
    LoadModule expires_module libexec/apache2/mod_expires.so
    LoadModule headers_module libexec/apache2/mod_headers.so
    LoadModule ident_module libexec/apache2/mod_ident.so
    LoadModule usertrack_module libexec/apache2/mod_usertrack.so
    #LoadModule unique_id_module libexec/apache2/mod_unique_id.so
    LoadModule setenvif_module libexec/apache2/mod_setenvif.so
    LoadModule version_module libexec/apache2/mod_version.so
    LoadModule proxy_module libexec/apache2/mod_proxy.so
    LoadModule proxy_http_module libexec/apache2/mod_proxy_http.so
    LoadModule proxy_scgi_module libexec/apache2/mod_proxy_scgi.so
    LoadModule proxy_balancer_module libexec/apache2/mod_proxy_balancer.so
    LoadModule ssl_module libexec/apache2/mod_ssl.so
    LoadModule mime_module libexec/apache2/mod_mime.so
    LoadModule dav_module libexec/apache2/mod_dav.so
    LoadModule autoindex_module libexec/apache2/mod_autoindex.so
    LoadModule asis_module libexec/apache2/mod_asis.so
    LoadModule info_module libexec/apache2/mod_info.so
    LoadModule cgi_module libexec/apache2/mod_cgi.so
    LoadModule dav_fs_module libexec/apache2/mod_dav_fs.so
    LoadModule vhost_alias_module libexec/apache2/mod_vhost_alias.so
    LoadModule negotiation_module libexec/apache2/mod_negotiation.so
    LoadModule dir_module libexec/apache2/mod_dir.so
    LoadModule imagemap_module libexec/apache2/mod_imagemap.so
    LoadModule actions_module libexec/apache2/mod_actions.so
    LoadModule speling_module libexec/apache2/mod_speling.so
    LoadModule alias_module libexec/apache2/mod_alias.so
    LoadModule rewrite_module libexec/apache2/mod_rewrite.so
    LoadModule php5_module libexec/apache2/libphp5.so
    #Apple specific modules
    LoadModule apple_userdir_module libexec/apache2/mod_userdir_apple.so
    LoadModule bonjour_module libexec/apache2/mod_bonjour.so
    <IfDefine !MACOSXSERVER>
    LoadModule authn_dbm_module libexec/apache2/mod_authn_dbm.so
    LoadModule authn_anon_module libexec/apache2/mod_authn_anon.so
    LoadModule authn_dbd_module libexec/apache2/mod_authn_dbd.so
    LoadModule authn_default_module libexec/apache2/mod_authn_default.so
    LoadModule auth_basic_module libexec/apache2/mod_auth_basic.so
    LoadModule auth_digest_module libexec/apache2/mod_auth_digest.so
    LoadModule authz_groupfile_module libexec/apache2/mod_authz_groupfile.so
    LoadModule authz_user_module libexec/apache2/mod_authz_user.so
    LoadModule authz_dbm_module libexec/apache2/mod_authz_dbm.so
    LoadModule authz_owner_module libexec/apache2/mod_authz_owner.so
    LoadModule authz_default_module libexec/apache2/mod_authz_default.so
    LoadModule mem_cache_module libexec/apache2/mod_mem_cache.so
    LoadModule dbd_module libexec/apache2/mod_dbd.so
    LoadModule proxy_connect_module libexec/apache2/mod_proxy_connect.so
    LoadModule proxy_ftp_module libexec/apache2/mod_proxy_ftp.so
    LoadModule proxy_ajp_module libexec/apache2/mod_proxy_ajp.so
    LoadModule status_module libexec/apache2/mod_status.so
    </IfDefine>
    <IfDefine MACOSXSERVER>
    LoadModule hfs_apple_module libexec/apache2/mod_hfs_apple.so
    #LoadModule auth_digest_apple_module libexec/apache2/mod_auth_digest_apple.so
    #LoadModule encoding_module libexec/apache2/mod_encoding.so
    #LoadModule jk_module libexec/apache2/mod_jk.so
    LoadModule apple_auth_module libexec/apache2/mod_auth_apple.so
    LoadModule spnego_auth_module libexec/apache2/mod_spnego_apple.so
    LoadModule apple_digest_module libexec/apache2/mod_digest_apple.so
    #LoadModule python_module libexec/apache2/mod_python.so
    LoadModule xsendfile_module libexec/apache2/mod_xsendfile.so
    LoadModule apple_status_module libexec/apache2/mod_status_apple.so
    </IfDefine>
    # If you wish httpd to run as a different user or group, you must run
    # httpd as root initially and it will switch. 
    # User/Group: The name (or #number) of the user/group to run httpd as.
    # It is usually good practice to create a dedicated user and group for
    # running httpd, as with most system services.
    User _www
    Group _www
    # 'Main' server configuration
    # The directives in this section set up the values used by the 'main'
    # server, which responds to any requests that aren't handled by a
    # <VirtualHost> definition.  These values also provide defaults for
    # any <VirtualHost> containers you may define later in the file.
    # All of these directives may appear inside <VirtualHost> containers,
    # in which case these default settings will be overridden for the
    # virtual host being defined.
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed.  This address appears on some server-generated pages, such
    # as error documents.  e.g. [email protected]
    ServerAdmin [email protected]
    # ServerName gives the name and port that the server uses to identify itself.
    # This can often be determined automatically, but we recommend you specify
    # it explicitly to prevent problems during startup.
    # If your host doesn't have a registered DNS name, enter its IP address here.
    #ServerName www.example.com:80
    <IfDefine MACOSXSERVER>
    DocumentRoot /var/empty
    <IfModule mod_auth_digest_apple.c>
            BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
    </IfModule>
    <IfModule mod_headers.c>
            Header add MS-Author-Via "DAV"
            RequestHeader set X_FORWARDED_PROTO 'https' env=https
            RequestHeader set X_FORWARDED_PROTO 'http' env=!https
    </IfModule>
    <IfModule mod_encoding.c>
            EncodingEngine on
            NormalizeUsername on
            DefaultClientEncoding UTF-8
    # Windows XP?
            AddClientEncoding "Microsoft-WebDAV-MiniRedir/" MSUTF-8
    # Windows 2K SP2 with .NET
            AddClientEncoding "(Microsoft .* DAV\$)" MSUTF-8
    # Windows 2K SP2/Windows XP
            AddClientEncoding "(Microsoft .* DAV 1.1)" CP932
    # Windows XP?
            AddClientEncoding "Microsoft-WebDAV*" CP932
    # RealPlayer
            AddClientEncoding "RMA/*" CP932
    # MacOS X webdavfs
            AddClientEncoding "WebDAVFS" UTF-8
    # cadaver
            AddClientEncoding "cadaver/" EUC-JP
    </IfModule>
    <Directory /usr/share/web>
        AllowOverride None
        Options MultiViews FollowSymlinks
        Order allow,deny
        Allow from all
        Header Set Cache-Control no-cache
    </Directory>
    Alias /webmail /usr/share/web/webmail.html
    Alias /changepassword /usr/share/web/changepassword.html
    Alias /profilemanager /usr/share/web/profilemanager.html
    Alias /webcal /usr/share/web/webcal.html
    </IfDefine>
    <IfDefine !MACOSXSERVER>
    <IfDefine WEBSHARING_ON>
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "/Library/WebServer/Documents"
    # Each directory to which Apache has access can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    # First, we configure the "default" to be a very restrictive set of
    # features. 
    <Directory />
        Options FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
    </Directory>
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "/Library/WebServer/Documents">
        # Possible values for the Options directive are "None", "All",
        # or any combination of:
        #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
        # Note that "MultiViews" must be named *explicitly* --- "Options All"
        # doesn't give it to you.
        # The Options directive is both complicated and important.  Please see
        # http://httpd.apache.org/docs/2.2/mod/core.html#options
        # for more information.
        Options Indexes FollowSymLinks MultiViews
        # AllowOverride controls what directives may be placed in .htaccess files.
        # It can be "All", "None", or any combination of the keywords:
        #   Options FileInfo AuthConfig Limit
        AllowOverride None
        # Controls who can get stuff from this server.
        Order allow,deny
        Allow from all
    </Directory>
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    <IfModule dir_module>
        DirectoryIndex index.html
    </IfModule>
    </IfDefine>
    </IfDefine>
    # The following lines prevent .htaccess and .htpasswd files from being
    # viewed by Web clients.
    <FilesMatch "^\.([Hh][Tt]|[Dd][Ss]_[Ss])">
        Order allow,deny
        Deny from all
        Satisfy All
    </FilesMatch>
    # Apple specific filesystem protection.
    <Files "rsrc">
        Order allow,deny
        Deny from all
        Satisfy All
    </Files>
    <DirectoryMatch ".*\.\.namedfork">
        Order allow,deny
        Deny from all
        Satisfy All
    </DirectoryMatch>
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here.  If you *do* define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    ErrorLog "/private/var/log/apache2/error_log"
    # LogLevel: Control the number of messages logged to the error_log.
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    <IfModule log_config_module>
        # The following directives define some format nicknames for use with
        # a CustomLog directive (see below).
        LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
        LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combinedvhost
        LogFormat "%h %l %u %t \"%r\" %>s %b" common
        LogFormat "%v %h %l %u %t \"%r\" %>s %b" commonvhost
        <IfModule logio_module>
          # You need to enable mod_logio.c to use %I and %O
          LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
          LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinediovhost
        </IfModule>
        # The location and format of the access logfile (Common Logfile Format).
        # If you do not define any access logfiles within a <VirtualHost>
        # container, they will be logged here.  Contrariwise, if you *do*
        # define per-<VirtualHost> access logfiles, transactions will be
        # logged therein and *not* in this file.
        CustomLog "/private/var/log/apache2/access_log" common
        # If you prefer a logfile with access, agent, and referer information
        # (Combined Logfile Format) you can use the following directive.
        #CustomLog "/private/var/log/apache2/access_log" combined
    </IfModule>
    <IfModule alias_module>
        # Redirect: Allows you to tell clients about documents that used to
        # exist in your server's namespace, but do not anymore. The client
        # will make a new request for the document at its new location.
        # Example:
        # Redirect permanent /foo http://www.example.com/bar
        # Alias: Maps web paths into filesystem paths and is used to
        # access content that does not live under the DocumentRoot.
        # Example:
        # Alias /webpath /full/filesystem/path
        # If you include a trailing / on /webpath then the server will
        # require it to be present in the URL.  You will also likely
        # need to provide a <Directory> section to allow access to
        # the filesystem path.
        # ScriptAlias: This controls which directories contain server scripts.
        # ScriptAliases are essentially the same as Aliases, except that
        # documents in the target directory are treated as applications and
        # run by the server when requested rather than as documents sent to the
        # client.  The same rules about trailing "/" apply to ScriptAlias
        # directives as to Alias.
        ScriptAliasMatch ^/cgi-bin/((?!(?i:webobjects)).*$) "/Library/WebServer/CGI-Executables/$1"
    </IfModule>
    <IfModule cgid_module>
        # ScriptSock: On threaded servers, designate the path to the UNIX
        # socket used to communicate with the CGI daemon of mod_cgid.
        #Scriptsock /private/var/run/cgisock
    </IfModule>
    # "/Library/WebServer/CGI-Executables" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    <Directory "/Library/WebServer/CGI-Executables">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
    </Directory>
    # DefaultType: the default MIME type the server will use for a document
    # if it cannot otherwise determine one, such as from filename extensions.
    # If your server contains mostly text or HTML documents, "text/plain" is
    # a good value.  If most of your content is binary, such as applications
    # or images, you may want to use "application/octet-stream" instead to
    # keep browsers from trying to display binary files as though they are
    # text.
    DefaultType text/plain
    <IfModule mime_module>
        # TypesConfig points to the file containing the list of mappings from
        # filename extension to MIME-type.
        TypesConfig /private/etc/apache2/mime.types
        # AddType allows you to add to or override the MIME configuration
        # file specified in TypesConfig for specific file types.
        #AddType application/x-gzip .tgz
        # AddEncoding allows you to have certain browsers uncompress
        # information on the fly. Note: Not all browsers support this.
        #AddEncoding x-compress .Z
        #AddEncoding x-gzip .gz .tgz
        # If the AddEncoding directives above are commented-out, then you
        # probably should define those extensions to indicate media types:
        AddType application/x-compress .Z
        AddType application/x-gzip .gz .tgz
        # AddHandler allows you to map certain file extensions to "handlers":
        # actions unrelated to filetype. These can be either built into the server
        # or added with the Action directive (see below)
        # To use CGI scripts outside of ScriptAliased directories:
        # (You will also need to add "ExecCGI" to the "Options" directive.)
        #AddHandler cgi-script .cgi
        # For type maps (negotiated resources):
        #AddHandler type-map var
        # Filters allow you to process content before it is sent to the client.
        # To parse .shtml files for server-side includes (SSI):
        # (You will also need to add "Includes" to the "Options" directive.)
        #AddType text/html .shtml
        #AddOutputFilter INCLUDES .shtml
    </IfModule>
    # The mod_mime_magic module allows the server to use various hints from the
    # contents of the file itself to determine its type.  The MIMEMagicFile
    # directive tells the module where the hint definitions are located.
    #MIMEMagicFile /private/etc/apache2/magic
    # Customizable error responses come in three flavors:
    # 1) plain text 2) local redirects 3) external redirects
    # Some examples:
    #ErrorDocument 500 "The server made a boo boo."
    #ErrorDocument 404 /missing.html
    #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    #ErrorDocument 402 http://www.example.com/subscription_info.html
    # EnableMMAP and EnableSendfile: On systems that support it,
    # memory-mapping or the sendfile syscall is used to deliver
    # files.  This usually improves server performance, but must
    # be turned off when serving from networked-mounted
    # filesystems or if support for these functions is otherwise
    # broken on your system.
    #EnableMMAP off
    #EnableSendfile off
    TraceEnable off
    # Supplemental configuration
    # The configuration files in the /private/etc/apache2/extra/ directory can be
    # included to add extra features or to modify the default configuration of
    # the server, or you may simply copy their contents here and change as
    # necessary.
    # Server-pool management (MPM prefork specific)
    StartServers 1
    MinSpareServers 1
    MaxSpareServers 1
    # ServerLimit and MaxClients support n% syntax which sets them to a
    # fraction of the current RLIMIT_NPROC limit.
    ServerLimit 50%
    MaxClients 50%
    ListenBackLog 512
    MaxRequestsPerChild 100000
    # Timeout: The number of seconds before receives and sends time out.
    Timeout 300
    # KeepAlive: Whether or not to allow persistent connections (more than
    # one request per connection). Set to "Off" to deactivate.
    KeepAlive On
    # KeepAliveTimeout: Number of seconds to wait for the next request from the
    # same client on the same connection.
    KeepAliveTimeout 15
    # MaxKeepAliveRequests: The maximum number of requests to allow
    # during a persistent connection. Set to 0 to allow an unlimited amount.
    # We recommend you leave this number high, for maximum performance.
    MaxKeepAliveRequests 100
    # UseCanonicalName: Determines how Apache constructs self-referencing
    # URLs and the SERVER_NAME and SERVER_PORT variables.
    # When set "Off", Apache will use the Hostname and Port supplied
    # by the client.  When set "On", Apache will use the value of the
    # ServerName directive.
    UseCanonicalName Off
    # AccessFileName: The name of the file to look for in each directory
    # for additional configuration directives.  See also the AllowOverride
    # directive.
    AccessFileName .htaccess
    # ServerTokens
    # This directive configures what you return as the Server HTTP response
    # Header. The default is 'Full' which sends information about the OS-Type
    # and compiled in modules.
    # Set to one of:  Full | OS | Minor | Minimal | Major | Prod
    # where Full conveys the most information, and Prod the least.
    ServerTokens Full
    # Optionally add a line containing the server version and virtual host
    # name to server-generated pages (internal error documents, FTP directory
    # listings, mod_status and mod_info output etc., but not CGI generated
    # documents or custom error documents).
    # Set to "EMail" to also include a mailto: link to the ServerAdmin.
    # Set to one of:  On | Off | EMail
    ServerSignature On
    # HostnameLookups: Log the names of clients or just their IP addresses
    # e.g., www.apache.org (on) or 204.62.129.132 (off).
    # The default is off because it'd be overall better for the net if people
    # had to knowingly turn this feature on, since enabling it means that
    # each client request will result in AT LEAST one lookup request to the
    # nameserver.
    HostnameLookups Off
    # PidFile: The file in which the server should record its process
    # identification number when it starts.
    PidFile /var/run/httpd.pid
    # The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
    LockFile "/private/var/log/apache2/accept.lock"
    <IfModule mod_rewrite.c>
        RewriteLock /var/log/apache2/rewrite.lock
    </IfModule>
    # Language settings
    Include /private/etc/apache2/extra/httpd-languages.conf
    <IfDefine WEBSHARING_ON>
    # Multi    -language error messages
    #Include /private/etc/apache2/extra/httpd-multilang-errordoc.conf
    # Fancy directory listings
    Include /private/etc/apache2/extra/httpd-autoindex.conf
    # User home directories
    Include /private/etc/apache2/extra/httpd-userdir.conf
    # Real-time info on requests and configuration
    #Include /private/etc/apache2/extra/httpd-info.conf
    # Virtual hosts
    #Include /private/etc/apache2/extra/httpd-vhosts.conf
    # Local access to the Apache HTTP Server Manual
    Include /private/etc/apache2/extra/httpd-manual.conf
    # Distributed authoring and versioning (WebDAV)
    #Include /private/etc/apache2/extra/httpd-dav.conf
    </IfDefine>
    # Secure (SSL/TLS) connections
    <IfDefine !MACOSXSERVER>
    #Include /private/etc/apache2/extra/httpd-ssl.conf
    </IfDefine>
    <IfDefine MACOSXSERVER>
    <IfModule mod_ssl.c>
            SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
            SSLPassPhraseDialog exec:/etc/apache2/getsslpassphrase
            SSLSessionCache shmcb:/var/run/ssl_scache(512000)
            SSLSessionCacheTimeout 300
            SSLMutex file:/var/run/ssl_mutex
            SSLRandomSeed startup builtin
            SSLRandomSeed connect builtin
            AddType application/x-x509-ca-cert crt
            AddType application/x-pkcs7-crl crl
    </IfModule>
    </IfDefine>
    <IfModule mod_jk.c>
            JKWorkersFile /etc/apache2/workers.properties
            JKLogFile /var/log/apache2/mod_jk.log
            JkShmFile /var/log/apache2/jk-runtime-status
    </IfModule>
    <IfModule php5_module>
        AddType application/x-httpd-php .php
        AddType application/x-httpd-php-source .phps
        <IfModule dir_module>
            DirectoryIndex index.html index.php
        </IfModule>
    </IfModule>
    <IfDefine !MACOSXSERVER>
        Include /etc/apache2/other/*.conf
    </IfDefine>
    <IfDefine MACOSXSERVER>
        <IfDefine WEBSERVICE_ON>
            Include /etc/apache2/sites/*.conf
        </IfDefine>
        <IfDefine !WEBSERVICE_ON>
            Include /etc/apache2/sites/virtual_host_global.conf
            Include /etc/apache2/sites/*_.conf
            Include /etc/apache2/sites/*__shadow.conf
        </IfDefine>
    </IfDefine>

    That's a comment in the file. It has no effect at all.

  • Setting up the Apache HTTP Plugin for several BEA Servers

    Hey together,
    i would like to setup the apache http plugin for several bea-servers.
    I am running apache 1.x on my hp-ux system. There are 2 bea-server-domains on this box and both should be proxied by the plugin simultaneously.
    As far as i know it isn't possible to run 2 or more instances of the apache webserver. I heard of virtualhosts, maybe i should try this one out.
    Somebody knows how to deal with this problem or does any1 know if virtualhosts could cope with my needs?
    Thanks in advance

    Ok here i am again and i'm stuck. Here my wishes again:
    there are 2 weblogic-instances (domains) running on a machine xxx, instance A listening on port 8041, instance B listening on port 8051. I want to configure apache virtualhosts in combination with weblogic plugins, so that request with /ld will be sent to instance A while requests with /ldd will be sent to instance B. Both are no clusters. Therefore i tried it with the following configuration (httpd.conf):
    <VirtualHost xxx:8080>
         DocumentRoot "/opt/hpws/apache/htdocs"
         ServerName xxx:8080
         <IfModule mod_weblogic.c>
         WebLogicHost xxx
         WebLogicPort 8041
         #MatchExpression *
         #PathPrepend=/test2
         </IfModule>
         <Location /ld>
         SetHandler weblogic-handler
         PathTrim /ld
         </Location>
    </VirtualHost>
    # VirtualHost2 = xxx:8090
    <VirtualHost xxx:8090>
         DocumentRoot "/opt/hpws/apache/htdocs"
         ServerName xxx:8090
         <IfModule mod_weblogic.c>
         WebLogicHost xxx
         WebLogicPort 8051
         #MatchExpression *
         #PathPrepend=/test2
         </IfModule>
         <Location /ldd>
         SetHandler weblogic-handler
         PathTrim /ldd
         </Location>
    Doesnt really work. Can some1 help please?
    Thanks

  • How to configure apache and weblogic in windows 2000

    i am novice,
    i want to configure apache and weblogic in windows 2000
    weblogic version is 6.1
    apache version is 2.0
    how to do?

    George,
    I would take the following 'first steps'
    1)Install Apache20 on your Windows machine following the Apache online documentation
    http://httpd.apache.org/docs-2.0/misc/tutorials.html
    2)Make sure you can 'serve up' static HTML content from your Apache Server
    3)Install Weblogic Server per our online documentation
    http://edocs.bea.com/wls/docs61/install/index.html
    4)Also, make sure you can 'serve up' both static and dynamic (e.g., JSP) content
    directly from WLS server
    5)Once you have both of the above 'sanity' checks attempt to configure a simple
    proxy by ppath or mime type via our online documentation
    http://edocs.bea.com/wls/docs61/adminguide/apache.html#103803
    Chuck Nelson
    DRE
    BEA Technical Support

  • How to configure apache for ssl in windows platform

    hi all,
    can anyone help me expalin how to configure apache for ssl in windows platform.

    George,
    I would take the following 'first steps'
    1)Install Apache20 on your Windows machine following the Apache online documentation
    http://httpd.apache.org/docs-2.0/misc/tutorials.html
    2)Make sure you can 'serve up' static HTML content from your Apache Server
    3)Install Weblogic Server per our online documentation
    http://edocs.bea.com/wls/docs61/install/index.html
    4)Also, make sure you can 'serve up' both static and dynamic (e.g., JSP) content
    directly from WLS server
    5)Once you have both of the above 'sanity' checks attempt to configure a simple
    proxy by ppath or mime type via our online documentation
    http://edocs.bea.com/wls/docs61/adminguide/apache.html#103803
    Chuck Nelson
    DRE
    BEA Technical Support

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

    Hello,
    I have installed web logic 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
    Domain - mydomain
    I have installed apache web server 2.0.53 on windows XP. I have followed the steps to Installing and Configuring the Apache HTTP Server Plug-In with web logic server.
    After making the installation and configuration when I try to test the server plug-in 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

  • 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

  • Apache HTTP proxying for load balancing only to a group of non-clustered WL servers

              Hi,
              We're running WL Server 6.1 SP 2 on Solaris 2.8.
              For the Apache HTTP proxy plugin, if you use the WebLogicCluster http.conf option,
              do the WL servers you want to load balance across have to be part of a WebLogic
              cluster (if you are prepared to do without failover, as I know it would need to be
              a proper WL cluster to replicate session info for failover). Can you load balance
              across a group of non-clustered WL servers, and maintain the user session to the
              one WL server so that it doesn't switch between servers on alternate requests for
              the same user session, or must the servers be configured as a WebLogic cluster?
              Paul
              We find that if you have a collection of WL servers that are not configured as a
              cluster, that it will load balance alternate requests to each server, but it will
              not pin a user to a single machine according to their session so for 2 servers, 2
              differetn sessions get created, one on each machine.
              Is this because it doesn't normally do this, but sends the user alternately to a
              primary then secondary which works in a cluster because the session is replicated.
              I thought the secondary was only used when the primary failed.
              

    We're running WL Server 6.1 SP 2 on Solaris 2.8.          >
              > For the Apache HTTP proxy plugin, if you use the WebLogicCluster http.conf
              option,
              > do the WL servers you want to load balance across have to be part of a
              WebLogic
              > cluster (if you are prepared to do without failover, as I know it would
              need to be
              > a proper WL cluster to replicate session info for failover). Can you load
              balance
              > across a group of non-clustered WL servers, and maintain the user session
              to the
              > one WL server so that it doesn't switch between servers on alternate
              requests for
              > the same user session, or must the servers be configured as a WebLogic
              cluster?
              You don't have to use the clustering option. To get failover, you'll have to
              use the JDBC persistence option of WL.
              > We find that if you have a collection of WL servers that are not
              configured as a
              > cluster, that it will load balance alternate requests to each server, but
              it will
              > not pin a user to a single machine according to their session so for 2
              servers, 2
              > differetn sessions get created, one on each machine.
              >
              > Is this because it doesn't normally do this, but sends the user
              alternately to a
              > primary then secondary which works in a cluster because the session is
              replicated.
              > I thought the secondary was only used when the primary failed.
              The primary/secondary stuff requires clustering. If Apache continues to
              "load balance" after the first request, you need to either use JDBC session
              persistence or use a different load balancer (like mod_jk for Apache or a
              h/w load balancer with support for sticky).
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              http://www.tangosol.com/coherence.jsp
              Tangosol Coherence: Clustered Replicated Cache for Weblogic
              "Paul Hammond" <[email protected]> wrote in message
              news:[email protected]...
              >
              

  • Policy Agent 2.2 for Apache HTTP Server

    hi,
    I'm trying to configure Policy Agent 2.2 for apache http server.
    The agent seems to be installed properly, in fact when I access the protected resource, I get the Access Manager login page.
    Then I log into access manager, but I'm redirected to an error page.
    Looking in log files I can see:
    agent's "amAgent" log file:
    Debug 10763:f8fe0 AuthService: HTTP Status = 200 (OK)
    Debug 10763:f8fe0 AuthService: Http::Response::readAndParse(): No content length in response.
    Debug 10763:f8fe0 ServiceEngine: Service::do_agent_auth_login(): Setting password callback.
    Debug 10763:f8fe0 ServiceEngine: Service::do_agent_auth_login(): Setting name callback to 'apache2Agent'.
    Debug 10763:f8fe0 AuthService: BaseService::sendRequest Cookie and Headers =Host: crmzone.company.icteam.it     
                   Cookie: JSESSIONID=193E5E1590C924A42B95A00A51DC0479;amlbcookie=01
    Debug 10763:f8fe0 AuthService: BaseService::sendRequest Content-Length =Content-Length: 620
    Debug 10763:f8fe0 AuthService: BaseService::sendRequest Header Suffix =Accept: text/xml
                   Content-Type: text/xml; charset=UTF-8
    Debug 10763:f8fe0 AuthService: HTTP Status = 200 (OK)
    Debug 10763:f8fe0 AuthService: Http::Response::readAndParse(): No content length in response.
    Error 10763:f8fe0 AuthService: AuthService::processLoginStatus() Exception message=[Application user ID is not valid.] errorCode='107' templateName=login_failed_template.jsp.
    Error 10763:f8fe0 PolicyEngine: am_policy_evaluate: InternalException in AuthService::processLoginStatus() with error message:Exception message=[Application user ID is not valid.] errorCode='107' templateName=login_failed_template.jsp and code:3
    Warning 10763:f8fe0 PolicyAgent: am_web_is_access_allowed()(http://10.0.0.31:80/SugarOS-Full-4.5.0f, GET) denying access: status = Access Manager authentication service failure
    Debug 10763:f8fe0 PolicyAgent: am_web_is_access_allowed(): Successfully logged to remote server for GET action by user unknown user to resource http://10.0.0.31:80/SugarOS-Full-4.5.0f.
    Info 10763:f8fe0 PolicyAgent: am_web_is_access_allowed()(http://10.0.0.31:80/SugarOS-Full-4.5.0f, GET) returning status: Access Manager authentication service failure.
    Info 10763:f8fe0 PolicyAgent: process_request(): Access check for URL http://10.0.0.31/SugarOS-Full-4.5.0f returned Access Manager authentication service failure.
    Debug 10763:f8fe0 PolicyAgent: process_request(): returning web result AM_WEB_RESULT_ERROR, data []
    Debug 10763:f8fe0 PolicyAgent: am_web_process_request(): Rendering web result AM_WEB_RESULT_ERROR
    Debug 10763:f8fe0 PolicyAgent: am_web_process_request(): render result function returned AM_SUCCESS.
    Access Manager's "amAuthentication.error" log file:
    "Login Failed|module_instance|Application" Application AUTHENTICATION-268 dc=opensso,dc=java,dc=net "Not Available" INFO apache2Agent 10.0.0.31 "cn=dsameuser,ou=DSAME Users,dc=opensso,dc=java,dc=net" CRMzone
    I tried to change the name of the agent either in its AMAgent.properties or in Access Manager "Agents" configuration page.
    I also used "crypt_util" to generate a new passoword, but nothing seems to happen.
    Where should I look to get more info about this problem? Specific log file?
    Is it due to wrong name/id/password of the agent? I really checked them many times...
    Thanks
    Fabio

    I think the error message "Application user ID is not valid" is pretty self evident.
    Log into the amconsole and go to the root realm/organization. Make sure the Agent profile exists and reset the password again to know value. If you created the agent profile in a sub realm/organization, you will need to make sure the subrealm/organization is set in the AMAgent.properties since the default value is / for the root realm/organization. Update the AMAgent.properties file will the Agent ID and the password generated by the crypt_it tool (com.sun.am.policy.am.username, com.sun.am.policy.am.password)
    If that doesn't work, check the amApplication debug log and then look at the ldap server access logs to see why the auth bind failed.

  • Fail to configure Apache web server 2.0.53 as plugin to weblogicserver 8.1

    Hello,
    I have installed web logic 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
    Domain - mydomain
    I have installed apache web server 2.0.53 on windows XP. I have followed the steps to Installing and Configuring the Apache HTTP Server Plug-In with web logic server.
    After making the installation and configuration when I try to test the server plug-in 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

  • Problem in configuring Apache Web Server v2.2

    Hi,
    I am facing problem in configuring apache web server with tomcat 7.0. I want to configure the web server in such a way that I can access the application only using the localhost(without appending the port to it). Ex I want to access the application through "http://localhost" instead of "http://localhost:8080".
    I tried to configure it using the concept of vertical clustering and "load balancer", but failed to do that.
    Can anyone please tell me steps to configure apache web server with tomcat or provide any useful link / urls to do that one.
    Thanks in advance

    The only way you can achieve it is by running the web server to listen on port 80
    Please change the port in your httpd.conf file for the webserver and restart it.
    If any other processes are running/using on port 80 on that machine, then please stop them, otherwise you will not be able to achieve your requirement.
    Arun

Maybe you are looking for

  • SOAP TO RFC scenario (where the R/3 is not in same network)

    Dear Friends, I am trying to configure a SOAP to RFC (syn).where my SAP R/3 system is in our network .And we dont have all the details for creating a BUSINESS SYSTEM. I tried with BS.but every time I am getting "FAILED TO CALL ADAPTER ENGINE Error ,,

  • Attributes are not saved in CRM using APD

    Hello experts, I have trouble recording the attributes marketing from BW to CRM. APD use to record data, the log of APD ends in green but when I go to transaction BP in CRM data are not. Anyone can help me, thanks! Enrique. Edited by: Enrique Busi on

  • Is it possible to apply service packs to NW04s ABAP Sneak Preview?

    Service Pack 7 to NW04s contains the DEMO_REGEX_TOY, which I'd like to install in my ABAP sneak preview system.  I have some questions about that: 1.  Is it possible to apply maintenance to the Sneak Preview? 2.  What service packages need to be isnt

  • Credit Management in CRM - transfer of blocked documents to ECC

    Hi, we want to implement credit check in CRM using CRM. Our client requirements are: - Sales order is created in CRM - Credit check is executed in CRM, using information from ECC - If result is negative, sales order credit status must be updated to "

  • Formula implementation issue

    I have facing a problem to implement below issue. below is the example Master table           code     desc      1     REVENUES      2     CAPITAL CHARGE      3     REVENUES / Capital charge., %      Transaction table           code     process month