Garayed.com  

Go Back   Garayed.com > Apache Configurations
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-05-2008, 04:58 AM
Jim Carlock
 
Posts: n/a
Default UseCanonicalName = On / Off

When should one set UseCanonicalName = On ?

I've been running with it off for a long time, I think because
I ran into problems with HTTP_HOST returning empty strings. I'm
not sure why I turned it off, but it's been that way for over a
year now. And I've been verifying against SERVER_NAME rather than
HTTP_HOST to get rid of companies that iframe websites.

I noticed that when it's turned on, SERVER_NAME returns

www.example.com

whereas, SERVER_NAME returns

example.com

when it's turned off.

--
Jim Carlock
You Have More Than Five Senses
http://www.associatedcontent.com/art...ve_senses.html

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-05-2008, 05:15 AM
Tim Greer
 
Posts: n/a
Default Re: UseCanonicalName = On / Off

Jim Carlock wrote:

> When should one set UseCanonicalName = On ?
>
> I've been running with it off for a long time, I think because
> I ran into problems with HTTP_HOST returning empty strings. I'm
> not sure why I turned it off, but it's been that way for over a
> year now. And I've been verifying against SERVER_NAME rather than
> HTTP_HOST to get rid of companies that iframe websites.
>
> I noticed that when it's turned on, SERVER_NAME returns
>
> www.example.com
>
> whereas, SERVER_NAME returns
>
> example.com
>
> when it's turned off.
>


This URL explains it probably better than anyone could try themselves:

http://www.apacheref.com/ref/http_co...nicalName.html

Also, see:

http://httpd.apache.org/docs/2.2/mod...ecanonicalname


--
Tim Greer, CEO/Founder/CTO, BurlyHost.com, Inc.
Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers
and Custom Hosting. 24/7 support, 30 day guarantee, secure servers.
Industry's most experienced staff! -- Web Hosting With Muscle!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:47 AM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.