You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Teddy Voutour <tv...@yahoo.com> on 2004/01/14 08:30:52 UTC
[users@httpd] workers2.properties and URI with hostname wildcard
Hi I am a newbie and have already benefited from the many posted on this
site in getting apache 2 working with tomcat 5 on RH9. However I have
one final hurdle involving the configuration of the workers2.properties
file. I would like all request for a particular virtual host to be
forwarded to tomcat however my guesses at how to do a wildcard for
hostname on a URI proved not to work.
Basically I am trying to have anything.noodleshare.com/* be forwarded to
tomcat. To prove that the rest of the components are working ok I tried
the following.
[uri:www.noodleshare.com/*]
worker=ajp13:localhost:9009
#worker=ajp13:/usr/local/tomcat/work/jk2.socket
This worked fine and all request for www.noodleshare.com were forwarded
to tomcat.
I then tried:
[uri:*.noodleshare.com/*]
worker=ajp13:localhost:9009
#worker=ajp13:/usr/local/tomcat/work/jk2.socket
I hoped this would result in www.noodleshare.com,
support.noodleshare.com or anything.noodleshare.com all being handled by
tomcat, but it was not the case.
Any help would be greatly appreciated.
Teddy
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org