I have IP-based virtual host, not name-based
###
### http.conf
###
...
Listen www.i-com.com:8019
LogLevel debug
...
<VirtualHost www.i-com.com:8019>
ServerName www.i-com.com:8019
...
</VirtualHost>
###
### workers2.properties
###
[logger]
level=DEBUG
[shm]
file=/usr/local/apache2/logs/jk2.shm
size=1048576
[channel.socket:localhost:8013]
port=8013
host=127.0.0.1
debug=10
[ajp13:localhost:8013]
channel=channel.socket:localhost:8013
debug=10
[uriMap:]
debug=10
[status:status]
debug=10
[uri:www.i-com.com:8019]
debug=10
[uri:www.i-com.com:8019/jkstatus/*]
worker=status:status
[uri:www.i-com.com:8019/*.jsp]
worker=ajp13:localhost:8013
####
#### END OF workers2.properties
Neither url works:
http://www.i-com.com:8019/jkstatus
http://www.i-com.com:8019/dhtml/10.jsp
Messages in log:
[Tue Sep 24 11:29:09 2002] [debug] ../../common/jk_uriMap.c(500):
uriMap.mapUri() hostname www.i-com.com port 8019 uri /jkstatus
[Tue Sep 24 11:29:09 2002] [notice] uriMap.mapUri() cannot find host
www.i-com.com/
[Tue Sep 24 11:28:59 2002] [notice] mod_jk child init 1 -1
[Tue Sep 24 11:29:02 2002] [debug] ../../common/jk_uriMap.c(500):
uriMap.mapUri() hostname www.i-com.com port 8019 uri /dhtml/10.jsp
[Tue Sep 24 11:29:02 2002] [notice] uriMap.mapUri() cannot find host
www.i-com.com/
What is that trailing slash in the "cannot find host www.i-com.com/" ?
Dmitry
Mladen Turk wrote:
> From Dmitry Letin
>
>
>>And I do not see messages like this in error log:
>>
>>[Sat Sep 21 18:09:40 2002] (debug ) [jk_uriMap.c (371)]
>>uriMap.init() loaded host www.i-com.com
>>
>
>
> Try setting LogLevel to debug in the httpd.conf
>
> Post the ServerName, Listen and VirtualHost from your httpd.conf
> And the worker2.properties
>
> But,
>
> Listen 8019
> NameVirtualHost *:8019
> <VirtualHost *:8019>
> ServerName www.i-com.com:8019
> ....
> </VirtualHost>
>
> [uri:www.i-com.com:8019]
>
> [uri:www.i-com.com:8019/examples/*]
> context=/examples
>
> Should work.
>
> MT.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>