Thanks now localhost/manager redirects to the manager app.
But after typing in username + password the access to the manager app doesnt't 
work i get the 401 authorization required page.

The user is added in the tomcat7\conf\tomcat-users.xml

<role rolename="manager-gui"/>
<user username="test" password="test" roles="manager-gui"/>

best regards
Roland

-------- Original-Nachricht --------
> Datum: Wed, 26 Oct 2011 16:22:39 +0400
> Von: Konstantin Kolinko <knst.koli...@gmail.com>
> An: Tomcat Users List <users@tomcat.apache.org>
> Betreff: Re: How to configure Tomcat 7 manager webapp into an subpath?

> 2011/10/26 Roland Schmitt <roland-schm...@gmx.de>:
> > I have configure the tomcat webroot outside of the tomcat directory.
> > But then the tomcat managment application isn't accessible any more.
> > I have then tried to create an subcontext /manager which should allow
> access to the manager application. But localhost/manager doesn't show any
> content.
> >
> > How can i configure an subcontext just for accessing the manager
> application?
> >
> > I have configured two contextes under:
> > Tomcat7\conf\catalina\localhost
> >
> > ROOT.XML:
> > <Context path="" docBase="D:/webroot/" cookies="false"
> reloadable="false" allowLinking="false" caseSensitive="true" unpackWAR="false"
> useNaming="false">
> > </Context>
> >
> > manager.xml
> > <Context path="/manager" docBase="D:\Programs\Tomcat 7\webapps\manager">
> > </Context>
> 
> 1. You cannot use path attribute in *.xml context files.
> 2. Manager webapp needs to be privileged.
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <Context docBase="${catalina.home}\webapps\manager"
> antiResourceLocking="false" privileged="true">
> </Context>
> 
> You may want to add a <Valve
> className="org.apache.catalina.valves.RemoteAddrValve" ... /> inside
> the <Context> tag.
> 
> Best regards,
> Konstantin Kolinko
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!               
Jetzt informieren: http://www.gmx.net/de/go/freephone

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to