[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] [RaQ4i] How to stop changing URL to main host.domain
- Subject: Re: [cobalt-users] [RaQ4i] How to stop changing URL to main host.domain
- From: Jeff Lasman <jblists@xxxxxxxxxxxxx>
- Date: Tue Dec 12 00:00:01 2000
- Organization: nobaloney.net
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Edwin Nouwen wrote:
> When I have a virtual site named 'www.mydomain.com' with a webalias of
> 'blabla.mydomain.com' and I type 'blabla.mydomain.com' in my browser, the
> URL in the addressbar of my browser immediatly changes to
> 'www.mydomain.com'.. How do I prevent this from happening?
Comment out all the lines beginning with "Rewrite" in the virtual host
block for the domain in question in /etc/httpd/conf/httpd.conf.
Of course that'll keep useradmin and admin for the site from working,
but as far as I'm concerned,that's not a bug, that's a feature <smile>.
If you do it this way, be sure to restart the httpd daemon when you're
done. And remember every time you use the gui to change something about
that site, you'll need to re-enter your changes.
Jeff
--
Jeff Lasman <jblists@xxxxxxxxxxxxx>
nobaloney.net
P. O. Box 52672
Riverside, CA 92517
voice: (909) 787-8589 * fax: (909) 782-0205