Re: how do i make apache auto load index.jsp

2002-12-17 Thread Alexander Wallace
Thankyou, good to know, i'll see which aproach is easyer for me.

On Monday 16 December 2002 21:30, Turner, John wrote:
> This has come up many times before.  There is no easy solution. 
> Apparently, Apache doesn't do the DirectoryIndex until after it checks to
> see if the URL should be passed to Tomcat.  Since the actual URL has no
> "*.jsp" on it at that time, it doesn't go to Tomcat.
>
> There have been various alternatives suggested on the list in the past:
>
> 1) setup a index.html file to do a META refresh of 0 to URL/index.jsp
> 2) use mod_rewrite to intercept URLs that don't have a file on them,
> rewriting them to /index.jsp
> 3) send all requests to Tomcat, and use the web.xml welcome file list to
> have index.jsp come up first (this would make Apache pretty useless)
>
> There are probably other workarounds.
>
> John
>
>
> -Original Message-
> From: Alexander Wallace [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 16, 2002 8:11 PM
> To: [EMAIL PROTECTED]
> Subject: how do i make apache auto load index.jsp
>
> When using apache + tomcat, and calling my web app context, with no page
> being
> requested, i get  404 error If i call tomcat directly (using port 8080)
> tomcat loads index.jsp fine.
>
> How can i make apache also load the index.jsp ?
>
> I thought that by adding the index.jsp to the httpd.conf DirectoryIndex
> directive it would do it, but it doesn't...
>
> Thanks in advance.
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002
>
>
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]> For additional
> commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: how do i make apache auto load index.jsp

2002-12-16 Thread Turner, John

This has come up many times before.  There is no easy solution.  Apparently,
Apache doesn't do the DirectoryIndex until after it checks to see if the URL
should be passed to Tomcat.  Since the actual URL has no "*.jsp" on it at
that time, it doesn't go to Tomcat.

There have been various alternatives suggested on the list in the past:

1) setup a index.html file to do a META refresh of 0 to URL/index.jsp
2) use mod_rewrite to intercept URLs that don't have a file on them,
rewriting them to /index.jsp
3) send all requests to Tomcat, and use the web.xml welcome file list to
have index.jsp come up first (this would make Apache pretty useless)

There are probably other workarounds.

John


-Original Message-
From: Alexander Wallace [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 16, 2002 8:11 PM
To: [EMAIL PROTECTED]
Subject: how do i make apache auto load index.jsp

When using apache + tomcat, and calling my web app context, with no page
being 
requested, i get  404 error If i call tomcat directly (using port 8080) 
tomcat loads index.jsp fine. 

How can i make apache also load the index.jsp ? 

I thought that by adding the index.jsp to the httpd.conf DirectoryIndex 
directive it would do it, but it doesn't...

Thanks in advance.

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002
 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




how do i make apache auto load index.jsp

2002-12-16 Thread Alexander Wallace
When using apache + tomcat, and calling my web app context, with no page being 
requested, i get  404 error If i call tomcat directly (using port 8080) 
tomcat loads index.jsp fine. 

How can i make apache also load the index.jsp ? 

I thought that by adding the index.jsp to the httpd.conf DirectoryIndex 
directive it would do it, but it doesn't...

Thanks in advance.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: