To follow the thread,

It is not compulsory to set uri mapping in workers2.properties file. Just adding 
jkuriset in host section (virtual as well) of httpd.conf will do the job.

But one more thing please,

With httpd.conf having 
#########################
<VirtualHost *>
        ServerName foo3.com
        ....
        <Location "/TruckEnqui/">
                JkUriSet worker ajp13:foo3.com:8009
        </Location>
</VirtualHost>

<VirtualHost *>
        ServerName foo2.com
        ....
        <Location "/TruckEnqui/">
                JkUriSet worker ajp13:foo2.com:8009
        </Location>
</VirtualHost>

<VirtualHost *>
        ServerName foo1.com
        ....
        <Location "/unicorn2xml">
                JkUriSet worker ajp13:foo1.com:8009
        </Location>

        <Location "/xml2unicorn">
                JkUriSet worker ajp13:foo1.com:8009
        </Location>

        <Location "/xi">
                JkUriSet worker ajp13:foo1.com:8009
        </Location>
</VirtualHost>
#########################

and workers2.properties having

#########################
[logger.apache2]
level=DEBUG

[shm]
file=c:/shm.file
size=1048576

# Example socket channel, override port and host.
[channel.socket:foo2.com:8009]
port=8009
host=127.0.0.1

# Example socket channel, override port and host.
[channel.socket:foo3.com:8009]
port=8009
host=127.0.0.1

# Example socket channel, override port and host.
[channel.socket:foo1.com:8009]
port=8009
host=127.0.0.1

# define the worker
[ajp13:foo2.com:8009]
channel=channel.socket:foo2.com:8009

# define the worker
[ajp13:foo3.com:8009]
channel=channel.socket:foo3.com:8009

# define the worker
[ajp13:foo1.com:8009]
channel=channel.socket:foo1.com:8009

[status:status]
[uri:/status/*]
group=status:status
#########################

http://localhost/Status gives 3 entries for "ajp13 runtime info" (which is correct or 
least what we want).

But for the "uri runtime info" section, there is no mention about the entry for the 
foo3.com host.

ID      name                    host    uri                     group                  
         context 
0                                       null                    null                   
         null
0       /TruckEnqui/    *       /TruckEnqui/    ajp13:foo2.com:8009     /
0       /unicorn2xml    *       /unicorn2xml    ajp13:foo1.com:8009     /
0       /xml2unicorn    *       /xml2unicorn    ajp13:foo1.com:8009     /
0       /xi                     *       /xi                     ajp13:foo1.com:8009    
 /
0       /status/*               *       /status/*               status:status          
 /
0       *                       *       null                    null                   
         null
0       */                      *       /                       lb:lb                  
         /



Does anyone see why there is no entry for this host?

If you have any other comments.... (Is it normal that in the array above the id is 
always the same although "ajp13 runtime info" section gives 3 ids (from 0 to 2)?

Regards

Mederick



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to