[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Rewrite rule
- Subject: RE: [cobalt-users] Rewrite rule
- From: "Dan Kriwitsky" <webhosting@xxxxxxxxx>
- Date: Wed Apr 4 06:43:05 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> So if I take out the relevant current vitual hosting seciton and
> put it in a
> separate file that will sort me for now. But what about once I add another
> virtual domain through the control panel. My understanding is that the
> httpd.conf will be rewritten, I know my stuff will be in a
> separate file so
> is ok, but won't the GUI re-add the section I deleted? If so
> which <virtual>
> one will take control, the one in the http.conf or the one in the
> httdextra.conf file?
>
If you added the virtual domain through the GUI, you shouldn't put it in an
"extra.conf" file. You use the extra file for domains you don't add, or
sub-domains you don't add via the GUI. Some people have set up wildcard DNS
so that *anything.domain.com points to an IP. Then they use the extra.conf
file for those sub-domains to point to either an existing user directory, or
another directory. When you edit something in the httpd.conf file created by
the GUI you risk messing things up when you use the GUI again and it
rewrites the file from the stored info.
--
Dan Kriwitsky