Pb with Apache2 configuration

This is a discussion on Pb with Apache2 configuration within the Linux Web Servers forums, part of the Web Server and Related Forums category; Hi, i have a problem with Apache2 configuration with weblogic module. In fact i have to handle all URI with ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-03-2003
Bengali
 
Posts: n/a
Default Pb with Apache2 configuration

Hi,

i have a problem with Apache2 configuration with weblogic module.

In fact i have to handle all URI with weblogic module except
for one URI (/html) that needs to be handled by apache server.
The /html URI needs to serve html files from the local filesystem
where
Apache is installed and all the /* URI needs to be redirected to
Weblogic.

I have used a location directive and alias directive to handle /html
URI by
Apache module like this:

Alias /html "/usr/local/apache/htdocs"
<Location /html>
SetHandler default-handler
AllowOverride None
Allow from all
</Location>

And below in the configuration file, I have added the following
location directive to handle all others requests:
<Location />
SetHandler weblogic-handler
WeblogicHost weblogicserver
WebLogicPort 7100
</Location>

The problem is that all requests, especially /html are handled by
weblogic module. I don't understand why because when i use the
following location directive
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from .your-domain.com
</Location>

/server-status requests are handled by server-status and all the other
requests
are handled by Weblogic module.

My question is, how can i manage to handle all URI by weblogic module
except for one special URI that needs to be handled by Apache. I
have no control over Weblogic URIs and can not predict which they are.

Thanks in advance,
Luc
  #2 (permalink)  
Old 07-03-2003
Joshua Slive
 
Posts: n/a
Default Re: Pb with Apache2 configuration

lyngo_fr@yahoo.fr (Bengali) wrote in message news:<713ce018.0307030535.6dc91e45@posting.google. com>...

> My question is, how can i manage to handle all URI by weblogic module
> except for one special URI that needs to be handled by Apache. I
> have no control over Weblogic URIs and can not predict which they are.


Try putting the <Location /html> BELOW the <Location />.

See:
http://httpd.apache.org/docs-2.0/sections.html#mergin

JOoshua.
  #3 (permalink)  
Old 07-03-2003
Bengali
 
Posts: n/a
Default Re: Pb with Apache2 configuration

Joshua Slive wrote:
> lyngo_fr@yahoo.fr (Bengali) wrote in message news:<713ce018.0307030535.6dc91e45@posting.google. com>...
>
>
>>My question is, how can i manage to handle all URI by weblogic module
>>except for one special URI that needs to be handled by Apache. I
>>have no control over Weblogic URIs and can not predict which they are.

>
>
> Try putting the <Location /html> BELOW the <Location />.

Arrgh...

Thank you very much

 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:01 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0