Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: De-centralized webapp dir with Apache?

Mark Lowe

2004-10-19

Replies:

You can yes..

see the bottom of this page..

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html


If you need this working with apache then its a tad different.. But
doable all the same..

Mark

On 19 Oct 2004, at 20:19, John Hyun wrote:

>
> Hello all. I have Apache configured such that each user on the system
> has a "mywebsite" directory in their home directory that can be served
> up via the url:
>
>  http://<hostname>/~<username>
>
>  Is there a way to configure Tomcat so that it treats each user's
> "mywebsite" directory as a webapp? In otherwords, I wish to give
> each user the ability to serve up jsp pages.
>
>  From the documentation there does not seem to be a way to do this.
> The best idea I have so far is to reconfigure Apache, and each user's
> account, so that their "mywebsite" directory exists in Tomcat's main
> webapp directory. However, this makes administration much more
> difficult since someone would have to manually add/delete/assign
> rights to these directories as accounts are created/deleted. Is there
> a better way?
>
>  -john
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.