Hey Pidster, This is the tag I've used:
<Context aliases="/img/images=/home/michaelr/images,/img/thumbs=/home/michaelr/thumbs"></Context> It could have been a permissions problem but I gather that if docBase works, this must work as well permission wise. Thanks, Michael 2012/5/17, Pid <p...@pidster.com>: > On 17/05/2012 06:41, Michael Ravits wrote: >> Hi Everybody, >> >> I just can't get this to work. >> Installed Tomcat 7.0.21 on ubuntu 11 using apt-get. >> I deployed ROOT.war and then went on to configure aliases. >> Tried adding the attribute in: > > Obvious question: what exactly did you try? > > > p > >> $CATALINA_BASE/conf/Catalina/localhost/ROOT.xml >> $CATALINA_BASE/conf/Catalina/localhost/context.xml >> $CATALINA_BASE/conf/Catalina/localhost/context.xml.default >> $CATALINA_BASE/conf//context.xml >> >> But nothing seems to work.. >> >> In the mean while I've resorted to adding: >> >> $CATALINA_BASE/conf/Catalina/localhost/img.xml >> >> With docBase attribute pointing at the right place and it works. >> But it seems to me that aliases is more appropriate. >> >> Does anyone know what I'm doing wrong? >> How should I debug this? >> >> Thanks, >> Michael >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> > > > -- > > [key:62590808] > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org