Re: How get www.site.com homepage requests to forward to Tomcat without a redirect?

2005-05-12 Thread PAlvin
Removing the [R] from the RewriteRule breaks everything and no page is served: RewriteRule ^/$ /home.htm **does not work** I'm curious: how does everyone else map the domain request to an actual page??? domain.com --to-- domain.com/home.htm Everyone must be doing this, right?

RE: How get www.site.com homepage requests to forward to Tomcat without a redirect?

2005-05-12 Thread Trung Nguyen
Put these lines into web.xml file welcome-file-list welcome-filehome.htm/welcome-file /welcome-file-list Hope this help! Trung -Original Message- From: PAlvin [mailto:[EMAIL PROTECTED] Sent: Thursday, May 12, 2005 5:31 PM To: Tomcat Users List Subject: Re: How get www.site.com

Re: How get www.site.com homepage requests to forward to Tomcat without a redirect?

2005-05-12 Thread Jason Bainbridge
On 5/12/05, PAlvin [EMAIL PROTECTED] wrote: Removing the [R] from the RewriteRule breaks everything and no page is served: RewriteRule ^/$ /home.htm **does not work** I'm curious: how does everyone else map the domain request to an actual page??? domain.com --to--

RE: How get www.site.com homepage requests to forward to Tomcat without a redirect?

2005-05-12 Thread PAlvin
Thanks, but it still doesn't work! I removed the RewriteRule from httpd.conf and added the welcome-file-list section to the web.xml file. Now, when I go to my vanilla domain (www.smartmicro.com) I get this message: Forbidden You don't have permission to access / on this server. Apache/2.0.47

Re: How get www.site.com homepage requests to forward to Tomcat without a redirect?

2005-05-12 Thread Lutz Zetzsche
Hi Peter, Am Freitag, 13. Mai 2005 01:02 schrieb PAlvin: Thanks, but it still doesn't work! I removed the RewriteRule from httpd.conf and added the welcome-file-list section to the web.xml file. Now, when I go to my vanilla domain (www.smartmicro.com) I get this message: Forbidden You

Re: How get www.site.com homepage requests to forward to Tomcat without a redirect?

2005-04-25 Thread Trond G. Ziarkowski
Hi, try removing the [R] from your RewriteRule. If you read up on the mod_rewrite docs, you should see that the [R] flag is causing the redirect. Trond PAlvin wrote: I'm currently using Tomcat 4. When someone goes to my site, say, www.site.com, I'd like it run a servlet for the home page

Re: How get www.site.com homepage requests to forward to Tomcat without a redirect?

2005-04-25 Thread Anto Paul
On 4/25/05, Trond G. Ziarkowski [EMAIL PROTECTED] wrote: Hi, try removing the [R] from your RewriteRule. If you read up on the mod_rewrite docs, you should see that the [R] flag is causing the redirect. Trond PAlvin wrote: I'm currently using Tomcat 4. When someone goes to my

Re: How get www.site.com homepage requests to forward to Tomcat without a redirect?

2005-04-25 Thread Will Hartung
From: PAlvin [EMAIL PROTECTED] Sent: Sunday, April 24, 2005 12:25 PM I could send *all* http requests to tomcat, BUT, obviously, I DON'T want Tomcat serving up images. Why not? Tomcat is fine for static content. How much traffic are you really getting to your site? If you're like a majority

Re: How get www.site.com homepage requests to forward to Tomcat without a redirect?

2005-04-25 Thread PAlvin
(We get about 1,000 visitors a day to our site.) Just curious: Isn't Tomcat responses inefficient because it has to pass the response back to Apache via a named pipe or TCP or some other connector mechanism? Peter Alvin How much traffic are you really getting to your site? If you're like a

Re: How get www.site.com homepage requests to forward to Tomcat without a redirect?

2005-04-25 Thread Will Hartung
From: PAlvin [EMAIL PROTECTED] Sent: Monday, April 25, 2005 12:24 PM (We get about 1,000 visitors a day to our site.) Just curious: Isn't Tomcat responses inefficient because it has to pass the response back to Apache via a named pipe or TCP or some other connector mechanism?