Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion Adding (or removing) "www" without mod_rewrite
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Peter Cooper  
View profile  
 More options Aug 7 2008, 2:39 am
From: Peter Cooper <pcoo...@gmail.com>
Date: Wed, 6 Aug 2008 23:39:46 -0700 (PDT)
Local: Thurs, Aug 7 2008 2:39 am
Subject: Adding (or removing) "www" without mod_rewrite
How do other Passenger users deal with removing or adding "www" to
their URLs without using mod_rewrite?

For example, if I have a site http://www.example.com/, I might want
all visitors to http://example.com/ to redirect to http://www.example.com/
(or vice versa). This is recommended for SEO purposes to help prevent
duplicate content being detected. Normally you'd use a rewrite rule
with a host-based condition to deal with this, but is there a way of
doing it without activating mod_rewrite?

I could always activate mod_rewrite and deal with it the classic way,
but since it's hinted that this isn't a Good Thing (tm) to do, I'd
like to avoid doing that.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.