Does not work for me for some reason.

I have updated to latest version of CVS and recompiled mod_jk2.so for
apache2.
I looks that it does not load hosts at all.

Before I had this in my jk2 log file:

[Sat Sep 21 18:09:40 2002] (debug ) [jk_uriMap.c (371)]  uriMap.init()
loaded host www.i-com.com

Now I do not have it

In my workers2.properties among other stuff I have:


[uri:*]
alias=localhost
debug=10

[uri:www.i-com.com:80]
debug=10

[status:status]
debug=10

[uri:*/jkstatus/*]
worker=status:status
debug=10

[uri:www.i-com.com:80/*.jsp]
worker=ajp13:localhost:8013
debug=10



Neither of the mappings work, even jkstatus



Did you have i chance to look at the simple patch that I used:

http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/msg66936.html




List:     tomcat-dev
Subject:  [JK2] new uriMap using hostname:port
From:     "Mladen Turk" <[EMAIL PROTECTED]>
Date:     2002-09-23 17:53:50
[Download message RAW]


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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to