Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Issue when adding a client uri context in httpd.conf |
|
Author |
|
fmwsvc
Joined: 22 Aug 2015 Posts: 1
|
Posted: Sat 22 Aug '15 15:02 Post subject: Issue when adding a client uri context in httpd.conf |
|
|
We are facing an issue when adding a client uri context in httpd.conf
we are migrating iplanet to apache
source OS version: Oracle Solaris on SPARC (64-bit) version 10
Source web server: iPlanet web server 6.1.12
Target OS version: OEL 6.0
Target web server: Apache 2.2.15
in iPlanet context is like this:
--------------------------------
PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"
ObjectType fn="type-by-extension"
ObjectType fn="force-type" type="text/plain"
<Client uri=/XXX/*>
Service fn="wl_proxy" WebLogicCluster="weblogic_cluster_1" Idempotent="OFF" Debug="OFF" DebugConfigInfo="OFF" WLSocketTimeoutSecs="1800" WLIOTimeOutSecs="1800" DynamicServerList="OFF"
</Client>
<Client uri=/xxxxxx/*>
Service fn="wl_proxy" WebLogicCluster="weblogic_cluster_2" Idempotent="OFF" Debug="OFF" DebugConfigInfo="OFF" WLSocketTimeoutSecs="50" WLIOTimeOutSecs="1800"
</Client>
Service method="(GET|HEAD)" type="magnus-internal/imagemap" fn="imagemap"
Service method="(GET|HEAD)" type="magnus-internal/directory" fn="send-error" path="index.html"
Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"
Error fn="error-j2ee"
Output fn="set-variable" insert-srvhdrs="X-Frame-Options:SAMEORIGIN"
Output fn="insert-filter" filter="http-compression" type="text/*" vary="on" compression-level="1"
In Apache we are trying the context like this:
----------------------------------------------
<Location /XXX/*>
SetHandler weblogic-handler
WebLogicCluster weblogic_jvms_in_cluster_1
Idempotent OFF
Debug OFF
DebugConfigInfo OFF
WLSocketTimeoutSecs 1800
WLIOTimeOutSecs 1800
DynamicServerList OFF
</Location>
if any one face this issue, please let me know the steps to resolve |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 25 Aug '15 16:54 Post subject: |
|
|
In apache config you can use an asteric ( * ) as a place holder in Location. Everything below that location inherits the config. If that doesn't work for you you might work with LocationMatch |
|
Back to top |
|
|
|
|
|
|