301 redirect
Chris Davies <[email protected]> Sat, 13 Nov 2004 00:35:58 -0500
| Newsgroups | gmane.network.tux |
|---|---|
| Message-ID | <[email protected]> |
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