301 redirect

Chris Davies mcd at daviesinc.com
Sat Nov 13 05:35:58 UTC 2004


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




More information about the tux-list mailing list