Apache and Weblogic authentication

Apache 2.0 and WL 8.1 SP6;
Apache redirects to a wl web app and the web app's front page is password protected using Apache's authentication services.
Turns out, the users configured with Apache's 'htpasswd' have to be duplicated in weblogic. Curious to know why this is. There appears to be no documentation of this necessity that I could find.
Any ideas about the configuration principles involved here?
Thanks,
Karoly

Hi Scott,
The only way it can work is when Apache adds another token to the request
say
MyToken : value
U can create a Custom Identity Asserter to read that token and authenticate the user.
U can find the steps to create custom identity asserter here
http://weblogic-wonders.com/weblogic/2010/03/15/custom-identity-asserter-for-weblogic-server/
HTH,
Faisal

Similar Messages

  • 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

  • Apache and weblogic server

    hi all.
    i am using oracle application server 10g R2 over windows server 2003 64bit
    but now i planned to go for apache and weblogic server for this i do not have idea that
    should i do? plz what softwares are required to use apache and weblogic server with current version
    10g R2.?

    The WebLogic Server (WLS) is a Java container similar to OC4J in Application Server 10g release 2. If you want to use WLS, you will have to upgrade your Application Server 10g installation to Fusion Middleware 11g. The upgrade path typically depends on the products which you are using in 10g, e.g. the upgrade path for SOA is different than the upgrade path for Forms/Reports or Oracle Portal. The [url http://docs.oracle.com/cd/E23943_01/upgrade.1111/e10125/before_you_begin.htm]Upgrade Planning Guide is a good start.
    Thanks,
    EJ

  • Proxy between Apache and Weblogic

    Hi ,
    I need to configure a proxy server in between Apache and Weblogic which means not all the requests should go through proxy, only one particular request should go from apache to proxy server and proxy server to Weblogic. Can any one help me how to configure this and how it is going to work.
    Regards,
    Vamsee

    Not exactly sure.However can we use proxying by MIME type here
    http://download.oracle.com/docs/cd/E13222_01/wls/docs100/plugins/apache.html#wp132216
    Regards

  • Configuring apache and weblogic 7.1

    have anyone tried connecting apache and weblogic 7.1. which service pack can be used for this purpose

    have anyone tried connecting apache and weblogic 7.1. which service pack can be used for this purpose

  • Apache and webLogic Communication

    Hi
    we are deploying new application and client want to have Apache on one server and weblogic on another server.
    Can you pls point to any notes/docs which tells how to configure Apache to have as fronend for applications in weblogic.
    Thanks
    Sree

    Hi
    Thanks for the info.
    Since we are hosting team we amy not be able to allow/to code. We have existing setup where Oracle HTTP server in DMZ communicates with other report server oc4j using ajp protocol. We are also NOT allowed to use proxy pass.
    For a new project we will be using Apache web server in DMZ and weblogic application server inside.
    Can you Pls let me know how we can trasfer requestes thru Apache using other protocols like ajp other than proxy.
    Thanks

  • Using SqlProvider and Weblogic authenticator in my own login page

    Hi All,
    I want to use SqlProvider of weblogic server for authentication of users. For the said purpose I have made necessary steps in weblogic server console. now i want to use it in my own login page and authenticate user based on sqlProvider and wls.
    Can u suggest me what to do? or where do I move next ?

    Add ADF Security to your application.
    - Add the groups (the ones in your WLS) to 'Enterprise roles' (use the same name).
    - Define your 'Application Roles' (the roles you want to use in your application) and add the corresponding Enterprise roles to it.
    - Set the resource grants
    That should be it.

  • SSL Connection Configuration between Apache and Weblogic 8,1

    I'm currently using Apache web server as a front end server for Weblogic server 8.1 and now i' facing some configuration problem to setting up the SSL connection between this 2 server. When i open my web application page, it shows
    Failure of Server Apache bridge
    No backend server available for connection: timed out after 10 seconds or idempotent set to OFF.
    and my proxy.log shows:
    Thu Nov 03 09:36:41 2011 <182413202842013> INFO: SSL is configured
    Thu Nov 03 09:36:41 2011 <182413202842013> INFO: SSL configured successfully
    Thu Nov 03 09:36:41 2011 <182413202842013> Using Uri /favicon.ico
    Thu Nov 03 09:36:41 2011 <182413202842013> After trimming path: '/favicon.ico'
    Thu Nov 03 09:36:41 2011 <182413202842013> The final request string is '/favicon.ico'
    Thu Nov 03 09:36:41 2011 <182413202842013> SEARCHING id=[ebwdsk298.ebworx.com:7002] from current ID=[ebwdsk298.ebworx.com:7002]
    Thu Nov 03 09:36:41 2011 <182413202842013> The two ids matched
    Thu Nov 03 09:36:41 2011 <182413202842013> @@@FOUND...id=[ebwdsk298.ebworx.com:7002], server_name=[10.122.50.218], server_port=[80]
    Thu Nov 03 09:36:41 2011 <182413202842013> attempt #0 out of a max of 5
    Thu Nov 03 09:36:41 2011 <182413202842013> general list: trying connect to '10.122.50.48'/7002/7002 at line 2696 for '/favicon.ico'
    Thu Nov 03 09:36:41 2011 <182413202842013> New SSL URL: match = 0 oid = 22
    Thu Nov 03 09:36:41 2011 <182413202842013> Connect returns -1, and error no set to 10035, msg 'Unknown error'
    Thu Nov 03 09:36:41 2011 <182413202842013> EINPROGRESS in connect() - selecting
    Thu Nov 03 09:36:41 2011 <182413202842013> Setting peerID for new SSL connection
    Thu Nov 03 09:36:41 2011 <182413202842013> 0a7a 3230 5a1b 0000 .z20Z...
    Thu Nov 03 09:36:41 2011 <182413202842013> Local Port of the socket is 2121
    Thu Nov 03 09:36:41 2011 <182413202842013> Remote Host 10.122.50.48 Remote Port 7002
    Thu Nov 03 09:36:41 2011 <182413202842013> general list: created a new connection to '10.122.50.48'/7002 for '/favicon.ico', Local port:2121
    Thu Nov 03 09:36:41 2011 <182413202842013> Hdrs from clnt:[Host]=[10.122.50.218]
    Thu Nov 03 09:36:41 2011 <182413202842013> Hdrs from clnt:[Connection]=[keep-alive]
    Thu Nov 03 09:36:41 2011 <182413202842013> Hdrs from clnt:[Accept]=[*/*]
    Thu Nov 03 09:36:41 2011 <182413202842013> Hdrs from clnt:[User-Agent]=[Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.163 Safari/535.1]
    Thu Nov 03 09:36:41 2011 <182413202842013> Hdrs from clnt:[Accept-Encoding]=[gzip,deflate,sdch]
    Thu Nov 03 09:36:41 2011 <182413202842013> Hdrs from clnt:[Accept-Language]=[en-US,en;q=0.8]
    Thu Nov 03 09:36:41 2011 <182413202842013> Hdrs from clnt:[Accept-Charset]=[ISO-8859-1,utf-8;q=0.7,*;q=0.3]
    Thu Nov 03 09:36:41 2011 <182413202842013> URL::sendHeaders(): meth='GET' file='/favicon.ico' protocol='HTTP/1.1'
    Thu Nov 03 09:36:41 2011 <182413202842013> Hdrs to WLS:[Host]=[10.122.50.218]
    Thu Nov 03 09:36:41 2011 <182413202842013> Hdrs to WLS:[Accept]=[*/*]
    Thu Nov 03 09:36:41 2011 <182413202842013> Hdrs to WLS:[User-Agent]=[Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.163 Safari/535.1]
    Thu Nov 03 09:36:41 2011 <182413202842013> Hdrs to WLS:[Accept-Encoding]=[gzip,deflate,sdch]
    Thu Nov 03 09:36:41 2011 <182413202842013> Hdrs to WLS:[Accept-Language]=[en-US,en;q=0.8]
    Thu Nov 03 09:36:41 2011 <182413202842013> Hdrs to WLS:[Accept-Charset]=[ISO-8859-1,utf-8;q=0.7,*;q=0.3]
    Thu Nov 03 09:36:41 2011 <182413202842013> Hdrs to WLS:[Connection]=[Keep-Alive]
    Thu Nov 03 09:36:41 2011 <182413202842013> Hdrs to WLS:[WL-Proxy-SSL]=[false]
    Thu Nov 03 09:36:41 2011 <182413202842013> Hdrs to WLS:[WL-Proxy-Client-IP]=[10.122.50.48]
    Thu Nov 03 09:36:41 2011 <182413202842013> Hdrs to WLS:[Proxy-Client-IP]=[10.122.50.48]
    Thu Nov 03 09:36:41 2011 <182413202842013> Hdrs to WLS:[X-Forwarded-For]=[10.122.50.48]
    Thu Nov 03 09:36:41 2011 <182413202842013> Hdrs to WLS:[X-WebLogic-Force-JVMID]=[unset]
    Thu Nov 03 09:36:41 2011 <182413202841921> INFO: No session match found
    Thu Nov 03 09:36:41 2011 <182413202842013> INFO: No CA was trusted, validation failed
    Thu Nov 03 09:36:41 2011 <182413202841921> INFO: DeleteSessionCallback
    Thu Nov 03 09:36:41 2011 <182413202842013> ERROR: SSLWrite failed
    Thu Nov 03 09:36:41 2011 <182413202842013> SEND failed (ret=-1) at 789 of file ../nsapi/URL.cpp
    Thu Nov 03 09:36:41 2011 <182413202842013> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 790 of ../nsapi/URL.cpp
    Thu Nov 03 09:36:41 2011 <182413202842013> Marking 10.122.50.48:7002 as bad
    Thu Nov 03 09:36:41 2011 <182413202842013> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0,  line 790 of ../nsapi/URL.cpp]: at line 3078
    Thu Nov 03 09:36:41 2011 <182413202842013> INFO: Closing SSL context
    Thu Nov 03 09:36:41 2011 <182413202842013> INFO: Error after SSLClose, socket may already have been closed by peer
    Thu Nov 03 09:36:41 2011 <182413202842013> Failing over after WRITE_ERROR_TO_SERVER exception in sendRequest()
    Can anyone tell me what should i do in order to correct this error? Your help is kindly appreciate!!! Please~

    1) Is the managed server up?
    2) from apache server are you able to bind the managed server port?
    3) can you pls send the weblogic ssl configuration?

  • Apache and weblogic proxying not happening properly

    Hi,
    I am trying to proxy my request from my apache installation to weblogic installation.
    I am able to proxy request to the default page of my application in weblogic.
    But when trying to browse through that page I am getting error.
    Basically, It tries to listen at 7501 port of my machine(apache machine) only
    and is not trying to listen at 80 port of my machineso that it can be proxied
    to the 7501 port of weblogic machine.
    I am unable to figure out the issue. Maybe u can help me from ur experience.
    I get an exception saying:
    ###<Apr 28, 2003 9:53:47 PM IST> <Warning> <Entitlements> <blrkec09630a> <portalServer>
    <ExecuteThread: '10' for queue: 'default'> <kernel identity> <16:b7687ce40e05e9a9>
    <402716> <Missing entitlments configuration asset.>
    Exception[com.bea.p13n.rules.manager.RuleSetNotFoundException: The rule set with
    URI /entitlements/GlobalEntitlements.rls could not be located by the class named
    com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager.]
    at com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager.getRuleSet(RuleSetPersistenceManager.java:385)
    at com.bea.p13n.rules.manager.internal.ContextPool.<init>(ContextPool.java:156)
    at com.bea.p13n.rules.manager.internal.ContextPoolFactory.createContextPool(ContextPoolFactory.java:164)
    at com.bea.p13n.rules.manager.internal.ContextPoolFactory.getContextPool(ContextPoolFactory.java:223)
    at com.bea.p13n.rules.manager.internal.RulesManagerImpl.getContext(RulesManagerImpl.java:469)
    at com.bea.p13n.rules.manager.internal.RulesManagerImpl.evaluate(RulesManagerImpl.java:350)
    at com.bea.p13n.rules.manager.internal.RulesManagerImpl.evaluateRuleSet(RulesManagerImpl.java:148)
    at com.bea.p13n.rules.manager.internal.RulesManagerImpl_mcr6qe_EOImpl.evaluateRuleSet(RulesManagerImpl_mcr6qe_EOImpl.java:448)
    at com.bea.p13n.entitlements.rolemapper.RoleMapper.mapRoles(RoleMapper.java:179)
    at com.bea.p13n.entitlements.accesscontroller.AccessController.isAccessAllowed(AccessController.java:143)
    at com.bea.portal.entitlement.util.EntitlementHelper.isAccessAllowed(EntitlementHelper.java:285)
    at com.bea.portal.entitlement.util.EntitlementHelper.checkEntitlementInternal(EntitlementHelper.java:231)
    at com.bea.portal.entitlement.util.EntitlementHelper.checkEntitlement(EntitlementHelper.java:144)
    at com.bea.portal.manager.internal.UserPortalStatePolicy.checkPortletEntitlement(UserPortalStatePolicy.java:636)
    at com.bea.portal.manager.internal.UserPortalStatePolicy.generateUserPageState(UserPortalStatePolicy.java:567)
    at com.bea.portal.manager.internal.UserPortalStatePolicy.generateUserPortalState(UserPortalStatePolicy.java:293)
    at com.bea.portal.manager.internal.PortalManagerDelegateImpl.getUserPortalState(PortalManagerDelegateImpl.java:179)
    at com.bea.portal.manager.ejb.internal.PortalManagerBean.getUserPortalState(PortalManagerBean.java:70)
    at com.bea.portal.manager.ejb.internal.PortalManagerBean_w6xny9_EOImpl.getUserPortalState(PortalManagerBean_w6xny9_EOImpl.java:370)
    at com.bea.portal.appflow.internal.PortalRequestImpl.getPortalState(PortalRequestImpl.java:148)
    at com.bea.portal.render.servlets.jsp.PortalRenderHelper.getSelectedSkin(PortalRenderHelper.java:167)
    at jsp_servlet._framework._security.__login._jspService(login.inc:11)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:445)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:20)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDispatcherImpl.java:345)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:252)
    at com.bea.p13n.appflow.webflow.servlets.internal.WebflowServlet.doGet(WebflowServlet.java:178)
    at com.bea.portal.appflow.servlets.internal.PortalWebflowServlet.doGet(PortalWebflowServlet.java:235)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:20)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at com.bea.p13n.tracking.clickthrough.ClickThroughEventFilter.doFilter(ClickThroughEventFilter.java:156)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5451)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    Regards,
    Vinod Thapliyal

    The WebLogic Server (WLS) is a Java container similar to OC4J in Application Server 10g release 2. If you want to use WLS, you will have to upgrade your Application Server 10g installation to Fusion Middleware 11g. The upgrade path typically depends on the products which you are using in 10g, e.g. the upgrade path for SOA is different than the upgrade path for Forms/Reports or Oracle Portal. The [url http://docs.oracle.com/cd/E23943_01/upgrade.1111/e10125/before_you_begin.htm]Upgrade Planning Guide is a good start.
    Thanks,
    EJ

  • Apache and Weblogic  - Performance issue

     

    Hi Anuj,
    This question should be directed to the weblogic.developer.interest.plug-in
    group.
    Regarding this issue, this is normal -- the access.log for WebLogic shows
    the requests from the proxy. But, instead of showing you the IP address of
    the proxy server, it instead shows you the IP address of the client. You
    can also verify that this is a different request because the connection to
    the proxy server used HTTP/1.1, and the connection to WLS used HTTP/1.0 --
    this is the protocol that the proxy plug-in uses to communicate with WLS.
    So, in summary, there is only one request made by the client per image, and
    the plug-in is in turn making a request to WLS for each image.
    Dennis Munsie
    Developer Relations Engineer
    BEA Support
    "Anuj Nijhawan" <[email protected]> wrote in message
    news:3c20e890$[email protected]..
    >
    We have a setup with apache acting as web server and BEA as app server.But it
    seems both of them are serving images to the web browser at the same time.This
    is consuming lots of memory. Can anybody help rectifing this,
    here's what each log file's say,
    first Apache (access_log) shows that it served it up:
    172.20.100.142 - - [19/Dec/2001:01:20:24 -0800] "GET /img/divider.gif
    HTTP/1.1"
    304 0
    172.20.100.142 - - [19/Dec/2001:01:20:24 -0800] "GET
    /img/i_user_collection.gif
    HTTP/1.1" 304 0
    172.20.100.142 - - [19/Dec/2001:01:20:24 -0800] "GET
    /img/sort_last_manual.gif H
    Then BEA (access.log) shows it too:
    172.20.100.142 - - [19/Dec/2001:01:20:24 -0800] "GET /img/divider.gif
    HTTP/1.0"
    304 0
    172.20.100.142 - - [19/Dec/2001:01:20:24 -0800] "GET
    /img/i_user_collection.gif
    HTTP/1.0" 304 0
    172.20.100.142 - - [19/Dec/2001:01:20:24 -0800] "GET
    /img/sort_manual.gif HTTP/1
    .0" 304 0

  • Apache and weblogic plugins

    Hi All,
    I have installed apache well and as per the documents i could read that the apache related plugins are present under weblogic_home/server/bin
    but its clear in the apache guide that the plugins are not available for weblogic 10.3 release.which we have to download externally and put it in the apache server.
    can some one let me know where can i find these zip files which contain mod_jk plugins
    Thanks in Advance....

    I find this very confusing, finding the Apache plugins for 10.3.x. After searching around, looking into the download categories that I would think are relevant, I found nothing. I don't really need support information, support site requires its own logins and everything, and I just want that little piece of software. I ended up finding the direct link on http://vikashazrati.wordpress.com/2009/10/10/apache-weblogic-ubuntu/. This is very much not encouraging...

  • CONNECTION_REFUSED - Apache and WebLogic

    Hi guys,
    My environment is the following:
    - Apache 2.2. with mod_weblogic loaded
    - The Apache is setup in a Microsoft Cluster with the IP 10.100.5.227
    - The configuration for load balancing is the following:
    WebLogicCluster 10.100.5.200:18005,10.100.5.202:18005,10.100.5.204:18005
    I'm always getting this error:
    2012-06-27T11:52:10.0701-06:00 <12604134081952987676> *******Exception type [CONNECTION_REFUSED] (apr_socket_connect call failed with error=730061, host=10.100.5.227, port=18005 ) raised at line 1582 of ../common/URL.cpp
    2012-06-27T11:52:10.0701-06:00 <12604134081952987676> initJVMID: Failed to retrieve JVMID for 10.100.5.227:18005:0
    2012-06-27T11:52:29.5185-06:00 <12604134081954887725> *******Exception type [CONNECTION_REFUSED] (apr_socket_connect call failed with error=730061, host=10.100.5.227, port=18005 ) raised at line 1582 of ../common/URL.cpp
    2012-06-27T11:52:29.5185-06:00 <12604134081954887725> initJVMID: Failed to retrieve JVMID for 10.100.5.227:18005:0
    Why? I'm sending requests to 10.100.5.200:18005,10.100.5.202:18005,10.100.5.204:18005, not for the Apache IP in the Microsoft Cluster.
    Do you have any idea?
    Thanks a lot

    And the result from __WebLogicBridgeConfig is the following:
    General Server List:
    Host: '10.100.5.227' Port: 18005 SecurePort: 0 Status: Server Down!
    Host: '10.100.5.204' Port: 18005 SecurePort: 0 Status: OK
    Strange, because I've 3 managed servers in WebLogicCluster...

  • Apache httpd.conf and Weblogic server integration.

    Dear friends,
    I am seeing a strange problem in my Apache and weblogic integration work.
    In the Apache httpd.conf file, under mod_weblogic.c module, if i dont turn DebugConfigInfo ON then my system is not working properly. always hitting with http 404 error. can you please explain why this is required and if required is it mandatory to turn it ON ?
    when i read in weblogic docs, its mentioned as to turn it OFF for security reasons. But if i make it as OFF then my website is not working properly.
    Here is the conents of mod_weblogic.c module in my httpd.conf file.
    <IfModule mod_weblogic.c>
    WebLogicHost rlw1csts08.bpweb.bp.com
    WebLogicPort 7001
    DebugConfigInfo On
    #EnforceBasicConstraints OFF
    PathPrepend /csmain-web
    ErrorPage /err/serverErrorWL.xml
    #WLLogFile "| /export/home/wwwst08/apache/bin/rotatelogs /export/home/wwwst08/apache/logs/WL_apache_error.log.%Y%m%d%H%M%S 86400"
    WLLogFile "/export/home/wwwst08/apache/logs/WL_apache_error.log"
    </IfModule>
    Please let me know your inputs. Its very urgent.
    Thanks
    subba.

    I donot have the complete httpd.conf with me right now but you have to follow the following steps:
    1) Compile Apache with ssl module included
    2) Instead of Port 80 change the port to 443 at global level or at virtual directory level
    3) If u want to redirect the traffic on port 80 to port 443 then also include mod_rewrite module while compiliing apache and write a rule to redirect the traffic from port 80 to 443

  • Apache Virtual Hosts and Weblogic 5.1SP6

    Running:
    WebLogic Server 5.1.0 w/ Service Pack 6
    Solaris 7
    Hello, I've been reading through the newsgroups and saw alot of information on
    setting up apache and weblogic to handle virtual hosts, but am still having problems
    getting it to work.
    I have 2 domains that will be served up by one instance of Apache using NameBased
    virtual hosts and I would like to have our one instance of WebLogic 5.1SP6 handle
    them as well.
    Excerpt from my httpd.conf file:
    NameVirtualHost 216.xx.x.xx:80
    <VirtualHost vcstgws011:80>
    ServerName vcstgws011.domain1.com
    Port 80
    DocumentRoot /opt/vci-10.8/webapps/www
    DirectoryIndex index.jsp
    <Directory "/opt/vci-10.8/webapps/www">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    </VirtualHost>
    <VirtualHost vcstgws011:80>
    ServerName www.domain2.com
    Port 80
    DocumentRoot /opt/vci-10.8/webapps/www/dsl
    DirectoryIndex index.jsp
    <Directory "/opt/vci-10.8/webapps/www">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    </VirtualHost>
    Under my default server configuration I have the WebLogic stuff:
    <IfDefine WL>
    WebLogicCluster vcstgas011.domain1.com:7001
    Debug on
    DebugConfigInfo on
    ConnectTimeoutSecs 60
    HungServerRecoverSecs 300
    Debug on
    DebugConfigInfo on
    <Files *.jsp>
    SetHandler weblogic-handler
    </Files>
    <Location /weblogic>
    SetHandler weblogic-handler
    PathTrim /weblogic
    </Location>
    <Location /servlet>
    SetHandler weblogic-handler
    </Location>
    <Location /Admin*>
    SetHandler weblogic-handler
    </Location>
    <Location /j_security_check>
    SetHandler weblogic-handler
    </Location>
    </IfDefine>
    And here's an excerpt from my weblogic.properties file:
    # HTTPD
    weblogic.httpd.enable=true
    # DocumentRoot configuration
    weblogic.httpd.defaultWebApp=/opt/vci-10.8/webapps/www
    weblogic.httpd.indexDirectories=true
    Any help would be appreciated.
    Thanks,
    Mark

    Anyone have success with Name-Based virtual hosts using same instance of WebLogic?
    "Mark Mangano" <[email protected]> wrote:
    >
    Running:
    WebLogic Server 5.1.0 w/ Service Pack 6
    Solaris 7
    Hello, I've been reading through the newsgroups and saw alot of information
    on
    setting up apache and weblogic to handle virtual hosts, but am still
    having problems
    getting it to work.
    I have 2 domains that will be served up by one instance of Apache using
    NameBased
    virtual hosts and I would like to have our one instance of WebLogic 5.1SP6
    handle
    them as well.
    Excerpt from my httpd.conf file:
    NameVirtualHost 216.xx.x.xx:80
    <VirtualHost vcstgws011:80>
    ServerName vcstgws011.domain1.com
    Port 80
    DocumentRoot /opt/vci-10.8/webapps/www
    DirectoryIndex index.jsp
    <Directory "/opt/vci-10.8/webapps/www">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    </VirtualHost>
    <VirtualHost vcstgws011:80>
    ServerName www.domain2.com
    Port 80
    DocumentRoot /opt/vci-10.8/webapps/www/dsl
    DirectoryIndex index.jsp
    <Directory "/opt/vci-10.8/webapps/www">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    </VirtualHost>
    Under my default server configuration I have the WebLogic stuff:
    <IfDefine WL>
    WebLogicCluster vcstgas011.domain1.com:7001
    Debug on
    DebugConfigInfo on
    ConnectTimeoutSecs 60
    HungServerRecoverSecs 300
    Debug on
    DebugConfigInfo on
    <Files *.jsp>
    SetHandler weblogic-handler
    </Files>
    <Location /weblogic>
    SetHandler weblogic-handler
    PathTrim /weblogic
    </Location>
    <Location /servlet>
    SetHandler weblogic-handler
    </Location>
    <Location /Admin*>
    SetHandler weblogic-handler
    </Location>
    <Location /j_security_check>
    SetHandler weblogic-handler
    </Location>
    </IfDefine>
    And here's an excerpt from my weblogic.properties file:
    # HTTPD
    weblogic.httpd.enable=true
    # DocumentRoot configuration
    weblogic.httpd.defaultWebApp=/opt/vci-10.8/webapps/www
    weblogic.httpd.indexDirectories=true
    Any help would be appreciated.
    Thanks,
    Mark

  • Nedd to configure apache-bea weblogic plugin for apache2 on solaris 10

    Hi,
    I have an apache server and a bea weblogic application server. For security reasons, I wold like to configure a bea plugin on the apache server to redirect the client http/https requests from the apache2 server to bea application server.
    I have gone through the bea documentation and configure my apache2 httpd.conf as follows
    LoadModule weblogic_module modules/mod_wl_20.so
    <IfModule mod_weblogic.c>
    WebLogicHost myweblogic.server.com
    WebLogicPort 7001
    MatchExpression *.jsp
    </IfModule>
    <Location /weblogic>
    WebLogicHost myweblogic.server.com
    WebLogicPort 7001
    SetHandler weblogic-handler
    PathTrim /weblogic
    </Location>
    Then Restarted the apache2 and tryied to acces bea application through http://myweblogic.server.com/weblogic/
    and http://myweblogic.server.com/something.jsp
    It did not work
    httpd is started propery.
    Any help would be highly apreciated
    Many Thanks
    Ushas Symon

    The Web server plug-ins do not natively support outbound SSL connections
    yet(i.e. SSL from the plug-in to WebLogic). This is a feature for version
    6.0. You can use SSL from the browser to Apache or from the browser to
    WebLogic directly.
    The majority of our customers use strict firewall rules to protect the
    traffic between Apache and WebLogic. If they are paranoid, they use an SSL
    proxy or a VPN product.
    Thanks,
    Michael
    Michael Girdley
    BEA Systems Inc
    "Josh Kwan" <[email protected]> wrote in message
    news:39d4e8a5$[email protected]..
    >
    Hello,
    I want to know how to connect Apache 1.3.12 with mod_ssl to BEA WebLogic5.1.0 on Solaris via HTTPS. I have heard that this can only work over t3...
    is that true? If so, how can it be done securely? If that isn't the case,
    how can httpd.conf/weblogic.conf be configured on the Apache server to talk
    to the WebLogic server on port 7002? Both of the machines I am using are
    running Solaris 7 with necessary patches. I have installed SP5 for WebLogic
    and I have copied mod_wl.so and mod_wl_ssl.o to the Apache server for
    inclusion as modules.
    >
    The two servers communicate correctly over HTTP, but I want to be able toserve some JSPs via HTTPS from the WebLogic server through the Apache web
    server. I have generated all the required CA and server certificates for
    each server, and they both individually answer HTTPS requests, but do not
    work when an HTTPS request is sent to the Apache server for a JSP that is
    served from the WebLogic server. I read somewhere in the documentation for
    5.1.0 that WebLogic will communicate via HTTPS to various web and proxy
    servers.
    >
    Any help would be greatly appreciated... thanks!
    Regards,
    Josh Kwan
    Sr. Systems Engineer
    iXL

Maybe you are looking for