[SAC] to www or not to www...
shawn barnes
sbarnes at dmsolutions.ca
Mon Jan 15 14:02:46 EST 2007
Thanks jason, i just fixed this.
i just added this to the conf file.
RewriteCond %{HTTP_HOST} !^www\.osgeo\.org [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^/(.*) http://www.osgeo.org/$1 [L,R]
shawn
Jason Birch wrote:
> Re-sending this...
>
> I believe that this is important; we only want one presence.
> http://foo.osgeo.org/ should not be returning the same content as
> http://www.osgeo.org/
>
> Jason
>
>
> -----Original Message-----
> From: sac-bounces at lists.osgeo.org [mailto:sac-bounces at lists.osgeo.org]
> On Behalf Of Jason Birch
> Sent: Thursday, January 11, 2007 14:28
> To: sac at lists.osgeo.org
> Subject: [SAC] to www or not to www...
>
> Hi all,
>
> I think that we should make requests to osgeo.org on port 80 redirect to
> www.osgeo.org to allow a more consistent image and to avoid offending
> the SEO gods...
>
> If .htaccess files are allowed and mod_rewrite enabled, dumping
> something like this into an .htaccess file in www.osgeo.org 's document
> root should work:
>
> RewriteEngine On
> RewriteBase /
> RewriteCond %{HTTP_HOST} !www\.osgeo\.org [NC]
> RewriteCond %{HTTP_HOST} !^$
> RewriteRule ^(.*)$ http://www.osgeo.org/$1 [R=PERMANENT]
>
> Jason
> _______________________________________________
> Sac mailing list
> Sac at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/sac
>
More information about the Sac
mailing list