httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zac Stevens <...@cryptocracy.com>
Subject Re: [users@httpd] rewriting all domain.com to www.domain.com
Date Wed, 28 Aug 2002 11:38:52 GMT
On Wed, Aug 28, 2002 at 05:29:44PM +1000, Justin French wrote:
> I'd like to rewrite (ie, the physical URL changes in the browser) for all
> requests on domain.com to www.domain.com, via a .htaccess directive.

The UseCanonicalNames setting will only effect the change if the user gets
a server-generated redirect.  In other words, http://www.domain.com would
be redirected to http://domain.com/, but http://www.domain.com/ (note the
trailing slash) would stay as written.

Have a look at this thread in the list archives which talks about what
you're trying to achieve:

http://marc.theaimsgroup.com/?l=apache-httpd-users&m=102941533119979&w=2

HTH,


Zac

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message