You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Marcia de Oliveira Cardoso <ma...@nce.ufrj.br> on 2003/04/17 20:37:25 UTC
I'm giving up ...
Ok. I don't know how to use this. I confess.
But I'm trying to configure this on my server. It seems that everything is ok. I configured tomcat+apache and it works.
The question is: I have to access any user page if they want to use it. How to?
The address http://localhost/examples/jsp/index.html works
But I want http://localhost/~someuser to work too.
Are there documents about this?
Tanks,
Marcia Cardoso
PS: I use FreeBSD 4.7 + apache1.3.27+tomcat 4.1
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: I'm giving up ...
Posted by John Turner <to...@johnturner.com>.
You'll need mod_userdir.
http://httpd.apache.org/docs/mod/mod_userdir.html
John
On Thu, 17 Apr 2003 15:37:25 -0300, Marcia de Oliveira Cardoso
<ma...@nce.ufrj.br> wrote:
>
>
> Ok. I don't know how to use this. I confess.
> But I'm trying to configure this on my server. It seems that everything
> is ok. I configured tomcat+apache and it works.
>
> The question is: I have to access any user page if they want to use it.
> How to?
>
>
> The address http://localhost/examples/jsp/index.html works
>
> But I want http://localhost/~someuser to work too.
>
>
> Are there documents about this?
>
> Tanks,
>
> Marcia Cardoso
>
> PS: I use FreeBSD 4.7 + apache1.3.27+tomcat 4.1
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: I'm giving up ...
Posted by David J Harding <da...@metalogik.com>.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html
should cover it from the point of view of tomcat.
alternately, you could configure apache to not send
http://localhost/~username to tomcat and thereby have apache handle the
user's public_html. exactly how you would do that is largely dependent
on your apache configuration and desired apache+tomcat configuration.
in short, you can configure apache/mod_jk to only send specific
request patterns to tomcat (using the JkMount directive). for example,
if you want the user's public_html directory to be run through apache
only and want the following to go to tomcat:
/examples
/manager
/myotherwebapp
you could use the following JK directives in your apache configuration:
JkMount /examples worker1
JkMount /manager worker1
JkMount /myotherwebapp worker1
you would need to configure apache to understand the ~username urls
using the mod_userdir
the following urls should help you out:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk2.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html
http://httpd.apache.org/docs/mod/mod_userdir.html
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org