httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asai <>
Subject [users@httpd] Global 301 Redirects
Date Tue, 08 Feb 2011 19:56:00 GMT

I'm trying to figure out a way to have each of my vhosts do a 301 
redirect upon receiving a request which contains "www."

Basically we want to drop all of those www subdomains for SEO purposes, 
but we are hosting dozens of websites, and would rather not have to put 
in a redirect on every vhost entry.  My thought were that we could do 
this using mod-rewrite and regexp, but not sure.

Any insights?



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message