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

Re: [cobalt-users] Domains pointing at subdirectories of virtual site



On Sat, 26 Jan 2002, Craig Martin wrote:

> > > If I have a virtual site which has a number ( probably 12 ) of
> > > subdirectories is there a way I can point another domain name to each of
> > > these directories?
> > >
> > Yes, since you have a Raq4 it's a lot easier, you can let the GUI handle
> > most of it, basiclly you need DocumentRoot in the server cconfig to point
> > into your subdirectory...
> 
> 
> 
> ...and if the machine were a raq3 what would the trick be?

You can do it by hand cutting and pasting the virtual host blocks in the
httpd.conf file,  and editing them to point where you want and use the
domain names you want, , but once you do  that , you can never
use the GUI to make a change to that main site, or a mess will result ;P

In reality all you are doing is making sites without telling the database
they exist, you get to do whatever you want, but you are going to
fight the machine from then on...

The raq4 at least won't fight you over the site tables, so it's not as
likely to eat your configuration, the most it will do is mangle one of the
sites slightly (eg point it's documentroot back somewhere where it thinks
it's supposed to be)

[mumbling something about warrenty..]

gsh