tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: How to put restrictions to mod_jk's log
Date Mon, 27 Dec 2010 20:54:54 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kikuchi,

On 12/23/2010 8:42 PM, Yu Kikuchi wrote:
> I'm using JkMount in some Virtual Hosts as below.
> 
> [httpd.conf]
> 
> Listen 8108
> 
> <VirtualHost XXX.XXX.19.40:8108>
>  :
>  JkMount /xxx_api/* worker1
>  :
> </VirtualHost>

I'm surprised that "OPTIONS * HTTP/1.1" routes this request to mod_jk:
it doesn't seem to match the pattern. Or, does mod_jk simply observe the
request and complain about the URL even though it's not handling it?

> When I tried to set "JkUnmount * worker1", such message printed out and
> Apache was failed to start.
> 
> Syntax error on line 425 of /opt/httpd/conf/httpd.conf:
> JkUnMount context should start with /

That's not surprising: "*" is not a valid pattern.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0Y/R4ACgkQ9CaO5/Lv0PCLjQCgtnyOnfFRLJwERJtS5+q/9v9H
cLoAnjBLyQgF9TwE858Voex/I3MJlBpT
=Jiz/
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message