![]() |
| |||
| 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 |
| |||
| 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! |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |