[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]