Apache Server configuration support - 301 is Redirecting to ServerAlias, not ServerName value

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > August 2007 > 301 is Redirecting to ServerAlias, not ServerName value





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author 301 is Redirecting to ServerAlias, not ServerName value
snewman18@gmail.com

2007-08-20, 7:26 pm

I'm seeing a behavior that I can't explain when someone types in a URL
without a trailing slash. It's redirecting to my first ServerAlias,
not my ServerName.

It was my understanding that a 301 should redirect to the ServerName,
not the ServerAlias. Am I incorrect?

>From my VirtualHost configuration:


ServerName www2.foo.com
ServerAlias www2-origin.foo.com rackspace.foo.com origin-
rackspace.foo.com

Thanks in advance!

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com