tried to no avail - damn!

> On Fri, Jul 16, 2010 at 11:20 AM, Jeff Gladnick wrote:
> >
> > Unfortunately, that didn't quite work :(
> >
> > Any other suggestions?
> 
> Maybe something like this (untested):
> 
> RewriteCond %{HTTP_HOST} !^www\.[a-z-]+\.[a-z]{2,6} [NC]
> RewriteCond %{HTTP_HOST} ([a-z-]+\.[a-z]{2,6})$     [NC]
> RewriteRule ^/(.*)$ http://www\.%1/$1 [R=301,L]
> 
> Got the idea from here:
> 
> http://www.askapache.com/htaccess/mod_rewrite-tips-and-tricks.
> html#require-www-no-hardcoding
> 
> :Den
> 
> -- 
> A man of courage flees forward, in the midst of new things.
> Jacques 
Maritain 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335591
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to