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

[cobalt-users] getting rid of the www. in www.domain.com



I have a virtual site on a Raq4.  The site settings are:

Host Name: www
Domain Name: mydomain.com
Web Server Aliases: mydomain.com

When I go to http://mydomain.com/, the browser gets redirected to
http://www.mydomain.com/.  I don't want this to happen.  Don't get me
wrong, I'd still like a user to be able to type in
http://www.mydomain.com/ and view the site, I just don't want the Raq to
FORCE the www-dot prefix.

How can I supress this redirect behavior?  I've tried putting
"RewriteEngine off" in my virtual site's /web/.htaccess, but that didn't
appear to change anything.  I also tried a Redirect line that caused a
cyclical loop of requests, which was kinda groovy, but not a solution.

Thanks!
-Jeff Meininger