----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi
I beleive you have to now have a seperate JVM running for each virtual web.
You did not mention the servlet engine you use, but I am currently running
Jrun on Solaris and NT and this is how we handled that problem.
I'm in the midst of evaluating Jserv and OrionServer... I am not 100% sure
how to do this with those products yet.
Thanks.
> -----Original Message-----
> From: Jesus Escanero [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 23, 2000 7:39 AM
> To: [EMAIL PROTECTED]
> Subject: Problems with VirtualHost + JSP
>
>
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
>
> Hi
>
> I've got a problem with the configuration of apache
> in a Solaris system. In my server I have set 4 virtual
> hosts, each of one have the same structure of html
> pages (directories, jsp, ...). The problem is that I
> have several jsp with the same name in the same
> directory (for each virtual host), for example:
>
> <VirtualHost www.a.com>
> DocumentRoot /usr/html/a
> </VirtualHost>
>
> <VirtualHost www.b.com>
> DocumentRoot /usr/html/b
> </VirtualHost>
>
> When I ask the server for www.a.com/jsp/ex.jsp and
> for www.b.com/jsp/ex.jsp it thinks that both jsp's are
> the same and it only compile the first one (the
> problem is that for the global apache is the same jsp
> in the same directory).
>
> How can I set zones for my jsp's (as it can be done
> with servlets or htmls) for each of the virtual hosts?
> (in order to compile them in different places)
>
> Thanks...
>
>
>
>
> _______________________________________________________________
> Do You Yahoo!?
> Consiga gratis su dirección @yahoo.es en http://correo.yahoo.es
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]