tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dom" <dom...@free.fr>
Subject Re: Re[4]: Virtual host and app
Date Mon, 03 Nov 2003 19:39:56 GMT
Hi

in your web app web.xml  (see web-app_2_3.dtd)  :

<welcome-file-list>
    <welcome-file>your-servlet-name</welcome-file>
    <welcome-file>index.jsp</welcome-file>
    <welcome-file>index.html</welcome-file>
</welcome-file-list>

Dom

----- Original Message -----
From: "Javier" <xleyba@yahoo.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Monday, November 03, 2003 7:17 PM
Subject: Re[4]: Virtual host and app


> On 03/11/2003 at 17:56 Dominique Batard wrote:
>
> >
> >Having deployed your app under webapps (you shouldn't with virtual hosts)
> ,
> >you can also access it within localhost :
> >http://localhost:8080/PruebaJavier/ (this is possible only because you've
> >used the webapps absolute URL in appBase)
> >
> >If you want a pjkt virtual Host and a PruebaJavier Context :
> >
> ><Host name="pjkt" debug="0" appBase="C:\Program Files\Apache Software
> >Foundation\Tomcat 5.0\webapps\PruebaJavier" unpackWARs="true"
> >autoDeploy="true">
> >   <Context path="/PruebaJavier" reloadable="true" docBase="." />
> ></Host>
> >
>
>
> Ok, thanks...it worked !
>
> The only thing nobody answer is: which is the equivalent setting for
Apache
> DirectoryIndex ?
>
> I mean that if the user write in url just http://pjkt:8080 I want to have
> configured a default servlet to show (as is index.php in my php
> applications).
>
>
> Thanks in advance
>
> <jl>
>
>
>
>
> ---------------------------------------------------------------------
> 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