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.