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
>
Thursday, May 12, 2005 5:31 PM
>To: Tomcat Users List
>Subject: Re: How get www.site.com homepage requests to forward to
>Tomcat
>without a redirect?
>
>
>Removing the [R] from the RewriteRule breaks everything and no page
>is served:
>
>RewriteRule ^/$ /home.htm
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 -
Put these lines into web.xml file
home.htm
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 homepage requests to forward to Tomcat
without a redirect
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?
> 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?
Te
(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
> 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
m
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
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 instead
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 instead of a static page (my entire site is
dynamic).
I configured the connector to send all *.htm files to Tomcat and I
created a re-write rule in the Apache configuration f
11 matches
Mail list logo