You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by joe udder <a2...@hotmail.com> on 2002/11/21 00:32:49 UTC

mod_jk2 and userdirectories

Hello.

Can anyone please point out a guide or documentation on how to enable 
userdirectories for usage with mod_jk2 and tomcat?
So normal users can have servlets and jsps in their 
"public_html"-directories.


Google revealed the solution for the tomcat-part, by adding these lines to 
server.xml it should be ok:

<Listener className="org.apache.catalina.startup.UserConfig"
  directoryName="public_html" homeBase="/home"
  userClass="org.apache.catalina.startup.PasswdUserDatabase" />


But I am stalled at how to configure mod_jk2, I have no idea on what is 
going into "workers2.properties" and/or "jk2.properties".

I tried this one, but didn't help me much. :-/

[uri:/~*/*]
worker=ajp13:localhost:8009



TIA.

/j


_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: mod_jk2 and userdirectories

Posted by Bill Barker <wb...@wilshire.com>.
The CVS HEAD version of mod_jk2 (i.e. pre-release) has some support for
using REs in the mappings.  Haven't used it myself, but it may solve your
problem.

"joe udder" <a2...@hotmail.com> wrote in message
news:F165CG5AtBUPtpGh8oQ0001673c@hotmail.com...
> Hello.
>
> Can anyone please point out a guide or documentation on how to enable
> userdirectories for usage with mod_jk2 and tomcat?
> So normal users can have servlets and jsps in their
> "public_html"-directories.
>
>
> Google revealed the solution for the tomcat-part, by adding these lines to
> server.xml it should be ok:
>
> <Listener className="org.apache.catalina.startup.UserConfig"
>   directoryName="public_html" homeBase="/home"
>   userClass="org.apache.catalina.startup.PasswdUserDatabase" />
>
>
> But I am stalled at how to configure mod_jk2, I have no idea on what is
> going into "workers2.properties" and/or "jk2.properties".
>
> I tried this one, but didn't help me much. :-/
>
> [uri:/~*/*]
> worker=ajp13:localhost:8009
>
>
>
> TIA.
>
> /j
>
>
> _________________________________________________________________
> STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
> http://join.msn.com/?page=features/junkmail





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>