Re: How Directly Run Servlet W/O Redirect From Index.html?

2003-06-03 Thread Peter Alvin
mod_rewrite worked! Here is the solution: RewriteEngine on RewriteRule ^/$ /home.htm [R] This is a problem I've been grappling with for a year! Thanks everyone! Pietro da Alvin 719-210-3858 Chi cerca trova (Who searches, finds) Italian Proverb On Tue, 03 Jun 2003 08:58:40 -0400, Tim Funk wr

Re: How Directly Run Servlet W/O Redirect From Index.html?

2003-06-03 Thread Tim Funk
In tomcat 4.X a welcome file cannot be a servlet. It must be a file. (This rule changes with servlet api 2.4) So for now, you can be tricky, for example: I have a servlet mapped to *.cowbell. I create an (empty) file called index.cowbell. I also make sure my welcome file listing includes index.

Re: How Directly Run Servlet W/O Redirect From Index.html?

2003-06-03 Thread John Turner
Yes, you can use mod_rewrite. Most people are not proficient enough to do so. John On 03 Jun 2003 14:17:25 +0200, Joël "Wijngaarde [Us Media] <[EMAIL PROTECTED]> wrote: Can't you use a RewriteRule (see http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html) from within apache to rewrite the de

Re: How Directly Run Servlet W/O Redirect From Index.html?

2003-06-03 Thread Wijngaarde [Us Media]
Can't you use a RewriteRule (see http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html) from within apache to rewrite the default URL to an URL pointing at your servlet. Or maybe even a configure a filter in your web.xml doing the redirect? - Joel On Tue, 2003-06-03 at 14:08, Tim Funk wrote: > T

Re: How Directly Run Servlet W/O Redirect From Index.html?

2003-06-03 Thread John Turner
AFAIK, this doesn't work. Apache (mod_dir?) doesn't pick up that index.jsp is a valid directory index file prior to the URL being tested against JkMount. John On Tue, 03 Jun 2003 07:17:23 -0400, Tim Funk <[EMAIL PROTECTED]> wrote: add index.jsp as a default file to apache config DirectoryInde

Re: How Directly Run Servlet W/O Redirect From Index.html?

2003-06-03 Thread Tim Funk
Then your out of luck. -Tim Peter Alvin wrote: Thank you. I tried DirectoryIndex but it looks like that looks for a file on the filesystem and all my webpages are all served from the servlet. Pietro da Alvin 719-210-3858 Chi cerca trova (Who searches, finds) Italian Proverb On Tue, 03

Re: How Directly Run Servlet W/O Redirect From Index.html?

2003-06-03 Thread Peter Alvin
Thank you. I tried DirectoryIndex but it looks like that looks for a file on the filesystem and all my webpages are all served from the servlet. Pietro da Alvin 719-210-3858 Chi cerca trova (Who searches, finds) Italian Proverb On Tue, 03 Jun 2003 07:17:23 -0400, Tim Funk wrote: >add index.jsp

Re: How Directly Run Servlet W/O Redirect From Index.html?

2003-06-03 Thread Tim Funk
add index.jsp as a default file to apache config DirectoryIndex index.jsp index.html more_cowbell.html -Tim Peter Alvin wrote: When someone types: www.site.com Apache serves index.html which I added an an immediate redirect to load the "real" site's homepage which is a Java servlet.

How Directly Run Servlet W/O Redirect From Index.html?

2003-06-03 Thread Peter Alvin
When someone types: www.site.com Apache serves index.html which I added an an immediate redirect to load the "real" site's homepage which is a Java servlet. Does anyone know how to configure Apache, DNS, or MOD_SSL to go directly to the servlet for the home page? - Apache 1.3.27 - mod_ssl-2