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?
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
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--
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
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
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
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
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
(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: 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?
10 matches
Mail list logo