tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugene Gluzberg <drag...@apache.org>
Subject Re: [JK2] new uriMap using hostname:port
Date Mon, 23 Sep 2002 21:09:02 GMT
Yikes! today's version no longer compiles without APR on 1.3:


       [so] Output:
        [so] rm -f 
/home/eugene/tomcat/jakarta-tomcat-connectors/jk/build/jk2/apache13/common/.libs/jk_uriEnv.lo
        [so] cc -c 
-I/home/eugene/tomcat/jakarta-tomcat-connectors/jk/native2/include 
-I/home/eugene/tomcat/jakarta-tomcat-connectors/jk/native2/common 
"-I\${build.compiler.base}/include" -I/usr/include -I/usr/include/apache 
-I/home/eugene/tomcat/jakarta-tomcat-connectors/jk/native2/include 
-I/usr/java/j2sdk1.4.1/jre/../include 
-I/usr/java/j2sdk1.4.1/jre/../include/linux -g -W -DEAPI -D_REENTRANT 
-DCHUNK_SIZE=4096 -DHAVE_MMAP 
/home/eugene/tomcat/jakarta-tomcat-connectors/jk/native2/common/jk_uriEnv.c 
     -fPIC -DPIC -o 
/home/eugene/tomcat/jakarta-tomcat-connectors/jk/build/jk2/apache13/common/.libs/jk_uriEnv.lo
        [so] StdErr:
        [so] 
/home/eugene/tomcat/jakarta-tomcat-connectors/jk/native2/common/jk_uriEnv.c:72:21: 
apr_uri.h: No such file or directory


Costin Manolache wrote:
> All that matter to me is to preserve the equivalence with 
> 'native' apache config.
> 
> In other words, 
> 
> [uri:HOST:PORT/URL]
> properties
> 
> Must be equivalent with
> 
> <VirtualHost addr:port ... > 
> ServerAlias ...
> 
> <Location /URL>
> JkUriSet .... 
> </Location>
> </VirtualHost>
> 
> By this criteria, I would prefer use of '_default_' for the default 
> server.
> 
> For the syntax of HOST, port, URL - just make sure it matches the 
> documented semantics of apache VirtualHost and Location.  
> 
> Costin
> 
> Mladen Turk wrote:
> 
> 
>>Think I didn't miss something :)
>>
>>Here is how it works:
>>
>>All the mappings are done in the following way:
>>
>><hostname|*>[:port]
>>
>>Meaning '*' is used for the default host.
>>
>>You can make now something like:
>>
>>[uri:*:8080]
>>Info=will map the all the default servers on the port 8080
>>
>>Aliases should work now:
>>
>>[uri:*]
>>alias=localhost
>>alias=www.apache.org
>>
>>I have dropped the reverse attribute for now. Its too clumsy, and it
>>will be enabled if pcre is ever adopted.
>>
>>IIS (work to some extend) and Apache 1.3 need some extra tuning :-)
>>
>>Please do test.
>>
>>MT.
> 
> 


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message