[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

301 redirect



What part of the code should I look at to get the 301 redirect that tux
does to be sent to the backend rather than the continual redirects?

i.e. 

/var/www/domain.com

if someone surfs http://wwww.domain.com (note the extra w), since we
have the wildcard dns entry, they get a redirect to 

http://wwww.domain.com/
http://wwww.domain.com//
http://wwww.domain.com///
http://wwww.domain.com////
http://wwww.domain.com/////
http://wwww.domain.com//////
http://wwww.domain.com///////
etc

any way to pass that directly to the backend for the backend to handle?
As it is, the user gets a redirect loop until the browser stops --
google somehow has these incorrect domain names in their index.

--
Chris Davies
E-Commerce/Colocation http://daviesinc.com/
+1.561.333.6946
Florida, USA
Currently 71F, Partly Cloudy, Wind from the Southeast @ 6 mph


[Older Fedora Users Mail]     [Home]     [Fedora Legacy]     [Fedora Desktop]     [iPod Nano]     [ATA RAID]     [Fedora Bible]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Packaging]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

Powered by Linux

Google
  Web www.spinics.net