httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26154] New: - Enclosed directives are overwritten and/or not assigned
Date Thu, 15 Jan 2004 07:38:08 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26154>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26154

Enclosed directives are overwritten and/or not assigned

           Summary: Enclosed directives are overwritten and/or not assigned
           Product: Apache httpd-2.0
           Version: 2.0.44
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: TFallenAngel@gmx.net


Following situation:
2 JRun-Servers are running on different ports and are working well.
Apache 2.0.44 is our HTTPD-Server.
The problem is to connect these two servers to Apache HTTPD-server.

Following solutions were tested and are NOT working:

# Configuration 1: excerpt of httpd.con
# JRun connector jrun_mod20.so is loaded before
Alias /lios/ "/usr/local/apache2/htdocs/lios"
<Directory "/usr/local/apache2/htdocs/lios">
    #Options Indexes FollowSymLinks MultiViews IncludesNoExec
    AddOutputFilter Includes html
    AllowOverride None
    Order allow,deny
    Allow from all
    LoadModule jrun_module /opt/jrun4/lib/wsconfig/1/mod_jrun20.so
    <IfModule mod_jrun20.c>
      JRunConfig Verbose true
      JRunConfig Apialloc false
      JRunConfig Ssl false
      JRunConfig Ignoresuffixmap false
      JRUNConfig jvmlist exal,lios
      #JRunConfig Verbose true
      JRunConfig Serverstore /opt/jrun4/lib/wsconfig/lios/jrunserver.store
      JRunConfig Bootstrap 158.226.0.86:51002
      AddHandler jrun-handler .jsp .jws
    </IfModule>
</Directory>
Alias /exal/ "/usr/local/apache2/htdocs/exal"
<Directory "/usr/local/apache2/htdocs/exal">
    #Options Indexes FollowSymLinks MultiViews IncludesNoExec
    AddOutputFilter Includes html
    AllowOverride None
    Order allow,deny
    Allow from all
    LoadModule jrun_module /opt/jrun4/lib/wsconfig/1/mod_jrun20.so
    <IfModule mod_jrun20.c>
      JRunConfig Verbose true
      JRunConfig Apialloc false
      JRunConfig Ssl false
      JRunConfig Ignoresuffixmap false
      JRUNConfig jvmlist exal,lios
      #JRunConfig Verbose true
      JRunConfig Serverstore /opt/jrun4/lib/wsconfig/exal/jrunserver.store
      JRunConfig Bootstrap 158.226.0.86:51003
      AddHandler jrun-handler .jsp .jws
    </IfModule>
</Directory>

If only one of them is available in httpd.conf it works fine, are both of them 
administered in httpd.conf, only the last one works. For the first one I get 
Index of /<firstOne>

The same problem occurs for following configuration:

# Configuration 2: excerpt of httpd.con
# JRun connector jrun_mod20.so is loaded before
<Location "/exal">
    #Options Indexes FollowSymLinks MultiViews IncludesNoExec
    AddOutputFilter Includes html
    AllowOverride None
    Order allow,deny
    Allow from all
    <IfModule mod_jrun20.c>
      JRunConfig Verbose true
      JRunConfig Serverstore /opt/jrun4/lib/wsconfig/exal/jrunserver.store
      JRunConfig Bootstrap 127.0.0.1:51003
      AddHandler jrun-handler .jsp .jws
    </IfModule>      
</Location>    
#########################################################################
<Location "/lios">
    #Options Indexes FollowSymLinks MultiViews IncludesNoExec
    AddOutputFilter Includes html
    AllowOverride None
    Order allow,deny
    Allow from all
    <IfModule mod_jrun20.c>
      JRunConfig Verbose true
      JRunConfig Serverstore /opt/jrun4/lib/wsconfig/lios/jrunserver.store
      JRunConfig Bootstrap 127.0.0.1:51002
      AddHandler jrun-handler .jsp .jws
    </IfModule>      
</Location>   

In the documentation there is following text:
<Location> Description: Applies enclosed directives only to matching URLs 
<Directory> Descritpion: Enclose a group of directives that apply only to the 
named file-system directory and sub-directories

In my oppinion these behavior is a bug.
JRun recommends <virtual-hosts> which are not applicable in our case (only one 
IP, closed network without DNS)

so far
regards
Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message