You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ken Hensel <kh...@sis125.berkeley.edu> on 2004/03/18 04:20:56 UTC
[users@httpd] mod_jk3, Tomcat, Apache2 Wildcard problem (Linux)
Help please,
I have searched far and wide, but found no answer to this question -
although one guy had the same problem and reverted to mod_jk as a
solution. This is not a solution for me.
I have the following in my workers2.properties file:
[uri:/myapp/]
[uri:/myapp/*.jsp]
[uri:/myapp/dir1/*.jsp]
[uri:/myapp/dir1/dir2]
[uri:/myapp/dir2/*]
Everything works as expected except for the final one. The wildcard (*)
by itself after a / is not working. Instead it tries to access the
pathname on DocumentRoot instead of Tomcat (4.1).
Has anyone had this problem? I used both binaries and also build
Apache2 and jakarta-tomcat-connectors from source with the same problem.
Any help would be appreciated.
Thanks, Ken
---------------------------------------------------------------------
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
Re: [users@httpd] mod_jk3, Tomcat, Apache2 Wildcard problem (Linux)
Posted by Ken Hensel <kh...@sis125.berkeley.edu>.
I thought some people might want to know. I don't have this problem any
more.
The problem seems to be when the workers2.properties is used for the
urisets.
I took them out and put them into mod_jk2.conf, which is statically
included into httpd.conf, as
<Location "/myapp/*.jsp">
JkUriSet group ajp13:localhost:8009
</Location>
<Location "/myapp/pub/dir/*">
JkUriSet group ajp13:localhost:8009
</Location>
I also found that Apache seemed to get confused when the Alias to the
directory for the static web content was the same as the application
name. I was getting erratic behavior -- images would show up once then
on the next screen disappear...
I called the static content directory myapp-static and it was resolved.
Thanks anyway
Ken Hensel wrote:
> Help please,
>
> I have searched far and wide, but found no answer to this question -
> although one guy had the same problem and reverted to mod_jk as a
> solution. This is not a solution for me.
>
> I have the following in my workers2.properties file:
>
> [uri:/myapp/]
> [uri:/myapp/*.jsp]
> [uri:/myapp/dir1/*.jsp]
> [uri:/myapp/dir1/dir2]
> [uri:/myapp/dir2/*]
>
> Everything works as expected except for the final one. The wildcard
> (*) by itself after a / is not working. Instead it tries to access
> the pathname on DocumentRoot instead of Tomcat (4.1).
> Has anyone had this problem? I used both binaries and also build
> Apache2 and jakarta-tomcat-connectors from source with the same problem.
>
> Any help would be appreciated.
>
> Thanks, Ken
>
>
>
> ---------------------------------------------------------------------
> 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
>
>
---------------------------------------------------------------------
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