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

Re: [cobalt-users] Domain aliasing - RaQ4



On Thu, 6 Sep 2001 11:55:15 +0100, Andrew Watson mumbled something like:
>>Am I looking in the wrong place or is there something different on
>>the RaQ4?

You're looking in the wrong place. In the httpd.conf entry for the virtual site, you'll find a list of rewrite rules.
This is what changes the addy in the user's browser; so this is what you have to tweak. Perhaps just by turning the rewrite engine off you'll get the effect that you want? Not sure. Check in the archives for 'rewrite rules' or something.
Here's an example of the rules in one of my sites (name changed to protect the guilty):
RewriteEngine on
RewriteCond %{HTTP_HOST}                !^XXX.XX.XXX.XX(:80)?$
RewriteCond %{HTTP_HOST}                !^www.mydomain.com(:80)?$
RewriteRule ^/(.*)                      http://www.mydomain.com/$1 [L,R]
RewriteOptions inherit

--
CarrieB
"The people who get on in this world are the people who get up and look for the circumstances they want, and, if they can´t find them, make them." --George Bernard Shaw