tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Luc BEAUDET <>
Subject Re: UserDir and Tomcat.
Date Wed, 13 Dec 2000 10:48:08 GMT
Kenichi Mori a écrit :

> Hi!
> I'm trying to make Tomcat work with Apache.
> Platform is Kondara/MNU Linux 1.2-new(Based on RHL 6.x).
> I want to make .jsp enable for each user accounts.
> Currently, I can access JSPs by accessing URL:
> http://mytesthost/examples/jsp/
> I checked appache's UserDir settings.
> And I put an test .jsp in my public_html folder, then I try to access it by
> using this URL:
> http://mytesthost/~kenichi/hello.jsp
> Tomcat replies "404 Not Found" error.
> Instead of saying:
> "You re Running JSP"
> I think I have to do something more. But I could not find any hints on this
> issue.
> Is there any way to solve this problem?
> ***************************
> Kenichi Mori
> Engineer
>   Business Solution Div.
> Open Interface Inc.
> URL:
> ***************************

Well i've had quite the same Pb with my Apache Tomcat configuration.
I wanted several users, each gettin' is own Home Dir, acces and run there jsp
and servlet App.

The stuff is like this:

For Apache:
UserDir is www
DirectoryIndex is index.html Hello.jsp

For Tomcat - that is to say server.xml -
i had to add those <Context>
        <Context path="/~cdelpont"
                 reloadable="true" >
        <Context path="/~oseignol"
                 reloadable="true" >
        <Context path="/~jlbeaudet"
                 reloadable="true" >

When i try it by http://localhost:8087/~jlbeaudet
I have my Helloworld.jsp runnin' OK
The same test with http://localhost:85/~jlbeaudet
runs OK too !

Be sure not to forget the well known:
     JkMount /~jlbeaudet/servlet/* ajp12
    JkMount /~jlbeaudet/*.jsp ajp12
in yur Apache conf!

Hope this will help you!
Please keep me connected

Friendly yurs

Jean-Luc B ;O)

View raw message