tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcia de Oliveira Cardoso" <mar...@nce.ufrj.br>
Subject RE: I'm giving up ...
Date Thu, 17 Apr 2003 20:01:47 GMT
John,
I tried it yet. Of course with your explanation I could made some changes.
It still didn't work but I know this is the right way. I will do some others modifications
and then I will give you a return.

Thanks a lot.
Marcia Cardoso

-----Original Message-----
From: John Turner [mailto:tomcat-user@johnturner.com]
Sent: Thursday, April 17, 2003 4:18 PM
To: Tomcat Users List
Subject: Re: I'm giving up ...



I've never done this, but I'm guessing something like:

http://host/~user = /home/user/public_html

in which case you could probably use something like:

<Context path="" docBase="/home/user/public_html/ROOT" reloadable="true" />

and put the JSPs in /home/user/public_html/ROOT.

Then, you'll need to set Apache to forward /~user/*.jsp and 
/~user/servlet/* to mod_jk.

Again, I have never done this, I am just hypothesizing.  You just need a 
valid JkMount statement and a Context path that matches.

John

On Thu, 17 Apr 2003 16:06:03 -0300, Marcia de Oliveira Cardoso 
<marcia@nce.ufrj.br> wrote:

> Ok.
> I have it. Apache has been working well. I have Alias too and a lot of 
> Virtual Hosts. I know the problem is with my behavior with Tomcat. I 
> don't "know it".
> http://localhost/~user works whith html pages but when this user has an 
> index.jsp inside his public_html this error appear:
> ****************************************************************************************

>
>
> HTTP Status 404 - /~jmvargas/curso
>
> -------------------------------------------------------------------------- 
>
>
> ------
>
> type Status report
>
> message /~jmvargas/curso
>
> description The requested resource (/~jmvargas/curso) is not available.
>
>
> -------------------------------------------------------------------------- 
>
>
> ------
>
> Apache Tomcat/4.1.18
> ********************************************************************************************
>
> Of course Tomcat didn't know about this user. I tried to create a Context 
> but as I don't know anything about servlets , I don't know the right way.
>
> Marcia
>
> -----Original Message-----
> From: John Turner [mailto:tomcat-user@johnturner.com]
> Sent: Thursday, April 17, 2003 3:53 PM
> To: Tomcat Users List
> Subject: Re: I'm giving up ...
>
>
>
> You'll need mod_userdir.
>
> http://httpd.apache.org/docs/mod/mod_userdir.html
>
> John
>
> On Thu, 17 Apr 2003 15:37:25 -0300, Marcia de Oliveira Cardoso 
> <marcia@nce.ufrj.br> wrote:
>
>>
>>
>> Ok. I don't know how to use this. I confess.
>> But I'm trying to configure this on my server. It seems that everything 
>> is ok. I configured tomcat+apache and it works.
>>
>> The question is: I have to access any user page if they want to use it. 
>> How to?
>>
>>
>> The address     http://localhost/examples/jsp/index.html   works
>>
>> But I want http://localhost/~someuser to work too.
>>
>>
>> Are there documents about this?
>>
>> Tanks,
>>
>> Marcia Cardoso
>>
>> PS: I use FreeBSD 4.7 + apache1.3.27+tomcat 4.1
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>
>
>



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message