tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elijah Epifanov" <sm...@sulamita.ru>
Subject Re: Apache, tomcat and ajp13
Date Tue, 15 Jun 2004 22:00:47 GMT
Delete [uri:/*] section from your worker2.properties file,
    and use httpd.conf instead (I think it's more correct approach):

...
<LocationMatch "(?<!^/doc)">
    JkUriSet worker ajp13:localhost:8009
</LocationMatch>
<LocationMatch "^/doc">
    .... php stuff ....
</LocationMatch>

----- Original Message ----- 
From: "Sez" <sezmillenium@yahoo.es>
To: <tomcat-user@jakarta.apache.org>
Sent: Tuesday, June 15, 2004 7:23 PM
Subject: Apache, tomcat and ajp13


>
> Hi people!
> I have a apache and tomcat working together. In worker2.properties i have
> [uri:/*]
> worker=ajp13:localhost:8009
>
> It pass all connections to tomcat. Now, i want that some connections go to
> apache with php and others to tomcat.
>
>  www.site.com/doc -->apache and php
> www.site.com/* --> tomcat
> I want that anything go to tomcat, except the doc folder...
>
> It's possible? HOw can i configure workers2.properties?
>


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


Mime
View raw message