Index: [Article Count Order] [Thread]

Date:  Fri, 23 Jan 2009 16:45:23 -0500
From:  "Lucas Peyatt - Ohio Web Hosting & Development" <bluequartz (at mark) ohiowebhosting.net>
Subject:  [coba-e:14857] Re: Site alias reflect domain?
To:  coba-e (at mark) bluequartz.org
Message-Id:  <20090123214125.M60625 (at mark) ohiowebhosting.net>
In-Reply-To:  <497A2E41.4395.6A62246@localhost>
References:  <D66AFE8C16174CE5879712B4C9385191 (at mark) howies> <497A2E41.4395.6A62246 (at mark) localhost>
X-Mail-Count: 14857

I was reading about the logrotate problem someone else has, and it appears to 
"mess up" the site stats at least with the nuonce awstats package. when the 
logs are "seperated" it is done with the full tld "www.example1.com". I am not 
sure exactly how this is done.

I have always used pico, It was the "de facto" CLI editor for Mac OS X.

On Fri, 23 Jan 2009 20:53:21 -0000, Martyn Bailey wrote
> On 23 Jan 2009, at 10:34, Lucas Peyatt - Ohio Web Hosti wrote:
> 
> > CNAMES are evil! (To quote Brian, and they are)
> 
> Yeah, I've got that on my wall too :-)
> (originally taken from userfriendly.org)
> 
> > You will need to edit the config file for apache to do what you want.
> > They are located here "/etc/httpd/conf/vhosts". Edit the file
> > belonging to your site (sitex). Open the file with pico, and comment
> > out these two lines.
> > 
> > RewriteCond %{HTTP_HOST}                !^www.domain.tld(:80)?$ [NC]
> > RewriteRule ^/(.*)                      http://www.domain.tld/$1 [L,R]
> 
> Ah, that's the jobbie - I should have thought of that - thanks Lucas!
> (I used vi - not pico, does that make me a geek?)    ;-)
> 
> What, I wonder, are the broader consequences of making such a 
> change - if any?
> 
> Thanks again.


--
Lucas Peyatt
Ohio Web Hosting & Design
lucas (at mark) ohiowebhosting.net
www.ohiowebhosting.net
937.969.4476 dayton
614.441.8169 columbus
513.258.2376 cincinnati
206.350.1292 facsimile