tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Cook" <jimc...@iname.com>
Subject RE: urgent help
Date Sun, 03 Sep 2000 14:33:30 GMT
Sorry, I didn't realize that you were using Apache as well. I'm a newbie
when it comes to configuring Apache.

Does it work when you access Tomcat directly (bypassing Apache)?

jim

> -----Original Message-----
> From: root@smv05.iname.net [mailto:root@smv05.iname.net]On Behalf Of
> Slava Voronin
> Sent: Sunday, September 03, 2000 3:22 AM
> To: tomcat-user@jakarta.apache.org; jimcook@iname.com
> Subject: Re: urgent help
>
>
> I tried what you have suggested before but it didn't work (in
> tomat/conf/web.xml)
> I also changed servlet to servlets in uriworkermap.properties file.
> The following lines is the part of uriworkerman.properties.
>
> # Mount the servlet context to the ajp12 worker
> /servlets/*=ajp12
>
> But it didnt' help either.
>
> In my httpd.conf, I added
>
> Alias /servlets "/usr/local/jakarta-tomcat/webapps/ROOT"
> <Directory "/usr/local/jakarta-tomcat/webapps/ROOT">
>     Options Indexes FollowSymLinks
> </Directory>
> ApJServMount /servlets /ROOT
> <Location "/ROOT/WEB-INF/">
>     AllowOverride None
>     deny from all
> </Location>
>
> Still doesn't work.  I spent two days figuring this stuff out..
> trying different combinations...no success.
> Please help me on this one.
> Thanks,
> Slava.
>
> James Cook wrote:
>
> > Check out the <tomcat>/cong/web.xml file:
> >
> > <servlet-mapping>
> >         <servlet-name>
> >             invoker
> >         </servlet-name>
> >         <url-pattern>
> >             /servlet/*
> >         </url-pattern>
> >     </servlet-mapping>
> >
> > and change the URL pattern.
> >
> > jim
> >
> > > -----Original Message-----
> > > From: root@smv08.iname.net [mailto:root@smv08.iname.net]On Behalf Of
> > > Slava Voronin
> > > Sent: Saturday, September 02, 2000 4:24 PM
> > > To: tomcat-user@jakarta.apache.org
> > > Subject: urgent help
> > >
> > >
> > > I am upgrading from jserv to tomcat.
> > >
> > > I run servlets on jserv as http://mydomain/servlets/Myservlet
> > >
> > > Under tomcat I am running as http://mydomain/servlet/Myservlet
> > >
> > > So, I need to change in some tomcat config file      servlet
> -> servlets.
> > >
> > > Which  tomcat config file should I change to be able
> > > to preserve my structure and run the serlvets as
> > > http://mydomain/servlets/Myserlvet.
> > >
> > > Thanks.
> > > I would really appreciate any help.
> > > Slava.
> > >
> > >
> > >
>
>
>
>


Mime
View raw message