[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Basic Tomcatt5.5 Admin question



On Fri, 21 Sep 2007 07:42:59 -0700
Dancing Fingers <bcl122@netscape.net> wrote:

> Hi guys,
> I  finally got Tomcat5.5 going on Etch  AMD and  I start studying the
> JSP developers guide but I get stuck in  the beginning.   The book
> says to create a  new directory under  ROOT but  I  don't have
> permission in my default account.  The  last  install I  did a
> chgrp / user/share/tomcat5.5-webapps/ROOT www-data but I screwed  the
> package up so  bad that I re-installed the system.   Could anyone
> tell me how the is typically  done?
> Thanks.
> Chris
> 
> 

I use the "user web applications", I think it is a better approach for
learning stuff. I put the following in /etc/tomcat5.5/server.xml, in
the <host> section:

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

<Context path="/~nyizsa/jsp"
docBase="/home/nyizsa/public_html/jsp" debug="0"> </Context>

My pages can be reached as http://localhost:8180/~nyizsa/jsp/, and they
are actually located in /home/nyizsa/public_html/jsp.

You may find more useful information at
http://localhost:8180/tomcat-docs/

-- 
Szia:
		Nyizsa.

----------------------------------------------------------------------
Get a free email address with REAL anti-spam protection.
http://www.bluebottle.com/tag/1



Reply to: